flagrix 0.1.3 → 0.2.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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "2026.07.08.002",
3
- "lastUpdated": "2026-07-09T09:25:31.727Z",
2
+ "version": "2026.10.19.001",
3
+ "lastUpdated": "2026-10-19T19:29:18.424Z",
4
4
  "maliciousPackages": [
5
5
  {
6
6
  "name": "beavertail",
@@ -14,12 +14,6 @@
14
14
  "source": "lazarus",
15
15
  "description": "Python-based data exfiltration malware from Lazarus Group — steals browser data, files, SSH keys"
16
16
  },
17
- {
18
- "name": "call-bind-apply-helpers",
19
- "severity": "critical",
20
- "source": "lazarus",
21
- "description": "Typosquat with BeaverTail malware payload — mimics legitimate npm utility"
22
- },
23
17
  {
24
18
  "name": "cors-parser",
25
19
  "severity": "critical",
@@ -73,6 +67,9 @@
73
67
  "name": "bcrypts-js",
74
68
  "severity": "high",
75
69
  "source": "npm-audit",
70
+ "versions": [
71
+ "2.4.4"
72
+ ],
76
73
  "description": "Typosquat of 'bcrypt-js'"
77
74
  },
78
75
  {
@@ -87,6 +84,183 @@
87
84
  "source": "npm-audit",
88
85
  "description": "Typosquat of 'express'"
89
86
  },
87
+ {
88
+ "name": "axios.js",
89
+ "severity": "high",
90
+ "source": "openssf-osv",
91
+ "description": "Confirmed malicious npm package (MAL-2025-4275)"
92
+ },
93
+ {
94
+ "name": "axiosqqq",
95
+ "severity": "high",
96
+ "source": "openssf-osv",
97
+ "versions": [
98
+ "1.16.2",
99
+ "1.16.3",
100
+ "1.16.9",
101
+ "1.16.13"
102
+ ],
103
+ "description": "Confirmed malicious npm package (MAL-2026-4493)"
104
+ },
105
+ {
106
+ "name": "axioss",
107
+ "severity": "high",
108
+ "source": "openssf-osv",
109
+ "description": "Confirmed malicious npm package (MAL-2025-15242)"
110
+ },
111
+ {
112
+ "name": "babel-laoder",
113
+ "severity": "high",
114
+ "source": "openssf-osv",
115
+ "description": "Confirmed malicious npm package (MAL-2025-15281)"
116
+ },
117
+ {
118
+ "name": "babel-loadre",
119
+ "severity": "high",
120
+ "source": "openssf-osv",
121
+ "description": "Confirmed malicious npm package (MAL-2025-15282)"
122
+ },
123
+ {
124
+ "name": "babel-loqder",
125
+ "severity": "high",
126
+ "source": "openssf-osv",
127
+ "description": "Confirmed malicious npm package (MAL-2025-15283)"
128
+ },
129
+ {
130
+ "name": "babel-node",
131
+ "severity": "high",
132
+ "source": "openssf-osv",
133
+ "description": "Confirmed malicious npm package (MAL-2025-15286)"
134
+ },
135
+ {
136
+ "name": "babel-pal",
137
+ "severity": "high",
138
+ "source": "openssf-osv",
139
+ "description": "Confirmed malicious npm package (MAL-2025-15289)"
140
+ },
141
+ {
142
+ "name": "axios-http",
143
+ "severity": "high",
144
+ "source": "openssf-osv",
145
+ "description": "Confirmed malicious npm package (MAL-2025-15238)"
146
+ },
147
+ {
148
+ "name": "axios-proxy",
149
+ "severity": "high",
150
+ "source": "openssf-osv",
151
+ "description": "Confirmed malicious npm package (MAL-2023-116)"
152
+ },
153
+ {
154
+ "name": "axios-browserify",
155
+ "severity": "high",
156
+ "source": "openssf-osv",
157
+ "versions": [
158
+ "1.0.0"
159
+ ],
160
+ "description": "Confirmed malicious npm package (MAL-2025-4813)"
161
+ },
162
+ {
163
+ "name": "axios-builder",
164
+ "severity": "high",
165
+ "source": "openssf-osv",
166
+ "versions": [
167
+ "1.2.1"
168
+ ],
169
+ "description": "Confirmed malicious npm package (MAL-2025-190832)"
170
+ },
171
+ {
172
+ "name": "axios-mockadptr",
173
+ "severity": "high",
174
+ "source": "openssf-osv",
175
+ "description": "Confirmed malicious npm package (MAL-2024-10692)"
176
+ },
177
+ {
178
+ "name": "axios-cancelable",
179
+ "severity": "high",
180
+ "source": "openssf-osv",
181
+ "versions": [
182
+ "1.0.1",
183
+ "1.0.2"
184
+ ],
185
+ "description": "Confirmed malicious npm package (MAL-2025-191389)"
186
+ },
187
+ {
188
+ "name": "babel-plugin-blocks",
189
+ "severity": "high",
190
+ "source": "openssf-osv",
191
+ "description": "Confirmed malicious npm package (MAL-2026-2631)"
192
+ },
193
+ {
194
+ "name": "babel-ganache",
195
+ "severity": "high",
196
+ "source": "openssf-osv",
197
+ "versions": [
198
+ "2.2.4",
199
+ "2.2.6",
200
+ "2.2.7"
201
+ ],
202
+ "description": "Confirmed malicious npm package (MAL-2025-47613)"
203
+ },
204
+ {
205
+ "name": "babel-js",
206
+ "severity": "high",
207
+ "source": "openssf-osv",
208
+ "versions": [
209
+ "1.0.1"
210
+ ],
211
+ "description": "Confirmed malicious npm package (MAL-2026-407)"
212
+ },
213
+ {
214
+ "name": "babel-npm-install",
215
+ "severity": "high",
216
+ "source": "openssf-osv",
217
+ "description": "Confirmed malicious npm package (MAL-2025-15287)"
218
+ },
219
+ {
220
+ "name": "babel-npm-publish",
221
+ "severity": "high",
222
+ "source": "openssf-osv",
223
+ "description": "Confirmed malicious npm package (MAL-2025-15288)"
224
+ },
225
+ {
226
+ "name": "babel-loader-fs",
227
+ "severity": "high",
228
+ "source": "openssf-osv",
229
+ "description": "Confirmed malicious npm package (MAL-2025-3985)"
230
+ },
231
+ {
232
+ "name": "tensorlake",
233
+ "severity": "critical",
234
+ "source": "shai-hulud",
235
+ "version": "0.5.144",
236
+ "description": "Compromised release (Oct 8, 2026). preinstall runs lib/setup.mjs, which fetches Bun and runs Math_Symbol.js — Shai-Hulud stealer/worm with a gh-token-monitor wiper. 0.5.143 is clean.\n"
237
+ },
238
+ {
239
+ "name": "jsonwebauth",
240
+ "severity": "critical",
241
+ "source": "lazarus",
242
+ "description": "Contagious Interview package (published Jan 8, 2026); lib/lserver.js loader used by fake-assessment repos"
243
+ },
244
+ {
245
+ "name": "transform-jsbi-to-bigint",
246
+ "severity": "critical",
247
+ "source": "phantomraven",
248
+ "version": "9.9.0",
249
+ "description": "PhantomRaven remote-dynamic-dependency wave (Sept 2026); preinstall credential/CI-variable theft"
250
+ },
251
+ {
252
+ "name": "sort-imports-es6-autofix",
253
+ "severity": "critical",
254
+ "source": "phantomraven",
255
+ "description": "PhantomRaven RDD wave (Sept 2026); no safe release — now a 0.0.1-security placeholder"
256
+ },
257
+ {
258
+ "name": "@aifabrix/miso-client",
259
+ "severity": "critical",
260
+ "source": "glassworm",
261
+ "version": "4.7.2",
262
+ "description": "GlassWorm invisible-Unicode payload (Mar 12, 2026)"
263
+ },
90
264
  {
91
265
  "name": "colourama",
92
266
  "severity": "high",
@@ -133,15 +307,17 @@
133
307
  "severity": "critical",
134
308
  "fileExtensions": [
135
309
  ".js",
136
- ".ts",
310
+ ".jsx",
137
311
  ".mjs",
138
- ".cjs"
312
+ ".cjs",
313
+ ".ts",
314
+ ".tsx"
139
315
  ]
140
316
  },
141
317
  {
142
318
  "id": "BEAVERTAIL_EXFIL",
143
319
  "name": "BeaverTail Data Exfiltration",
144
- "pattern": "process\\.env.*JSON\\.stringify.*fetch|axios\\.post",
320
+ "pattern": "JSON\\.stringify\\s*\\(\\s*process\\.env\\s*\\)[\\s\\S]{0,2000}(?:fetch\\s*\\(|axios\\.post\\s*\\()",
145
321
  "description": "Environment variable exfiltration pattern — process.env dumped via fetch/axios POST",
146
322
  "tags": [
147
323
  "lazarus",
@@ -152,9 +328,11 @@
152
328
  "severity": "critical",
153
329
  "fileExtensions": [
154
330
  ".js",
155
- ".ts",
331
+ ".jsx",
156
332
  ".mjs",
157
- ".cjs"
333
+ ".cjs",
334
+ ".ts",
335
+ ".tsx"
158
336
  ]
159
337
  },
160
338
  {
@@ -176,7 +354,7 @@
176
354
  {
177
355
  "id": "REVERSE_SHELL",
178
356
  "name": "Reverse Shell Pattern",
179
- "pattern": "\\bnet\\.Socket\\(\\)|socket\\.socket.*SOCK_STREAM.*connect",
357
+ "pattern": "(?:net\\.Socket\\(\\)[\\s\\S]{0,2000}(?:child_process|/bin/(?:sh|bash)|cmd\\.exe)|(?:child_process|/bin/(?:sh|bash)|cmd\\.exe)[\\s\\S]{0,2000}net\\.Socket\\(\\))",
180
358
  "description": "Socket-based reverse shell connection — creates a TCP connection back to attacker",
181
359
  "tags": [
182
360
  "shell",
@@ -186,14 +364,18 @@
186
364
  "severity": "critical",
187
365
  "fileExtensions": [
188
366
  ".js",
367
+ ".jsx",
368
+ ".mjs",
369
+ ".cjs",
189
370
  ".ts",
371
+ ".tsx",
190
372
  ".py"
191
373
  ]
192
374
  },
193
375
  {
194
376
  "id": "CRYPTO_MINER",
195
377
  "name": "Cryptocurrency Miner",
196
- "pattern": "stratum\\+tcp://|xmrig|cryptonight|monero",
378
+ "pattern": "stratum\\+tcp://|xmrig|cryptonight",
197
379
  "description": "Cryptocurrency mining code — uses CPU resources for attacker profit",
198
380
  "tags": [
199
381
  "miner",
@@ -203,26 +385,43 @@
203
385
  "severity": "critical",
204
386
  "fileExtensions": [
205
387
  ".js",
388
+ ".jsx",
389
+ ".mjs",
390
+ ".cjs",
206
391
  ".ts",
392
+ ".tsx",
207
393
  ".py",
208
- ".sh"
394
+ ".rb",
395
+ ".php",
396
+ ".go",
397
+ ".sh",
398
+ ".ps1",
399
+ ".psm1"
209
400
  ]
210
401
  },
211
402
  {
212
403
  "id": "CREDENTIAL_THEFT",
213
404
  "name": "Browser Credential Theft",
214
- "pattern": "chrome.*Login Data|firefox.*logins\\.json|keychain",
215
- "description": "Reads browser password databases (Chrome Login Data, Firefox logins.json, macOS Keychain)",
405
+ "pattern": "chrome[^\\n]{0,200}Login Data|firefox[^\\n]{0,200}logins\\.json|find-generic-password|find-internet-password|dump-keychain",
406
+ "description": "Reads browser password databases (Chrome Login Data, Firefox logins.json) or dumps the macOS Keychain via the security(1) command",
216
407
  "tags": [
217
408
  "credentials",
218
409
  "theft",
219
410
  "stealer"
220
411
  ],
221
- "severity": "critical",
412
+ "severity": "high",
413
+ "confidence": "medium",
222
414
  "fileExtensions": [
223
415
  ".js",
416
+ ".jsx",
417
+ ".mjs",
418
+ ".cjs",
224
419
  ".ts",
420
+ ".tsx",
225
421
  ".py",
422
+ ".rb",
423
+ ".php",
424
+ ".go",
226
425
  ".sh"
227
426
  ]
228
427
  },
@@ -239,7 +438,11 @@
239
438
  "severity": "high",
240
439
  "fileExtensions": [
241
440
  ".js",
441
+ ".jsx",
442
+ ".mjs",
443
+ ".cjs",
242
444
  ".ts",
445
+ ".tsx",
243
446
  ".py"
244
447
  ]
245
448
  },
@@ -256,7 +459,11 @@
256
459
  "severity": "high",
257
460
  "fileExtensions": [
258
461
  ".js",
462
+ ".jsx",
463
+ ".mjs",
464
+ ".cjs",
259
465
  ".ts",
466
+ ".tsx",
260
467
  ".py"
261
468
  ]
262
469
  },
@@ -270,11 +477,14 @@
270
477
  "eval",
271
478
  "payload"
272
479
  ],
273
- "severity": "high",
480
+ "severity": "critical",
274
481
  "fileExtensions": [
275
482
  ".js",
483
+ ".jsx",
484
+ ".mjs",
485
+ ".cjs",
276
486
  ".ts",
277
- ".mjs"
487
+ ".tsx"
278
488
  ]
279
489
  },
280
490
  {
@@ -290,8 +500,15 @@
290
500
  "severity": "critical",
291
501
  "fileExtensions": [
292
502
  ".js",
503
+ ".jsx",
504
+ ".mjs",
505
+ ".cjs",
293
506
  ".ts",
507
+ ".tsx",
294
508
  ".py",
509
+ ".rb",
510
+ ".php",
511
+ ".go",
295
512
  ".sh",
296
513
  ".env",
297
514
  ".json",
@@ -302,8 +519,8 @@
302
519
  {
303
520
  "id": "HARDCODED_GITHUB_TOKEN",
304
521
  "name": "Hardcoded GitHub Token",
305
- "pattern": "ghp_[a-zA-Z0-9]{36}|gho_[a-zA-Z0-9]{36}",
306
- "description": "GitHub Personal Access Token (ghp_) or OAuth token (gho_) in source code",
522
+ "pattern": "\\b(?:gh[pousr]_[A-Za-z0-9]{36}|github_pat_[A-Za-z0-9_]{82})\\b",
523
+ "description": "GitHub token (classic/fine-grained PAT, OAuth, user-to-server, server-to-server, refresh) in source code",
307
524
  "tags": [
308
525
  "secrets",
309
526
  "github",
@@ -312,11 +529,22 @@
312
529
  "severity": "critical",
313
530
  "fileExtensions": [
314
531
  ".js",
532
+ ".jsx",
533
+ ".mjs",
534
+ ".cjs",
315
535
  ".ts",
536
+ ".tsx",
316
537
  ".py",
538
+ ".rb",
539
+ ".php",
540
+ ".go",
317
541
  ".sh",
542
+ ".ps1",
543
+ ".psm1",
544
+ ".json",
318
545
  ".yaml",
319
- ".yml"
546
+ ".yml",
547
+ ".env"
320
548
  ]
321
549
  },
322
550
  {
@@ -332,25 +560,40 @@
332
560
  "severity": "critical",
333
561
  "fileExtensions": [
334
562
  ".js",
563
+ ".jsx",
564
+ ".mjs",
565
+ ".cjs",
335
566
  ".ts",
336
- ".py"
567
+ ".tsx",
568
+ ".py",
569
+ ".rb",
570
+ ".php",
571
+ ".go"
337
572
  ]
338
573
  },
339
574
  {
340
575
  "id": "HARDCODED_API_KEY",
341
576
  "name": "Hardcoded API Key",
342
577
  "pattern": "(?:api[_-]?key|apikey|secret[_-]?key|auth[_-]?token|private[_-]?key)\\s*[:=]\\s*['\"]([^'\"]{20,})['\"]",
343
- "description": "Generic API key / secret key pattern assigned to a variable",
578
+ "description": "Generic API key / secret key pattern assigned to a variable (obvious placeholders are downgraded by scanner context)",
344
579
  "tags": [
345
580
  "secrets",
346
581
  "credentials",
347
582
  "api-key"
348
583
  ],
349
- "severity": "critical",
584
+ "severity": "high",
585
+ "confidence": "medium",
350
586
  "fileExtensions": [
351
587
  ".js",
588
+ ".jsx",
589
+ ".mjs",
590
+ ".cjs",
352
591
  ".ts",
353
- ".py"
592
+ ".tsx",
593
+ ".py",
594
+ ".rb",
595
+ ".php",
596
+ ".go"
354
597
  ]
355
598
  },
356
599
  {
@@ -363,11 +606,19 @@
363
606
  "database",
364
607
  "credentials"
365
608
  ],
366
- "severity": "high",
609
+ "severity": "medium",
610
+ "confidence": "medium",
367
611
  "fileExtensions": [
368
612
  ".js",
613
+ ".jsx",
614
+ ".mjs",
615
+ ".cjs",
369
616
  ".ts",
617
+ ".tsx",
370
618
  ".py",
619
+ ".rb",
620
+ ".php",
621
+ ".go",
371
622
  ".env"
372
623
  ]
373
624
  },
@@ -384,16 +635,25 @@
384
635
  "severity": "critical",
385
636
  "fileExtensions": [
386
637
  ".js",
638
+ ".jsx",
639
+ ".mjs",
640
+ ".cjs",
387
641
  ".ts",
642
+ ".tsx",
388
643
  ".py",
389
- ".sh"
644
+ ".rb",
645
+ ".php",
646
+ ".go",
647
+ ".sh",
648
+ ".ps1",
649
+ ".psm1"
390
650
  ]
391
651
  },
392
652
  {
393
653
  "id": "NETWORK_TELEGRAM_TOKEN",
394
654
  "name": "Telegram Bot Token",
395
- "pattern": "\\d{8,10}:[a-zA-Z0-9_-]{35}",
396
- "description": "Hardcoded Telegram bot token — used for covert command & control",
655
+ "pattern": "\\b\\d{8,10}:AA[A-Za-z0-9_-]{33}\\b|api\\.telegram\\.org\\/bot",
656
+ "description": "Hardcoded Telegram bot token or Bot API URL — used for covert command & control and exfiltration",
397
657
  "tags": [
398
658
  "network",
399
659
  "telegram",
@@ -402,16 +662,25 @@
402
662
  "severity": "high",
403
663
  "fileExtensions": [
404
664
  ".js",
665
+ ".jsx",
666
+ ".mjs",
667
+ ".cjs",
405
668
  ".ts",
669
+ ".tsx",
406
670
  ".py",
407
- ".sh"
671
+ ".rb",
672
+ ".php",
673
+ ".go",
674
+ ".sh",
675
+ ".ps1",
676
+ ".psm1"
408
677
  ]
409
678
  },
410
679
  {
411
680
  "id": "NETWORK_PASTEBIN",
412
681
  "name": "Pastebin URL",
413
- "pattern": "(?:pastebin\\.com|hastebin\\.com|paste\\.ee)\\/[a-zA-Z0-9]+",
414
- "description": "Pastebin/hastebin URL — often used to host second-stage payloads",
682
+ "pattern": "(?<![\\w-])(?:www\\.)?(?:pastebin\\.com|hastebin\\.com|paste\\.ee|rentry\\.(?:co|org)|paste\\.rs|jsonkeeper\\.com|jsonsilo\\.com|api\\.npoint\\.io|(?:api\\.)?jsonbin\\.io)\\/[a-zA-Z0-9]+",
683
+ "description": "Paste / JSON-storage URL (pastebin, rentry, jsonkeeper, jsonsilo, npoint, jsonbin) — often hosts second-stage payloads",
415
684
  "tags": [
416
685
  "network",
417
686
  "pastebin",
@@ -420,15 +689,25 @@
420
689
  "severity": "medium",
421
690
  "fileExtensions": [
422
691
  ".js",
692
+ ".jsx",
693
+ ".mjs",
694
+ ".cjs",
423
695
  ".ts",
696
+ ".tsx",
424
697
  ".py",
425
- ".sh"
698
+ ".rb",
699
+ ".php",
700
+ ".go",
701
+ ".sh",
702
+ ".ps1",
703
+ ".psm1",
704
+ ".json"
426
705
  ]
427
706
  },
428
707
  {
429
708
  "id": "NETWORK_URL_SHORTENER",
430
709
  "name": "URL Shortener in Code",
431
- "pattern": "(?:bit\\.ly|tinyurl\\.com|t\\.co)\\/[a-zA-Z0-9]+",
710
+ "pattern": "(?<![\\w.-])(?:bit\\.ly|tinyurl\\.com|t\\.co|short\\.gy|is\\.gd|cutt\\.ly|rebrand\\.ly|shorturl\\.at|tiny\\.cc|rb\\.gy|t\\.ly)\\/[a-zA-Z0-9]+",
432
711
  "description": "Shortened URLs (bit.ly, tinyurl) in source code — obfuscates actual destination",
433
712
  "tags": [
434
713
  "network",
@@ -438,34 +717,55 @@
438
717
  "severity": "medium",
439
718
  "fileExtensions": [
440
719
  ".js",
720
+ ".jsx",
721
+ ".mjs",
722
+ ".cjs",
441
723
  ".ts",
724
+ ".tsx",
442
725
  ".py",
443
- ".sh"
726
+ ".rb",
727
+ ".php",
728
+ ".go",
729
+ ".sh",
730
+ ".ps1",
731
+ ".psm1",
732
+ ".json"
444
733
  ]
445
734
  },
446
735
  {
447
736
  "id": "NETWORK_SUSPICIOUS_TLD",
448
737
  "name": "Suspicious Domain TLD",
449
- "pattern": "https?:\\/\\/[a-zA-Z0-9-]+\\.(?:tk|ml|ga|cf|gq|onion|xyz)(?:\\/|$)",
450
- "description": "URLs using free/anonymous TLDs (.tk, .ml, .ga, .cf, .gq, .onion, .xyz) — associated with malware hosting",
738
+ "pattern": "https?:\\/\\/(?:[a-zA-Z0-9-]+\\.)+(?:tk|ml|ga|cf|gq|onion|xyz|top|icu|cfd|sbs|cyou|buzz|rest|zip|mov)(?=[\\/:?#\"'\\x60\\s)]|$)",
739
+ "description": "URLs on free/abused TLDs (.tk .ml .ga .cf .gq .onion .xyz .top .icu .cfd .sbs .cyou .buzz .rest .zip .mov)",
451
740
  "tags": [
452
741
  "network",
453
742
  "suspicious-domain",
454
743
  "malware-hosting"
455
744
  ],
456
- "severity": "high",
745
+ "severity": "medium",
746
+ "confidence": "medium",
457
747
  "fileExtensions": [
458
748
  ".js",
749
+ ".jsx",
750
+ ".mjs",
751
+ ".cjs",
459
752
  ".ts",
753
+ ".tsx",
460
754
  ".py",
461
- ".sh"
755
+ ".rb",
756
+ ".php",
757
+ ".go",
758
+ ".sh",
759
+ ".ps1",
760
+ ".psm1",
761
+ ".json"
462
762
  ]
463
763
  },
464
764
  {
465
765
  "id": "NETWORK_NGROK_TUNNEL",
466
766
  "name": "Ngrok Tunnel URL",
467
- "pattern": "https?:\\/\\/[a-zA-Z0-9-]+\\.ngrok\\.io",
468
- "description": "Ngrok tunnel URL in code — used to expose local servers, often for C2",
767
+ "pattern": "https?:\\/\\/[a-zA-Z0-9-]+\\.(?:ngrok(?:-free)?\\.(?:io|app|dev)|trycloudflare\\.com|loca\\.lt|serveo\\.net|pinggy\\.(?:io|link)|lhr\\.life)",
768
+ "description": "Tunnel service URL (ngrok, Cloudflare quick tunnels, localtunnel, serveo, pinggy) — exposes C2 behind a throwaway host",
469
769
  "tags": [
470
770
  "network",
471
771
  "ngrok",
@@ -474,9 +774,19 @@
474
774
  "severity": "medium",
475
775
  "fileExtensions": [
476
776
  ".js",
777
+ ".jsx",
778
+ ".mjs",
779
+ ".cjs",
477
780
  ".ts",
781
+ ".tsx",
478
782
  ".py",
479
- ".sh"
783
+ ".rb",
784
+ ".php",
785
+ ".go",
786
+ ".sh",
787
+ ".ps1",
788
+ ".psm1",
789
+ ".json"
480
790
  ]
481
791
  },
482
792
  {
@@ -489,10 +799,15 @@
489
799
  "clipboard",
490
800
  "data-theft"
491
801
  ],
492
- "severity": "high",
802
+ "severity": "medium",
803
+ "confidence": "medium",
493
804
  "fileExtensions": [
494
805
  ".js",
495
- ".ts"
806
+ ".jsx",
807
+ ".mjs",
808
+ ".cjs",
809
+ ".ts",
810
+ ".tsx"
496
811
  ]
497
812
  },
498
813
  {
@@ -505,26 +820,38 @@
505
820
  "cookies",
506
821
  "session-theft"
507
822
  ],
508
- "severity": "high",
823
+ "severity": "medium",
824
+ "confidence": "medium",
509
825
  "fileExtensions": [
510
826
  ".js",
511
- ".ts"
827
+ ".jsx",
828
+ ".mjs",
829
+ ".cjs",
830
+ ".ts",
831
+ ".tsx"
512
832
  ]
513
833
  },
514
834
  {
515
835
  "id": "EXFIL_KEYLOGGER",
516
- "name": "Keylogger Pattern",
517
- "pattern": "(?:addEventListener|on)\\s*\\(\\s*['\"](?:keydown|keypress|keyup)['\"]",
518
- "description": "Keyboard event listener (keydown/keypress) — captures user keystrokes",
836
+ "name": "Keyboard Capture and Transmission",
837
+ "pattern": "(?:addEventListener\\s*\\(\\s*['\"](?:keydown|keypress|keyup)['\"]|\\.on(?:keydown|keypress|keyup)\\s*=)",
838
+ "description": "Reads pressed keys from a keyboard handler and stores or transmits them",
519
839
  "tags": [
520
840
  "exfiltration",
521
841
  "keylogger",
522
- "credential-theft"
842
+ "credential-theft",
843
+ "behavioral-chain"
523
844
  ],
524
845
  "severity": "critical",
846
+ "confidence": "high",
847
+ "context": "keyboard-capture",
525
848
  "fileExtensions": [
526
849
  ".js",
527
- ".ts"
850
+ ".jsx",
851
+ ".mjs",
852
+ ".cjs",
853
+ ".ts",
854
+ ".tsx"
528
855
  ]
529
856
  },
530
857
  {
@@ -540,7 +867,11 @@
540
867
  "severity": "critical",
541
868
  "fileExtensions": [
542
869
  ".js",
870
+ ".jsx",
871
+ ".mjs",
872
+ ".cjs",
543
873
  ".ts",
874
+ ".tsx",
544
875
  ".py"
545
876
  ]
546
877
  },
@@ -557,7 +888,11 @@
557
888
  "severity": "critical",
558
889
  "fileExtensions": [
559
890
  ".js",
560
- ".ts"
891
+ ".jsx",
892
+ ".mjs",
893
+ ".cjs",
894
+ ".ts",
895
+ ".tsx"
561
896
  ]
562
897
  },
563
898
  {
@@ -570,11 +905,19 @@
570
905
  "auth-bypass",
571
906
  "hardcoded"
572
907
  ],
573
- "severity": "critical",
908
+ "severity": "medium",
909
+ "confidence": "low",
574
910
  "fileExtensions": [
575
911
  ".js",
912
+ ".jsx",
913
+ ".mjs",
914
+ ".cjs",
576
915
  ".ts",
577
- ".py"
916
+ ".tsx",
917
+ ".py",
918
+ ".rb",
919
+ ".php",
920
+ ".go"
578
921
  ]
579
922
  },
580
923
  {
@@ -591,7 +934,11 @@
591
934
  "severity": "critical",
592
935
  "fileExtensions": [
593
936
  ".js",
937
+ ".jsx",
938
+ ".mjs",
939
+ ".cjs",
594
940
  ".ts",
941
+ ".tsx",
595
942
  ".py"
596
943
  ]
597
944
  },
@@ -608,7 +955,11 @@
608
955
  "severity": "critical",
609
956
  "fileExtensions": [
610
957
  ".js",
958
+ ".jsx",
959
+ ".mjs",
960
+ ".cjs",
611
961
  ".ts",
962
+ ".tsx",
612
963
  ".py"
613
964
  ]
614
965
  },
@@ -625,139 +976,961 @@
625
976
  "severity": "critical",
626
977
  "fileExtensions": [
627
978
  ".js",
979
+ ".jsx",
980
+ ".mjs",
981
+ ".cjs",
628
982
  ".ts",
983
+ ".tsx",
629
984
  ".py"
630
985
  ]
631
986
  },
