Mini Shai-Hulud Worm Leverages AI Configuration Persistence to Infect IDEs
A multi‑ecosystem worm named Mini Shai-Hulud has compromised hundreds of npm and PyPI packages (over 300 in one 22‑minute wave; 796 total historically). It runs malicious scripts during package installation to harvest credentials, SSH keys, and cloud metadata. Its key innovation, “AI Configuration Persistence,” rewrites IDE and AI assistant configuration files—such as .claude/settings.json, .vscode/tasks.json, and MCP server settings—so that malicious code executes every time a developer opens the workspace. These configuration hooks survive dependency removal, allowing the worm to persist for weeks and enabling further propagation. Defenses include monitoring for unexpected Bun downloads, auditing IDE task runners and Claude Code hooks, using supply‑chain firewalls, rotating exposed credentials, and implementing continuous policy scanning. The attack highlights a shift where supply‑chain compromises embed adversary logic into trusted developer environments, making configuration‑level persistence a baseline threat.
https://www.aicerts.ai/news/ai-configuration-persistence-mini-shai-hulud-hits-ides/
Comments
Post a Comment