Security

AI agents accelerate malware spread and vulnerability analysis

Attackers are using AI agents to create self-propagating supply chain worms, while LLMs have reduced vulnerability analysis times from days to seconds. This dual shift forces a move from passive waiting to immediate, automated response strategies.

· 2 sources · Supply chain security

The software supply chain is undergoing a dual transformation driven by artificial intelligence, with significant implications for both offensive and defensive operations. On the offensive side, attackers have inserted malware into Microsoft’s AI agent framework, affecting two current versions. The malicious code, disguised as a harmless Python file, executes automatically at startup to steal credentials for services including Azure, Git, Docker, and HuggingFace. Researchers suspect the criminals gained access to Microsoft logins beforehand, and Microsoft has made the affected repositories private while investigating. This follows the 2025 NX Singularity malware, which used local AI agents to exfiltrate secrets, and the 2026 Shai Hulut attack, which operated as a worm to automatically publish compromised packages for exponential spread.

On the defensive side, Software Composition Analysis tools are leveraging Large Language Models to drastically reduce analysis times. Previously, analyzing a package for backdoors took an average of 1.5 days, giving attackers a window of up to a month to exploit vulnerabilities. With LLM support, vendors can now provide findings within an average of 7 seconds, with maximum runtimes of 15 minutes. This speed eliminates the previous strategy of waiting days before installing updates. However, managing the volume of findings remains a challenge; a typical Node.js base image scan yields at least 1,000 findings, with 300 rated high or critical. The Equifax breach, which resulted in over one billion dollars in fines due to a delayed dependency update, serves as a cautionary tale for the necessity of timely patching.

Experts argue that these developments force a shift from passive waiting to active, immediate response and rigorous pipeline security. The ability of AI to automate exploitation within an hour, a task that previously took nation-states weeks, has democratized offensive capabilities. Defenders must now adopt stricter dependency hygiene and automated remediation to keep pace with the accelerated threat landscape.