632
987
  {
633
988
  "id": "SOCIAL_ENGINEERING_SECURITY_BYPASS",
634
989
  "name": "Security Bypass Instructions in README",
635
- "pattern": "(?:disable|turn off|bypass)[\\s\\w]*(?:antivirus|firewall|security|protection)",
990
+ "pattern": "(?:disable|turn off|bypass)[\\s\\w]{0,30}(?:antivirus|firewall|windows defender|gatekeeper|smartscreen|real-time protection|security software|security tool)",
636
991
  "description": "README instructs users to disable antivirus, firewall, or security tools",
637
992
  "tags": [
638
993
  "social-engineering",
639
994
  "security-bypass"
640
995
  ],
641
- "severity": "high"
996
+ "severity": "medium",
997
+ "confidence": "low",
998
+ "fileNames": [
999
+ "README.md",
1000
+ "README.txt",
1001
+ "README"
1002
+ ]
642
1003
  },
643
1004
  {
644
- "id": "OBF_BASE64_HEAVY",
645
- "name": "Heavy Base64 Encoding",
646
- "pattern": "[A-Za-z0-9+/]{50,}={0,2}",
647
- "description": "6+ base64 strings of 50+ chars in a single file. Base64 is a legitimate encoding, but excessive use in source code is a red flag — it's the most common way to hide malicious payloads, C2 URLs, and commands from static analysis.\n",
1005
+ "id": "SUPPLY_CHAIN_INSTALL_HOOK_DOWNLOADER",
1006
+ "name": "Install Hook Downloads or Executes Remote Code",
1007
+ "pattern": "\"(?:pre|post)?install\"\\s*:\\s*\"(?:[^\"\\\\]|\\\\.){0,300}?(?:\\bcurl\\b|\\bwget\\b|\\biwr\\b|Invoke-WebRequest|\\bnode\\s+-e\\b(?:[^\"\\\\]|\\\\.){0,300}?(?:https?:|require\\(\\\\?['\"](?:https?|child_process)|eval\\(|Function\\()|\\|\\s*(?:ba|z)?sh\\b|powershell)",
1008
+ "description": "npm install hook that downloads (curl/wget/iwr), pipes into a shell, or runs `node -e` with network or exec code. Complements scanner-core's built-in postinstall check (which only looks for curl/wget/http/fetch/eval/exec substrings).\n",
648
1009
  "tags": [
649
- "base64",
650
- "obfuscation"
1010
+ "supply-chain",
1011
+ "install-script",
1012
+ "download"
651
1013
  ],
652
- "severity": "medium",
653
- "minMatches": 6,
1014
+ "severity": "critical",
1015
+ "confidence": "medium",
1016
+ "fileExtensions": [
1017
+ ".json"
1018
+ ],
1019
+ "fileNames": [
1020
+ "package.json"
1021
+ ]
1022
+ },
1023
+ {
1024
+ "id": "SUPPLY_CHAIN_PREINSTALL_SETUP_DROPPER",
1025
+ "name": "Shai-Hulud style preinstall dropper",
1026
+ "pattern": "\"preinstall\"\\s*:\\s*\"(?:node|bun)\\s+(?:[\\w./-]*\\/)?(?:setup|setup_bun)\\.m?js\"",
1027
+ "description": "CHAINDROP (keyv, Aug 2026) and Tensorlake (Oct 2026) add `preinstall: node setup.mjs`, which downloads Bun and runs Math_Symbol.js.\n",
1028
+ "tags": [
1029
+ "supply-chain",
1030
+ "shai-hulud",
1031
+ "worm"
1032
+ ],
1033
+ "severity": "critical",
1034
+ "confidence": "high",
1035
+ "fileExtensions": [
1036
+ ".json"
1037
+ ],
1038
+ "fileNames": [
1039
+ "package.json"
1040
+ ]
1041
+ },
1042
+ {
1043
+ "id": "REVERSE_SHELL_UNIX",
1044
+ "name": "Reverse Shell (Python / shell idioms)",
1045
+ "pattern": "os\\.dup2\\(\\s*\\w+\\.fileno\\(\\)\\s*,\\s*[012]\\s*\\)|pty\\.spawn\\(\\s*['\"]\\/bin\\/(?:ba|z)?sh|\\/dev\\/tcp\\/[\\w.-]+\\/\\d+|\\bnc(?:at)?\\s+(?:-\\w+\\s+)*-e\\s+\\/bin\\/(?:ba|z)?sh|\\bbash\\s+-i\\s+>&",
1046
+ "description": "Upstream REVERSE_SHELL covers Node (net.Socket + child_process). This adds the Python dup2/pty and shell /dev/tcp, nc -e, bash -i forms used by InvisibleFerret-style payloads.\n",
1047
+ "tags": [
1048
+ "shell",
1049
+ "backdoor",
1050
+ "remote-access"
1051
+ ],
1052
+ "severity": "critical",
1053
+ "confidence": "high",
654
1054
  "fileExtensions": [
655
- ".js",
656
- ".ts",
657
1055
  ".py",
658
- ".sh",
659
- ".ps1"
1056
+ ".sh"
660
1057
  ]
661
1058
  },
