Skip to content

Instantly share code, notes, and snippets.

@edgarpavlovsky
edgarpavlovsky / gist:695b896445c19b6f66f141696f596059
Last active September 9, 2025 16:58
check if any packages in your package.json dependency tree are affected by 2025-09-08 js hack
#!/usr/bin/env bash
# Helpful reading on the compromise:
# https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised
# https://news.ycombinator.com/item?id=45169794
# https://x.com/P3b7_/status/1965094840959410230
# https://news.ycombinator.com/item?id=45169657
# NOTE: Requires `jq` and `rg`
# Both can be installed with brew: