
UpTrajectory Review
AI coding agents—software that autonomously writes and integrates code without human review—have become targets for a new class of supply-chain attacks. Researchers at ReversingLabs have documented a North Korean campaign called PromptMink that poisons public package registries (NPM, PyPI) with malicious code specifically designed to fool AI systems into adopting it. The attackers use what they call 'LLM Optimization abuse and knowledge injection,' crafting package descriptions and naming conventions that exploit how AI models hallucinate dependencies and make integration decisions. This marks a significant shift: attackers are no longer only social-engineering humans; they are now reverse-engineering the decision-making process of artificial agents.
For a small-business operator or independent developer using AI coding tools, this matters immediately. If you rely on tools like GitHub Copilot, Claude, or other agents to scaffold projects or generate dependencies, you now face an attack surface that your traditional security practices may not catch. A developer reviewing code line-by-line might spot a suspicious package name; an AI agent running in the background will not. The malicious component can be embedded deep in auto-generated dependency trees, buried so far down that manual audits miss it entirely. If your business depends on rapid prototyping with AI assistance, you have inherited a blind spot.
What is genuinely novel here is not the concept of poisoned packages—that threat is decades old—but the targeting of the automated decision-maker. Traditional supply-chain attacks relied on social engineering: fake job postings, convincing personas, phishing developers directly. PromptMink instead exploits a weakness in how AI models can be manipulated through statistical patterns and keyword optimization, much like search engine optimization works. The attackers test their payloads before deployment, iterating on what actually tricks the model. This is algorithmic social engineering, and it scales faster than traditional attacks. ReversingLabs attributes the campaign to Famous Chollima, a North Korean APT group known for funding regime activities through cryptocurrency and fintech fraud—a reminder that state actors with resources now see AI development workflows as viable targets.
The downstream effects ripple across multiple layers. First, organizations that have adopted AI coding assistants without governance now carry hidden risk in their dependency trees. Second, the credibility of open-source registries themselves erodes; developers will have to spend more time vetting packages that AI agents suggest, negating much of the speed benefit those agents promised. Third, smaller teams without dedicated security infrastructure are hit hardest—they lack the tooling and expertise to audit AI-generated code at scale. Large enterprises with automated scanning can at least detect anomalies; independent developers and small shops often cannot.
What to watch: First, audit any code your AI agents have generated in the last year, particularly around dependencies integrated from public registries. Second, configure your coding agents (if your tools support it) to restrict which registries they can pull from, or to flag packages published within the last 30 days—new packages are higher risk. Third, lobby the platforms you use (GitHub, GitLab, your AI vendor) to provide transparency on how their agents evaluate and select dependencies. Finally, begin treating AI-generated code with the same skepticism you would apply to code from an unknown contributor. Speed is worthless if the result contains a backdoor.
The PromptMink campaign is only the opening move. As AI agents proliferate, this attack surface will widen, and threat actors will refine their techniques. The question is not whether your AI tools are vulnerable—they are—but whether you have visibility into what they are pulling into your codebase and the governance to stop it.
“This campaign presents us with the new frontier in software supply chain security: AI coding agents manipulated into installing and using malicious dependencies in the code they generate” — InfoWorld
Takeaway: Audit AI-generated dependencies now and restrict which registries your coding agents can access before state-sponsored poisoned packages reach your codebase.
Excerpt from the original — InfoWorld
Attackers too are looking to cash in on the AI coding craze, adapting their supply-chain techniques to target coding agents themselves.
Many AI agents autonomously scan package registries such as NPM and PyPI for components to integrate into their coding projects, and attackers are beginning to take advantage of this. Bait packages with persuasive descriptions and legitimate functionality have cropped up on such registries, while packages that target names that AI coding agents are likely to hallucinate as dependencies are another attack vector on the horizon.
Researchers from security firm ReversingLabs have been tracking one such supply-chain attack that uses “LLM Optimization (LLMO) abuse and knowledge injection” to make packages more likely to be discovered and chosen by AI agents. Dubbed PromptMink, the attack was attributed to Famous Chollima, one of North Korea’s APT groups …