662
1059
  {
663
- "id": "OBF_HEX_STRINGS",
664
- "name": "Extensive Hex-Encoded Strings",
665
- "pattern": "\\\\x[0-9a-fA-F]{2}",
666
- "description": "20+ hex escape sequences (\\xNN) in a single file. Hex encoding hides the actual string content from developers, often used to conceal URLs, commands, or shellcode.\n",
1060
+ "id": "VSCODE_TASK_AUTORUN",
1061
+ "name": "VS Code Task Runs on Folder Open",
1062
+ "pattern": "\"runOn\"\\s*:\\s*\"folderOpen\"",
1063
+ "description": "VS Code task that runs when the folder is opened. Legit repos auto-start watch tasks, so on its own this is a low-confidence review signal; the CONFIG_* rules flag the malicious forms.\n",
667
1064
  "tags": [
668
- "hex-encoding",
669
- "obfuscation"
1065
+ "vscode",
1066
+ "auto-exec",
1067
+ "contagious-interview"
670
1068
  ],
671
1069
  "severity": "medium",
672
- "minMatches": 20,
1070
+ "confidence": "low",
673
1071
  "fileExtensions": [
674
- ".js",
675
- ".ts",
676
- ".py"
1072
+ ".json"
1073
+ ],
1074
+ "fileNames": [
1075
+ "tasks.json"
677
1076
  ]
678
1077
  },
