Last active
March 31, 2026 11:14
-
-
Save kaxil/8427deeefcefd8f682c7b176dd345929 to your computer and use it in GitHub Desktop.
Blocks package managers without native date-gating (pip, cargo, go, gem, yarn).
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
| Were you hit by the axios supply chain attack? | |
| Check for the RAT payload first: | |
| ls /Library/Caches/com.apple.act.mond /tmp/ld.py 2>/dev/null && echo "INFECTED" || echo "Clean" | |
| Then check if you ever resolved the bad versions: | |
| find ~ -maxdepth 8 \( -name 'package-lock.json' -o -name 'pnpm-lock.yaml' -o -name 'yarn.lock' \) -exec grep -l 'axios.*1\.14\.1\|axios.*0\.30\.4' {} + | |
| If both clean, you're good. If the second finds something but first is clean — you resolved the version but may have been saved by --ignore-scripts or a lock file. | |
| Permanent fix (5 min): add min-release-age=7 to your ~/.npmrc. npm won't install anything published less than 7 days ago. pnpm, bun, and uv have equivalents too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment