Evidence over alarm
← Back to the incident library
AI as a targetCASE STUDY / Keyv, Cacheable and Ecto; downstream developers

A software worm planted traps in AI coding tools

ChainDrop poisoned software packages and planted malicious startup commands for Claude Code and VS Code.

Source: Datadog Security Labs
ACTIVITYAugust 4, 2026
PUBLICLY DISCLOSEDAug 4, 2026
THE AI’S ROLEAI coding tools targeted

Activity and initial investigation reports: August 4. Maintainer account: August 31.

THE 10-SECOND TAKEAWAY

The settings around an AI tool are part of its security boundary.

HOW IT WORKED

Follow the chain.

An explanation, not a technical reproduction.
Maintainer account
→
Altered project
→
Published software
SIMPLIFIED VIEW · 1 / 3
STEP 01

A trusted project is altered

A maintainer’s account was used to change software that other developers relied on.

Jared Wray
Move through the story at your own pace.
1 / 3
THINK OF IT THIS WAY

Editorial analogy: imagine a shared toolbox arriving with a trap attached to its lid. The trap is part of the equipment; it does not require the person using the tools to agree to an attacker’s request.

An analogy for the mechanism; not an additional claim about the incident.
KEEP THE EVIDENCE IN VIEW

What we know.
What we don’t.

Reported outcomes

Poisoned releases passed through the projects’ genuine publishing workflow. Jared Wray

StepSecurity observed malicious network activity in Backstage build jobs, without evidence of credential loss there. StepSecurity

Important limits

Recovered configuration shows intended AI-tool execution. Actual activation of those hooks, or theft and use of particular AI-service credentials, is not established in the reviewed reporting.

The reviewed evidence does not establish AI authorship or AI-directed execution. Package downloads are not victim counts.

The maintainer believes an old access token was used; exactly how it was obtained remains uncertain.

WHY IT MATTERS

The lesson beyond
this one case.

Editorial lesson: AI software has ordinary software settings, files and permissions around it. Protecting those parts matters alongside how a model responds to instructions. A trusted-looking release record still requires attention to what was released.

Where were the people?

An attacker altered the projects; the malware then propagated automatically. Datadog Security Labs

What happened in response? +

The maintainer says GitHub and npm stopped propagation and removed infected releases within about seven hours. Jared Wray

FROM THE INCIDENT TO THE DEFENSE

What could help
an organization?

Editorial connections for maintainers and organizations using developer tools. These are relevant practices, not findings about missing controls or guarantees of prevention.

Software

Review what a project can run

Check new dependencies and changes to startup tasks, editor settings and AI-tool settings before trusting a project. Separate package testing from sensitive work.

What this does—and does not—establish

A record of where software was built does not establish that its contents are safe. A clean new release does not repair an already affected machine.

Cloud

Limit the keys available to development tools

Use narrowly scoped credentials, separate publishing access from routine development, and make exposed credentials easy to revoke and replace.

What this does—and does not—establish

Replacing credentials limits future access. It does not retrieve information already copied or remove installed malware.

Editorial connections to relevant controls, not evidence that a particular technology would have prevented this case. Each guide links to the security guidance behind its recommendations.

Explore the full AI security framework
TRACE IT TO THE SOURCE

Read the evidence.

Explore more original accounts in the source report library ↗.

These are source-reported findings. An independent assessment, when available, is labeled explicitly.

01
ChainDrop npm Worm: Bun-loaded CI/CD credential harvester with Ethereum dead-drop C2StepSecurity · Aug 4, 2026 · investigation
02
'ChainDrop' worm compromises hundreds of popular npm packagesDatadog Security Labs · Aug 4, 2026 · investigation
03
Keyv and Cacheable - Chaindrop WormJared Wray · Aug 31, 2026 · affected maintainer account

Read this case’s update history →

Reviewed Sep 20, 2026 · Editorial methodology · Structured data