679
1078
  {
680
- "id": "OBF_EVAL",
681
- "name": "eval() Usage",
682
- "pattern": "eval\\s*\\(\\s*[^)\\s][^)]{0,200}\\)",
683
- "description": "eval() executes arbitrary dynamic code. While there are legitimate uses, eval() is the #1 technique for executing hidden malicious payloads.\n",
1079
+ "id": "VSCODE_AUTOMATIC_TASKS_ENABLED",
1080
+ "name": "Workspace Enables Automatic Tasks",
1081
+ "pattern": "\"task\\.allowAutomaticTasks\"\\s*:\\s*(?:true|\"on\")",
1082
+ "description": "Committed to suppress VS Code's 'allow automatic tasks' prompt (RMG-Py incident, Sept 2026).\n",
684
1083
  "tags": [
685
- "eval",
686
- "dynamic-code",
687
- "obfuscation"
1084
+ "vscode",
1085
+ "auto-exec",
1086
+ "contagious-interview"
688
1087
  ],
689
1088
  "severity": "high",
1089
+ "confidence": "medium",
690
1090
  "fileExtensions": [
691
- ".js",
692
- ".ts",
693
- ".mjs"
1091
+ ".json"
1092
+ ],
1093
+ "fileNames": [
1094
+ "settings.json"
694
1095
  ]
695
1096
  },
696
1097
  {
697
- "id": "OBF_NEW_FUNCTION",
698
- "name": "new Function() Constructor",
699
- "pattern": "new\\s+Function\\s*\\([^)]{0,200}\\)",
700
- "description": "new Function() creates and executes dynamic code similar to eval(). Used to hide malicious logic that bypasses some static analysis tools.\n",
1098
+ "id": "CONFIG_COMMAND_DOWNLOAD_EXEC",
1099
+ "name": "Config Command Pipes a Download into a Shell",
1100
+ "pattern": "\"command\"\\s*:\\s*\"(?:[^\"\\\\]|\\\\.){0,300}?(?:\\bcurl\\b|\\bwget\\b|\\biwr\\b|\\birm\\b|Invoke-WebRequest|Invoke-RestMethod)(?:[^\"\\\\]|\\\\.){0,300}?\\|\\s*(?:sudo\\s+)?(?:(?:ba|z)?sh|cmd|iex|powershell|pwsh)\\b",
1101
+ "description": "tasks.json / hook / MCP 'command' that does curl|wget|iwr ... | sh|bash|cmd|iex (Contagious Interview task files).\n",
701
1102
  "tags": [
702
- "function-constructor",
703
- "dynamic-code",
704
- "obfuscation"
1103
+ "vscode",
1104
+ "auto-exec",
1105
+ "download",
1106
+ "contagious-interview"
705
1107
  ],
706
- "severity": "high",
1108
+ "severity": "critical",
1109
+ "confidence": "high",
707
1110
  "fileExtensions": [
708
- ".js",
709
- ".ts"
1111
+ ".json"
710
1112
  ]
711
1113
  },
