AI coding assistants and developer packages are now prime targets for attackers. A new Recorded Future Insikt Group report analyzed 103 AI-enabled incidents between July 31, 2025, and July 31, 2026.
Most were familiar attacks, such as supply-chain compromise, phishing, and extortion, made faster and more convincing by AI. Fully automated attacks remain rare.
Developer tools are attractive because they often hold privileged access to credentials and code. That access gives attackers a foothold for mass credential theft and lateral movement across downstream environments.
Hackers Weaponize AI Tools
In late February 2026, threat actors compromised a popular AI proxy package that connects developers to different LLM models.
The malicious updates enabled credential theft, lateral movement, and backdoor persistence. Trend Micro’s analysis identifies this package as LiteLLM, which was compromised on PyPI.
Versions 1.82.7 and 1.82.8 carried a three-stage payload. It harvested credentials, moved laterally through Kubernetes, and installed a persistent backdoor for remote code execution.

The attack began upstream. The group TeamPCP first compromised the Trivy security scanner, which gave it access to the LiteLLM publishing token. PyPI removed both bad versions about three hours after publication.
In April, a similar incident hit packages tied to Namastex.ai, including @automagik/genie, an AI coding and agent-orchestration tool.
Socket found install-time malware that stole secrets, browser and wallet data, and npm tokens. It also tried to spread by republishing packages it could access. The code even contained a reference to the “TeamPCP/LiteLLM method.”
In May, the Shai-Hulud supply-chain worm expanded and targeted Claude Code to gain persistence and spread. None of these attacks used special AI weaknesses. They exploited how popular AI coding tools are and how much access they have.
Attackers also use AI hype as bait. They spoof landing pages of AI developer tools, build fake utility pages, and impersonate products such as OpenClaw with fraudulent wallet pages. These attacks rose sharply after March 2026. AI lures also appear in ClickFix pop-ups and SEO poisoning.
State-sponsored groups mostly use AI to help build malware. Recorded Future’s AI Malware Maturity Model (AIM3) has five levels.
Level 2 means adopting AI in familiar workflows. Level 3 means building AI into the attack chain. Most state activity falls at Levels 2 to 3.
One exception is a campaign against Asian government entities that used up to eight AI agents with little human help.
A Pakistan-linked actor also used LLMs to build “vibeware” that lives off the land on platforms like Discord, Slack, and Google Workspace, recordedfuture said.
Criminals use AI for fraud as well. One operation used stolen identity data to automate phishing against French pensioners. Ransomware groups such as The Gentlemen use LLMs to sort stolen data quickly and set ransom demands based on its value.
Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team