r/coolgithubprojects • u/scared_corgi_998 • 9d ago
wormsign: one command to check if your laptop has any of the hacked npm or Python packages from this year's attacks
After the ChainDrop worm went through 444 npm packages in August, I wanted to know whether my laptop had picked any of them up. I had 236 lockfiles and package installs spread across old projects, global npm and the npx cache, so checking by hand wasn't realistic. Upgrading a bad package also doesn't remove the Claude Code hooks or VS Code tasks these worms add so they can run again.
I put together a first version with Claude Code doing most of the typing, and I've been iterating on it since. It checks every installed package version against OSV's malware list, then looks at agent hooks, MCP configs, folder-open tasks, dev containers and startup entries like LaunchAgents and crontab. If something's critical, it tells you which credentials on the machine to rotate.
It's a single Go binary. A full scan of my laptop takes about 7 seconds, and wormsign --demo shows what a hit looks like on a fake project.
brew install mansoor-mamnoon/tap/wormsignIt only sends package names and versions to api.osv.dev, and --offline skips even that. I'd like to hear about false positives, or worm indicators it's missing.
