Deception/ Application
D077F2 Application

📦 Canary Dependency

Private npm/pip packages that phone home on install.

What it is

A private-scoped package (e.g., @yourorg/internal-auth-helper) listed in package.json, requirements.txt, or go.mod that resolves to a DOAR-controlled package registry. If an attacker clones the repo and runs npm install / pip install from outside the corporate network, the package either: - Fails resolution (detectable via registry logs) - Resolves to a public canary package you control that phones home with the installer's IP, hostname, and environment variables

Implementation requirements

Technologies

CI/CDApplication

ATT&CK coverage 2

TechniqueTacticStatusConfidenceTier
T1213.003
Code Repositories
Collection confirmed strong T2
↳ Detection point: the decoy fires at a later step of the attack
↳ Evidence (4 sources)
T1195.002
Compromise Software Supply Chain
Initial Access theoretical weak T2
↳ Detection point: the attack step itself touches the decoy
↳ Evidence (1 source)

The compromise happens upstream.

Evidence

Research basis: Sreekumar, "RCE via Dependency Confusion" (2024). "Weaponizing Setup Instructions Against AI Coding Agents" (2026 Preprint).