This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bun | |
| /** | |
| * Scans the workspace for IOCs from the "Mini Shai-Hulud / TanStack compromise" | |
| * campaign reported by Aikido (2026-05). | |
| * | |
| * Source: https://www.aikido.dev/blog/mini-shai-hulud-is-back-tanstack-compromised | |
| * | |
| * Run from repo root: bun run scripts/check-shai-hulud.ts | |
| * It recurisively checks node_modules for compromised deps and scripts and versions | |
| * Exits non-zero if any IOC matches. |