712
1114
  {
713
- "id": "OBF_SETTIMEOUT_STRING",
714
- "name": "setTimeout/setInterval with String Argument",
715
- "pattern": "(?:setTimeout|setInterval)\\s*\\(\\s*[\"'`][^\"'`]{0,200}[\"'`]",
716
- "description": "Passing a string to setTimeout/setInterval executes it as code (like eval). A common obfuscation technique: setTimeout(\"maliciousCode()\", 0)\n",
1115
+ "id": "CONFIG_NODE_RUNS_ASSET_FILE",
1116
+ "name": "Node Executes a Font/Image/Text File",
1117
+ "pattern": "\"command\"\\s*:\\s*\"node\\s+[^\"\\s]+\\.(?:woff2?|ttf|otf|eot|svg|png|jpe?g|gif|ico|webp|css|scss|dict|txt|md)\"|\"command\"\\s*:\\s*\"node\"\\s*,\\s*\"args\"\\s*:\\s*\\[\\s*\"[^\"]+\\.(?:woff2?|ttf|otf|eot|svg|png|jpe?g|gif|ico|webp|css|scss|dict|txt|md)\"",
1118
+ "description": "Task runs `node webfonts/fa-brands-regular.woff2`, `node src/assets/card4.jpeg`, `node .vscode/spellright.dict` — JS disguised as assets.\n",
717
1119
  "tags": [
718
- "eval",
719
- "dynamic-code",
720
- "obfuscation"
1120
+ "vscode",
1121
+ "auto-exec",
1122
+ "masquerade",
1123
+ "contagious-interview"
721
1124
  ],
722
- "severity": "high",
1125
+ "severity": "critical",
1126
+ "confidence": "high",
723
1127
  "fileExtensions": [
724
- ".js",
725
- ".ts"
1128
+ ".json"
726
1129
  ]
727
1130
  },
728
1131
  {
729
- "id": "OBF_FROMCHARCODE",
730
- "name": "String.fromCharCode Obfuscation",
731
- "pattern": "(?:String\\.fromCharCode|fromCharCode)\\s*\\([\\d\\s,]+\\)",
732
- "description": "Constructs strings from char codes (e.g., String.fromCharCode(101,118,97,108) = \"eval\"). Classic technique to hide malicious keywords from simple string scanning.\n",
1132
+ "id": "CONFIG_NODE_INLINE_FETCH_EXEC",
1133
+ "name": "Inline node -e Fetch-and-Execute in Config",
1134
+ "pattern": "node(?:\"\\s*,\\s*\"args\"\\s*:\\s*\\[\\s*\")?\\s*-e[\\s\",]+(?:[^\"\\\\]|\\\\.){0,600}?(?:require\\(\\\\?['\"]https?\\\\?['\"]\\)|fetch\\()(?:[^\"\\\\]|\\\\.){0,600}?(?:new Function|eval\\()",
1135
+ "description": "node -e variant: inline https.get of a JSON-store URL, then new Function(...) on the result.\n",
733
1136
  "tags": [
734
- "fromcharcode",
735
- "obfuscation",
736
- "eval-bypass"
1137
+ "vscode",
1138
+ "auto-exec",
1139
+ "contagious-interview"
737
1140
  ],
738
- "severity": "medium",
1141
+ "severity": "critical",
1142
+ "confidence": "high",
739
1143
  "fileExtensions": [
740
- ".js",
741
- ".ts"
1144
+ ".json"
742
1145
  ]
743
1146
  },
