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 bash | |
| # βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # detect-mini-shai-hulud.sh | |
| # | |
| # Scans every git project under the CWD across ALL branches (local + already | |
| # fetched remote-tracking branches) for npm packages compromised in the | |
| # "Mini Shai-Hulud" supply-chain attack (npm ecosystem, 2026). | |
| # | |
| # For every watched package found in any lockfile on any branch, the script | |
| # reports the project, branch, package, version, and whether that version is |