744
1147
  {
745
- "id": "OBF_CHARCODE_ARRAY",
746
- "name": "Large Character Code Array",
747
- "pattern": "\\[(?:\\s*\\d{2,3}\\s*,\\s*){20,}\\d{2,3}\\s*\\]",
748
- "description": "Array of 20+ numbers that look like char codes. Used as an alternative to fromCharCode to build malicious strings character by character.\n",
1148
+ "id": "AGENT_HOOK_SESSIONSTART_EXEC",
1149
+ "name": "Claude Code SessionStart Hook Runs a Script",
1150
+ "pattern": "\"SessionStart\"\\s*:\\s*\\[[\\s\\S]{0,600}?\"command\"\\s*:\\s*\"(?:[^\"\\\\]|\\\\.){0,200}?\\b(?:node|bun|deno|npx|curl|wget|python3?|powershell|pwsh)\\b",
1151
+ "description": "Committed Claude Code SessionStart hook that runs a script. Legit plugins do this too (review signal); the dot-dir dropper rule below is the high-confidence variant.\n",
749
1152
  "tags": [
750
- "charcode-array",
751
- "obfuscation"
1153
+ "ai-agent",
1154
+ "claude-code",
1155
+ "auto-exec",
1156
+ "shai-hulud"
752
1157
  ],
753
1158
  "severity": "medium",
1159
+ "confidence": "low",
754
1160
  "fileExtensions": [
755
- ".js",
756
- ".ts"
1161
+ ".json"
1162
+ ],
1163
+ "fileNames": [
1164
+ "settings.json",
1165
+ "settings.local.json",
1166
+ "hooks.json"
757
1167
  ]
1168
+ },
1169
+ {
1170
+ "id": "CONFIG_RUNS_DOTDIR_SCRIPT",
1171
+ "name": "Hook/Task Runs a Script Hidden in .claude or .vscode",
1172
+ "pattern": "\"command\"\\s*:\\s*\"(?:node|bun)\\s+\\.(?:claude|vscode|cursor)\\/[\\w.-]+\\.(?:m|c)?js\"",
1173
+ "description": "CHAINDROP and Tensorlake commit `node .claude/setup.mjs` / `node .vscode/setup.mjs` hooks to every branch they can write to.\n",
1174
+ "tags": [
1175
+ "ai-agent",
1176
+ "vscode",
1177
+ "auto-exec",
1178
+ "shai-hulud"
1179
+ ],
1180
+ "severity": "high",
1181
+ "confidence": "high",
1182
+ "fileExtensions": [
1183
+ ".json"
1184
+ ]
1185
+ },
1186
+ {
1187
+ "id": "MCP_CONFIG_SHELL_EXEC",
1188
+ "name": "Repo MCP Config Launches a Raw Shell",
1189
+ "pattern": "\"mcpServers\"\\s*:\\s*\\{[\\s\\S]{0,3000}?\"command\"\\s*:\\s*\"(?:sh|bash|zsh|cmd(?:\\.exe)?|powershell(?:\\.exe)?|pwsh|curl|wget)\"",
1190
+ "description": "Committed MCP server config (.mcp.json, .cursor/mcp.json, .amazonq/mcp.json) whose command is a shell/downloader. CVE-2026-12957 class.\n",
1191
+ "tags": [
1192
+ "ai-agent",
1193
+ "mcp",
1194
+ "auto-exec"
1195
+ ],
1196
+ "severity": "high",
1197
+ "confidence": "medium",
1198
+ "fileExtensions": [
1199
+ ".json"
1200
+ ],
1201
+ "fileNames": [
1202
+ "mcp.json",
1203
+ ".mcp.json",
1204
+ "settings.json"
1205
+ ]
1206
+ },
1207
+ {
1208
+ "id": "AI_AGENT_PERMISSION_BYPASS",
1209
+ "name": "AI CLI Invoked with Permission Bypass",
1210
+ "pattern": "--dangerously-skip-permissions|--dangerously-bypass-approvals-and-sandbox|--trust-all-tools|\\bgemini\\b[^\\n]{0,80}--yolo\\b",
1211
+ "description": "s1ngularity/Nx (Aug 2025) shelled out to claude/gemini/q with safety flags off to hunt secrets; pattern keeps recurring.\n",
1212
+ "tags": [
1213
+ "ai-agent",
1214
+ "abuse",
1215
+ "supply-chain"
1216
+ ],
1217
+ "severity": "medium",
1218
+ "confidence": "low",
1219
+ "fileExtensions": [
1220
+ ".js",
1221
+ ".jsx",
1222
+ ".mjs",
1223
+ ".cjs",
1224
+ ".ts",
1225
+ ".tsx",
1226
+ ".py",
1227
+ ".rb",
1228
+ ".php",
1229
+ ".go",
1230
+ ".sh",
1231
+ ".ps1",
1232
+ ".psm1",
1233
+ ".json"
1234
+ ]
1235
+ },
1236
+ {
1237
+ "id": "AI_INSTRUCTION_INJECTION_HTML_COMMENT",
1238
+ "name": "Hidden Agent Instructions in Markdown Comment",
1239
+ "pattern": "<!--(?:(?!-->)[\\s\\S]){0,1500}?(?:[Ii]gnore (?:all |any )?(?:previous|prior|above) instructions|[Dd]o not (?:mention|tell|inform|reveal|disclose) (?:this|the user)|(?:AI|LLM|[Cc]oding) (?:assistant|agent)s?\\b[^\\n]{0,80}\\b(?:must|should|run|execute)\\b|\\b(?:silently|quietly|without (?:asking|telling|confirmation))\\b[^\\n]{0,60}\\b(?:run|execute|curl|install)\\b)",
1240
+ "description": "Poisoned coding tests hide instructions for coding agents in README/CLAUDE.md HTML comments ('Do not mention this step').\n",
1241
+ "tags": [
1242
+ "ai-agent",
1243
+ "prompt-injection",
1244
+ "social-engineering"
1245
+ ],
1246
+ "severity": "high",
1247
+ "confidence": "medium",
1248
+ "fileExtensions": [
1249
+ ".md",
1250
+ ".mdc",
1251
+ ".txt",
1252
+ ".cursorrules",
1253
+ ".windsurfrules",
1254
+ ".clinerules"
1255
+ ]
1256
+ },
1257
+ {
1258
+ "id": "REMOTE_CODE_FROM_HTTP_RESPONSE",
1259
+ "name": "Executes Code Returned by an HTTP Call",
1260
+ "pattern": "(?:\\beval|\\bnew\\s+Function|\\(\\s*Function\\.constructor\\s*\\)|\\bFunction)\\s*\\(\\s*(?:['\"]require['\"]\\s*,\\s*)?(?:err|error|e|res|resp|response|r)\\.(?:response\\.)?data\\b|new\\s+(?:\\(\\s*)?Function(?:\\.constructor)?\\)?\\s*\\(\\s*['\"]require['\"]\\s*,",
1261
+ "description": "Contagious Interview loaders: eval(err.response.data), new Function('require', res.data)(require).\n",
1262
+ "tags": [
1263
+ "contagious-interview",
1264
+ "loader",
1265
+ "rce",
1266
+ "lazarus"
1267
+ ],
1268
+ "severity": "critical",
1269
+ "confidence": "high",
1270
+ "fileExtensions": [
1271
+ ".js",
1272
+ ".jsx",
1273
+ ".mjs",
1274
+ ".cjs",
1275
+ ".ts",
1276
+ ".tsx"
1277
+ ]
1278
+ },
1279
+ {
1280
+ "id": "LOADER_GLOBAL_MARKER",
1281
+ "name": "DPRK Loader Global Marker",
1282
+ "pattern": "global\\s*\\[\\s*['\"](?:!|_V)['\"]\\s*\\]\\s*=",
1283
+ "description": "Void Dokkaebi / PolinRider loaders set global['!'] (variant global['_V']).\n",
1284
+ "tags": [
1285
+ "contagious-interview",
1286
+ "polinrider",
1287
+ "loader",
1288
+ "lazarus"
1289
+ ],
1290
+ "severity": "critical",
1291
+ "confidence": "high",
1292
+ "fileExtensions": [
1293
+ ".js",
1294
+ ".jsx",
1295
+ ".mjs",
1296
+ ".cjs",
1297
+ ".ts",
1298
+ ".tsx"
1299
+ ]
1300
+ },
1301
+ {
1302
+ "id": "HIDDEN_CODE_WHITESPACE_PADDING",
1303
+ "name": "Code Hidden Behind Whitespace Padding",
1304
+ "pattern": "(?<![ \\t])[ \\t]{300,}(?![ \\t])[^\\n]{0,400}?(?:\\beval\\s*\\(|new\\s+Function|global\\s*\\[\\s*['\"]|_0x[0-9a-f]{3,}|atob\\s*\\(|fromCharCode|child_process|require\\s*\\()",
1305
+ "description": "Loader code pushed off-screen by 300+ spaces — PolinRider / Void Dokkaebi append it to next/tailwind/eslint/postcss configs. Scanner-core's built-in long-line check only fires past 5,000 characters and caps at medium.\n",
1306
+ "tags": [
1307
+ "obfuscation",
1308
+ "hidden-code",
1309
+ "polinrider"
1310
+ ],
1311
+ "severity": "high",
1312
+ "confidence": "medium",
1313
+ "fileExtensions": [
1314
+ ".js",
1315
+ ".jsx",
1316
+ ".mjs",
1317
+ ".cjs",
1318
+ ".ts",
1319
+ ".tsx",
1320
+ ".py"
1321
+ ]
1322
+ },
1323
+ {
1324
+ "id": "INVISIBLE_UNICODE_PAYLOAD",
1325
+ "name": "Invisible Unicode Payload (GlassWorm)",
1326
+ "pattern": "(?:[\\uFE00-\\uFE0F]|\\uDB40[\\uDD00-\\uDDEF]){16,}",
1327
+ "description": "GlassWorm: runs of variation selectors U+FE00–FE0F / U+E0100–E01EF encode a payload that renders as nothing. Needs scanner-core ≥0.4 (UTF-8 decoding); written in surrogate-pair form so it works without the u flag.\n",
1328
+ "tags": [
1329
+ "glassworm",
1330
+ "invisible-unicode",
1331
+ "obfuscation"
1332
+ ],
1333
+ "severity": "critical",
1334
+ "confidence": "high",
1335
+ "fileExtensions": [
1336
+ ".js",
1337
+ ".jsx",
1338
+ ".mjs",
1339
+ ".cjs",
1340
+ ".ts",
1341
+ ".tsx",
1342
+ ".py",
1343
+ ".rb",
1344
+ ".php",
1345
+ ".go",
1346
+ ".sh",
1347
+ ".ps1",
1348
+ ".psm1"
1349
+ ]
1350
+ },
1351
+ {
1352
+ "id": "INVISIBLE_UNICODE_DECODER",
1353
+ "name": "Variation-Selector Decoder Feeding eval",
1354
+ "pattern": "0x[Ee]0100[\\s\\S]{0,300}?\\beval\\s*\\(",
1355
+ "description": "GlassWorm decoder maps 0xFE00/0xE0100 back to bytes and evals the result.\n",
1356
+ "tags": [
1357
+ "glassworm",
1358
+ "invisible-unicode",
1359
+ "loader"
1360
+ ],
1361
+ "severity": "critical",
1362
+ "confidence": "high",
1363
+ "fileExtensions": [
1364
+ ".js",
1365
+ ".jsx",
1366
+ ".mjs",
1367
+ ".cjs",
1368
+ ".ts",
1369
+ ".tsx"
1370
+ ]
1371
+ },
1372
+ {
1373
+ "id": "TROJAN_SOURCE_BIDI",
1374
+ "name": "Bidirectional Control Characters in Code",
1375
+ "pattern": "[\\u202A-\\u202E\\u2066-\\u2069]",
1376
+ "description": "Trojan Source (CVE-2021-42574): bidi override characters make code render differently than it executes. Needs scanner-core ≥0.4 (UTF-8 decoding).\n",
1377
+ "tags": [
1378
+ "trojan-source",
1379
+ "invisible-unicode",
1380
+ "obfuscation"
1381
+ ],
1382
+ "severity": "medium",
1383
+ "confidence": "medium",
1384
+ "fileExtensions": [
1385
+ ".js",
1386
+ ".jsx",
1387
+ ".mjs",
1388
+ ".cjs",
1389
+ ".ts",
1390
+ ".tsx",
1391
+ ".py",
1392
+ ".rb",
1393
+ ".php",
1394
+ ".go",
1395
+ ".sh",
1396
+ ".ps1",
1397
+ ".psm1"
1398
+ ]
1399
+ },
1400
+ {
1401
+ "id": "BLOCKCHAIN_DEAD_DROP_EXEC",
1402
+ "name": "Payload Fetched from Blockchain then Executed",
1403
+ "pattern": "(?:api\\.trongrid\\.io|aptoslabs\\.com|bsc-dataseed|getTransactionByHash|eth_getTransactionByHash|getSignaturesForAddress)[\\s\\S]{0,1500}?(?:\\beval|new\\s+Function)\\s*\\(",
1404
+ "description": "PolinRider/Void Dokkaebi fetch stage 2 from TRON/Aptos/BSC tx data; GlassWorm uses Solana memos. Plain RPC use is fine — this needs eval/Function nearby.\n",
1405
+ "tags": [
1406
+ "blockchain-c2",
1407
+ "contagious-interview",
1408
+ "glassworm",
1409
+ "loader"
1410
+ ],
1411
+ "severity": "critical",
1412
+ "confidence": "high",
1413
+ "fileExtensions": [
1414
+ ".js",
1415
+ ".jsx",
1416
+ ".mjs",
1417
+ ".cjs",
1418
+ ".ts",
1419
+ ".tsx"
1420
+ ]
1421
+ },
1422
+ {
1423
+ "id": "EXFIL_REQUEST_CATCHER",
1424
+ "name": "Request-Catcher / OAST Endpoint",
1425
+ "pattern": "(?<![\\w-])(?:www\\.)?(?:webhook\\.site|[\\w-]+\\.m\\.pipedream\\.net|requestbin\\.(?:net|com)|[\\w-]+\\.oast\\.(?:fun|live|me|online|pro|site)|burpcollaborator\\.net|[\\w-]+\\.interact\\.sh)\\b",
1426
+ "description": "webhook.site (Shai-Hulud v1), pipedream, interactsh/OAST, burp collaborator — no reason to ship these in a project.\n",
1427
+ "tags": [
1428
+ "exfiltration",
1429
+ "network"
1430
+ ],
1431
+ "severity": "high",
1432
+ "confidence": "medium",
1433
+ "fileExtensions": [
1434
+ ".js",
1435
+ ".jsx",
1436
+ ".mjs",
1437
+ ".cjs",
1438
+ ".ts",
1439
+ ".tsx",
1440
+ ".py",
1441
+ ".rb",
1442
+ ".php",
1443
+ ".go",
1444
+ ".sh",
1445
+ ".ps1",
1446
+ ".psm1",
1447
+ ".json",
1448
+ ".yml",
1449
+ ".yaml"
1450
+ ]
1451
+ },
1452
+ {
1453
+ "id": "KNOWN_CAMPAIGN_DOMAINS",
1454
+ "name": "Known 2026 Campaign Infrastructure",
1455
+ "pattern": "(?<![\\w-])(?:npm-cache\\.com|awqhnjewqjkl\\.icu|iseekaigogo\\.com|regioncheck\\.xyz|vscodeconfig\\.com|vscode-load\\.onrender\\.com|vscode-toolkit-bootstrap\\.vercel\\.app|vscodesettingstask\\.vercel\\.app|api-server-mocha\\.vercel\\.app|vscode-config\\.vercel\\.app|editorsettings\\.vercel\\.app|packages\\.storeartifact\\.com|storeartifacts\\.com|npm\\.jpartifacts\\.com|artifactsnpm\\.com|elxxvvx\\.xyz)\\b",
1456
+ "description": "CHAINDROP, Tensorlake, Contagious Interview task files, PhantomRaven RDD hosts, third-party.com ClickFix payload host.\n",
1457
+ "tags": [
1458
+ "ioc",
1459
+ "c2",
1460
+ "shai-hulud",
1461
+ "contagious-interview",
1462
+ "phantomraven"
1463
+ ],
1464
+ "severity": "critical",
1465
+ "confidence": "high",
1466
+ "fileExtensions": [
1467
+ ".js",
1468
+ ".jsx",
1469
+ ".mjs",
1470
+ ".cjs",
1471
+ ".ts",
1472
+ ".tsx",
1473
+ ".py",
1474
+ ".rb",
1475
+ ".php",
1476
+ ".go",
1477
+ ".sh",
1478
+ ".ps1",
1479
+ ".psm1",
1480
+ ".json",
1481
+ ".yml",
1482
+ ".yaml",
1483
+ ".md"
1484
+ ]
1485
+ },
1486
+ {
1487
+ "id": "SHAI_HULUD_ARTIFACTS",
1488
+ "name": "Shai-Hulud / CHAINDROP Artifacts",
1489
+ "pattern": "\\b(?:Math_Symbol|math_init|setup_bun|bun_environment)\\.js\\b|thebeautifulmarchoftime|IfYouBlockThisAPIKeyItWillCrash|gh-token-monitor|Shai-Hulud: Here We Go Again|shai-hulud-workflow\\.yml",
1490
+ "description": "Payload file names, dead-drop marker and wiper service from the 2025–2026 Shai-Hulud family.\n",
1491
+ "tags": [
1492
+ "ioc",
1493
+ "shai-hulud",
1494
+ "worm"
1495
+ ],
1496
+ "severity": "critical",
1497
+ "confidence": "high",
1498
+ "fileExtensions": [
1499
+ ".js",
1500
+ ".jsx",
1501
+ ".mjs",
1502
+ ".cjs",
1503
+ ".ts",
1504
+ ".tsx",
1505
+ ".py",
1506
+ ".rb",
1507
+ ".php",
1508
+ ".go",
1509
+ ".sh",
1510
+ ".ps1",
1511
+ ".psm1",
1512
+ ".json",
1513
+ ".yml",
1514
+ ".yaml"
1515
+ ]
1516
+ },
1517
+ {
1518
+ "id": "ENCODED_SHELL_ONELINER",
1519
+ "name": "Encoded / Download-and-Execute One-liner",
1520
+ "pattern": "base64\\s+(?:-d|-D|--decode)\\b[^\\n|]{0,200}\\|\\s*(?:sudo\\s+)?(?:ba|z)?sh\\b|powershell(?:\\.exe)?\\s[^\\n]{0,80}-(?:e|ec|enc|encodedcommand)\\s+[A-Za-z0-9+\\/=]{40,}|powershell(?:\\.exe)?\\s[^\\n]{0,40}-(?:w|windowstyle)\\s+h(?:idden)?\\b[^\\n]{0,200}(?:iwr|irm|Invoke-WebRequest|Invoke-RestMethod|DownloadString|curl)|\\bmshta(?:\\.exe)?\\s+[\"']?https?:",
1521
+ "description": "base64 -d | sh, powershell -enc <blob>, hidden-window powershell downloads, mshta http — ClickFix / fake-error 'paste this' lures. Plain `irm ... | iex` is left out: it is how Claude Code, bun and scoop install.\n",
1522
+ "tags": [
1523
+ "clickfix",
1524
+ "download-exec",
1525
+ "social-engineering"
1526
+ ],
1527
+ "severity": "high",
1528
+ "confidence": "medium",
1529
+ "fileExtensions": [
1530
+ ".sh",
1531
+ ".ps1",
1532
+ ".psm1",
1533
+ ".bat",
1534
+ ".cmd",
1535
+ ".json",
1536
+ ".md",
1537
+ ".txt",
1538
+ ".yml",
1539
+ ".yaml",
1540
+ ".js",
1541
+ ".jsx",
1542
+ ".mjs",
1543
+ ".cjs",
1544
+ ".ts",
1545
+ ".tsx",
1546
+ ".py"
1547
+ ]
1548
+ },
1549
+ {
1550
+ "id": "DOWNLOAD_PIPED_TO_CMD",
1551
+ "name": "Download Piped into cmd",
1552
+ "pattern": "\\b(?:curl|wget)\\b[^\\n|]{0,300}\\|\\s*cmd\\b",
1553
+ "description": "`curl ... | cmd` is unusual outside malware (Windows variant of the task-file loader).\n",
1554
+ "tags": [
1555
+ "download-exec",
1556
+ "contagious-interview"
1557
+ ],
1558
+ "severity": "high",
1559
+ "confidence": "medium",
1560
+ "fileExtensions": [
1561
+ ".sh",
1562
+ ".ps1",
1563
+ ".bat",
1564
+ ".cmd",
1565
+ ".json",
1566
+ ".md",
1567
+ ".txt",
1568
+ ".yml",
1569
+ ".yaml",
1570
+ ".js",
1571
+ ".jsx",
1572
+ ".mjs",
1573
+ ".cjs",
1574
+ ".ts",
1575
+ ".tsx",
1576
+ ".py"
1577
+ ]
1578
+ },
1579
+ {
1580
+ "id": "HARDCODED_NPM_TOKEN",
1581
+ "name": "Hardcoded npm Token",
1582
+ "pattern": "\\bnpm_[A-Za-z0-9]{36}\\b",
1583
+ "description": "npm automation/publish tokens are the worm's propagation fuel.\n",
1584
+ "tags": [
1585
+ "secrets",
1586
+ "npm",
1587
+ "credentials"
1588
+ ],
1589
+ "severity": "critical",
1590
+ "confidence": "high",
1591
+ "fileExtensions": [
1592
+ ".js",
1593
+ ".jsx",
1594
+ ".mjs",
1595
+ ".cjs",
1596
+ ".ts",
1597
+ ".tsx",
1598
+ ".py",
1599
+ ".rb",
1600
+ ".php",
1601
+ ".go",
1602
+ ".sh",
1603
+ ".ps1",
1604
+ ".psm1",
1605
+ ".json",
1606
+ ".yml",
1607
+ ".yaml",
1608
+ ".env",
1609
+ ".npmrc"
1610
+ ]
1611
+ },
1612
+ {
1613
+ "id": "HARDCODED_AI_API_KEY",
1614
+ "name": "Hardcoded AI Provider Key",
1615
+ "pattern": "\\bsk-ant-(?:api|admin)\\d{2}-[A-Za-z0-9_-]{80,}|\\bsk-(?:proj|svcacct|admin)-[A-Za-z0-9_-]{40,}",
1616
+ "description": "Anthropic / OpenAI keys are now first-class stealer targets (CHAINDROP collector lists them).\n",
1617
+ "tags": [
1618
+ "secrets",
1619
+ "ai",
1620
+ "credentials"
1621
+ ],
1622
+ "severity": "critical",
1623
+ "confidence": "high",
1624
+ "fileExtensions": [
1625
+ ".js",
1626
+ ".jsx",
1627
+ ".mjs",
1628
+ ".cjs",
1629
+ ".ts",
1630
+ ".tsx",
1631
+ ".py",
1632
+ ".rb",
1633
+ ".php",
1634
+ ".go",
1635
+ ".sh",
1636
+ ".ps1",
1637
+ ".psm1",
1638
+ ".json",
1639
+ ".yml",
1640
+ ".yaml",
1641
+ ".env"
1642
+ ]
1643
+ },
1644
+ {
1645
+ "id": "HARDCODED_PRIVATE_KEY_BLOCK",
1646
+ "name": "Private Key Block",
1647
+ "pattern": "-----BEGIN (?:RSA |EC |DSA |OPENSSH |ENCRYPTED |PGP )?PRIVATE KEY(?: BLOCK)?-----\\s*(?:\\\\n|\\\\r\\\\n)?[A-Za-z0-9+\\/=]{40,}",
1648
+ "description": "PEM/OpenSSH private key with key material (bare headers in docs/types are ignored).\n",
1649
+ "tags": [
1650
+ "secrets",
1651
+ "private-key"
1652
+ ],
1653
+ "severity": "critical",
1654
+ "confidence": "high",
1655
+ "fileExtensions": [
1656
+ ".js",
1657
+ ".jsx",
1658
+ ".mjs",
1659
+ ".cjs",
1660
+ ".ts",
1661
+ ".tsx",
1662
+ ".py",
1663
+ ".rb",
1664
+ ".php",
1665
+ ".go",
1666
+ ".sh",
1667
+ ".ps1",
1668
+ ".psm1",
1669
+ ".json",
1670
+ ".yml",
1671
+ ".yaml",
1672
+ ".env",
1673
+ ".pem",
1674
+ ".key"
1675
+ ]
1676
+ },
1677
+ {
1678
+ "id": "HARDCODED_WALLET_PRIVATE_KEY",
1679
+ "name": "Hardcoded Wallet Private Key",
1680
+ "pattern": "(?:^|\\n)(?![ \\t]*(?:\\*|\\/\\/|#))[^\\n]*?(?:private[_-]?key|PRIVATE_KEY|privKey|secretKey|WALLET_KEY)\\s*[:=]\\s*['\"\\x60]?(?:0x)?[0-9a-fA-F]{64}\\b",
1681
+ "description": "32-byte hex private key assigned to a key-ish variable outside comments (Web3 repos). JSDoc examples in web3/noble are skipped.\n",
1682
+ "tags": [
1683
+ "secrets",
1684
+ "web3",
1685
+ "wallet"
1686
+ ],
1687
+ "severity": "high",
1688
+ "confidence": "medium",
1689
+ "fileExtensions": [
1690
+ ".js",
1691
+ ".jsx",
1692
+ ".mjs",
1693
+ ".cjs",
1694
+ ".ts",
1695
+ ".tsx",
1696
+ ".py",
1697
+ ".rb",
1698
+ ".php",
1699
+ ".go",
1700
+ ".sh",
1701
+ ".ps1",
1702
+ ".psm1",
1703
+ ".json",
1704
+ ".env"
1705
+ ]
1706
+ },
1707
+ {
1708
+ "id": "SOCIAL_ENGINEERING_WALLET_SECRET_REQUEST",
1709
+ "name": "README Asks for Seed Phrase / Private Key",
1710
+ "pattern": "(?:[Pp]aste|[Ee]nter|[Pp]ut|[Ii]nsert|[Aa]dd|[Pp]rovide)\\s+(?:in\\s+)?your\\s[^\\n]{0,40}(?:[Ss]eed [Pp]hrase|[Mm]nemonic|[Rr]ecovery [Pp]hrase|[Ss]ecret [Rr]ecovery|[Pp]rivate [Kk]ey)",
1711
+ "description": "Fake 'MEV / sniper / trading bot' repos ask users to paste a seed phrase or key, then exfiltrate it.\n",
1712
+ "tags": [
1713
+ "social-engineering",
1714
+ "web3",
1715
+ "wallet"
1716
+ ],
1717
+ "severity": "medium",
1718
+ "confidence": "low",
1719
+ "fileExtensions": [
1720
+ ".md",
1721
+ ".txt"
1722
+ ]
1723
+ },
1724
+ {
1725
+ "id": "GHA_SECRETS_DUMP",
1726
+ "name": "Workflow Serialises All Secrets",
1727
+ "pattern": "toJSON\\(\\s*secrets\\s*\\)",
1728
+ "description": "`${{ toJSON(secrets) }}` dumps every secret into a step — used by worm-injected workflows.\n",
1729
+ "tags": [
1730
+ "ci",
1731
+ "github-actions",
1732
+ "exfiltration"
1733
+ ],
1734
+ "severity": "high",
1735
+ "confidence": "medium",
1736
+ "fileExtensions": [
1737
+ ".yml",
1738
+ ".yaml"
1739
+ ]
1740
+ },
1741
+ {
1742
+ "id": "OBF_BASE64_HEAVY",
1743
+ "name": "Heavy Base64 Encoding",
1744
+ "pattern": "[A-Za-z0-9+/]{50,}={0,2}",
1745
+ "description": "6+ base64 strings of 50+ chars in a single file. Base64 is a legitimate encoding, but excessive use in source code is a red flag — it's the most common way to hide malicious payloads, C2 URLs, and commands from static analysis.\n",
1746
+ "tags": [
1747
+ "base64",
1748
+ "obfuscation"
1749
+ ],
1750
+ "severity": "medium",
1751
+ "confidence": "low",
1752
+ "minMatches": 6,
1753
+ "fileExtensions": [
1754
+ ".js",
1755
+ ".jsx",
1756
+ ".mjs",
1757
+ ".cjs",
1758
+ ".ts",
1759
+ ".tsx",
1760
+ ".py",
1761
+ ".rb",
1762
+ ".php",
1763
+ ".sh",
1764
+ ".ps1",
1765
+ ".psm1"
1766
+ ]
1767
+ },
1768
+ {
1769
+ "id": "OBF_HEX_STRINGS",
1770
+ "name": "Extensive Hex-Encoded Strings",
1771
+ "pattern": "\\\\x[0-9a-fA-F]{2}",
1772
+ "description": "20+ hex escape sequences (\\xNN) in a single file. Hex encoding hides the actual string content from developers, often used to conceal URLs, commands, or shellcode.\n",
1773
+ "tags": [
1774
+ "hex-encoding",
1775
+ "obfuscation"
1776
+ ],
1777
+ "severity": "medium",
1778
+ "confidence": "low",
1779
+ "minMatches": 20,
1780
+ "fileExtensions": [
1781
+ ".js",
1782
+ ".jsx",
1783
+ ".mjs",
1784
+ ".cjs",
1785
+ ".ts",
1786
+ ".tsx",
1787
+ ".py",
1788
+ ".rb",
1789
+ ".php"
1790
+ ]
1791
+ },
1792
+ {
1793
+ "id": "OBF_EVAL",
1794
+ "name": "eval() Usage",
1795
+ "pattern": "eval\\s*\\(\\s*[^)\\s][^)]{0,200}\\)",
1796
+ "description": "eval() executes arbitrary dynamic code. While there are legitimate uses, eval() is the #1 technique for executing hidden malicious payloads.\n",
1797
+ "tags": [
1798
+ "eval",
1799
+ "dynamic-code",
1800
+ "obfuscation"
1801
+ ],
1802
+ "severity": "medium",
1803
+ "confidence": "low",
1804
+ "fileExtensions": [
1805
+ ".js",
1806
+ ".jsx",
1807
+ ".mjs",
1808
+ ".cjs",
1809
+ ".ts",
1810
+ ".tsx"
1811
+ ]
1812
+ },
1813
+ {
1814
+ "id": "OBF_NEW_FUNCTION",
1815
+ "name": "new Function() Constructor",
1816
+ "pattern": "new\\s+Function\\s*\\((?!\\s*\\)|\\s*['\"]return this['\"]\\s*\\))[^)]{0,200}\\)",
1817
+ "description": "new Function() creates and executes dynamic code similar to eval(). Used to hide malicious logic that bypasses some static analysis tools.\n",
1818
+ "tags": [
1819
+ "function-constructor",
1820
+ "dynamic-code",
1821
+ "obfuscation"
1822
+ ],
1823
+ "severity": "medium",
1824
+ "confidence": "low",
1825
+ "fileExtensions": [
1826
+ ".js",
1827
+ ".jsx",
1828
+ ".mjs",
1829
+ ".cjs",
1830
+ ".ts",
1831
+ ".tsx"
1832
+ ]
1833
+ },
1834
+ {
1835
+ "id": "OBF_SETTIMEOUT_STRING",
1836
+ "name": "setTimeout/setInterval with String Argument",
1837
+ "pattern": "(?:setTimeout|setInterval)\\s*\\(\\s*[\"'`][^\"'`]{0,200}[\"'`]",
1838
+ "description": "Passing a string to setTimeout/setInterval executes it as code (like eval). A common obfuscation technique: setTimeout(\"maliciousCode()\", 0)\n",
1839
+ "tags": [
1840
+ "eval",
1841
+ "dynamic-code",
1842
+ "obfuscation"
1843
+ ],
1844
+ "severity": "medium",
1845
+ "confidence": "low",
1846
+ "fileExtensions": [
1847
+ ".js",
1848
+ ".jsx",
1849
+ ".mjs",
1850
+ ".cjs",
1851
+ ".ts",
1852
+ ".tsx"
1853
+ ]
1854
+ },
1855
+ {
1856
+ "id": "OBF_FROMCHARCODE",
1857
+ "name": "String.fromCharCode Obfuscation",
1858
+ "pattern": "(?:String\\.fromCharCode|fromCharCode)\\s*\\([\\d\\s,]+\\)",
1859
+ "description": "Constructs strings from char codes (e.g., String.fromCharCode(101,118,97,108) = \"eval\"). Classic technique to hide malicious keywords from simple string scanning.\n",
1860
+ "tags": [
1861
+ "fromcharcode",
1862
+ "obfuscation",
1863
+ "eval-bypass"
1864
+ ],
1865
+ "severity": "medium",
1866
+ "confidence": "low",
1867
+ "fileExtensions": [
1868
+ ".js",
1869
+ ".jsx",
1870
+ ".mjs",
1871
+ ".cjs",
1872
+ ".ts",
1873
+ ".tsx"
1874
+ ]
1875
+ },
1876
+ {
1877
+ "id": "OBF_CHARCODE_ARRAY",
1878
+ "name": "Large Character Code Array",
1879
+ "pattern": "\\[\\s*(?:\\d{2,3}\\s*,\\s*){20,}\\d{2,3}\\s*\\]",
1880
+ "description": "Array of 20+ numbers that look like char codes. Used as an alternative to fromCharCode to build malicious strings character by character.\n",
1881
+ "tags": [
1882
+ "charcode-array",
1883
+ "obfuscation"
1884
+ ],
1885
+ "severity": "medium",
1886
+ "confidence": "low",
1887
+ "fileExtensions": [
1888
+ ".js",
1889
+ ".jsx",
1890
+ ".mjs",
1891
+ ".cjs",
1892
+ ".ts",
1893
+ ".tsx"
1894
+ ]
1895
+ }
1896
+ ],
1897
+ "knownBadHashes": [
1898
+ {
1899
+ "sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
1900
+ "type": "js",
1901
+ "malwareFamily": "shai-hulud",
1902
+ "source": "elastic-security-labs",
1903
+ "description": "Math_Symbol.js / math_init.js (CHAINDROP payload)"
1904
+ },
1905
+ {
1906
+ "sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
1907
+ "type": "js",
1908
+ "malwareFamily": "shai-hulud",
1909
+ "source": "elastic-security-labs",
1910
+ "description": "setup.mjs (CHAINDROP dropper)"
1911
+ },
1912
+ {
1913
+ "sha256": "54dc7ea54a1317cca0e890a2770630cf7fa6c97813e0cb9d2caa93012b350668",
1914
+ "type": "js",
1915
+ "malwareFamily": "shai-hulud",
1916
+ "source": "elastic-security-labs",
1917
+ "description": "setup.mjs (CHAINDROP dropper variant)"
1918
+ },
1919
+ {
1920
+ "sha256": "25a0735d0db7dc40e5d45ce42d9c106067e6a66e184d967cfecfab17c3bcb5ef",
1921
+ "type": "js",
1922
+ "malwareFamily": "shai-hulud",
1923
+ "source": "stepsecurity",
1924
+ "description": "lib/setup.mjs (tensorlake@0.5.144)"
1925
+ },
1926
+ {
1927
+ "sha256": "b50a00900399ba99fb6ce1fc151519cb99d44320ef2a631f2237e1aea0ad6fec",
1928
+ "type": "js",
1929
+ "malwareFamily": "shai-hulud",
1930
+ "source": "stepsecurity",
1931
+ "description": "lib/Math_Symbol.js (tensorlake@0.5.144)"
758
1932
  }
759
1933
  ],
760
- "knownBadHashes": [],
761
1934
  "userProfileRules": {
762
1935
  "riskFactors": [
763
1936
  {