Agent supply chain attacks exploit the same patterns as classic software supply chain attacks (think SolarWinds, the npm event-stream incident, the PyPI colorama typosquats) but operate one layer up the stack. Where classic attacks target the executable or library, agent attacks target the prompt template, the tool description, the fine-tuned model weights, or the published skill package.
Five common vectors. Typosquatting: register panguard-cli next to panguard to trick users into installing the wrong one. Dependency confusion: publish a malicious package with the same name as an internal package, exploiting npm/PyPI resolution order. Postinstall hijack: a skill's package runs code at install time, before any audit. Author takeover: compromise the publisher account of a popular skill, ship a malicious update. Prompt-template poisoning: a community-contributed prompt template in a marketplace contains injection patterns that activate when the template runs.
Two PanGuard scans put numbers on the footprint. A March 2026 scan of MCP server packages found 122 with postinstall scripts that ran before any review and 249 with the triple-threat permission combination (shell + network + filesystem). The 2026-04 wild scan ran scan engine v2.0.0 (113 ATR rules) over 101,280 published skills and MCP servers and flagged 1,434; a flag is a rule match, not a confirmed-malicious verdict. Its flagged-file list (paths and rule ids) is published in the agent-threat-rules repository.
Defense requires checks at three points. (1) Pre-install via Skill Auditor (catches typosquats, postinstall scripts, triple-threat, manifest-behavior mismatch). (2) At-rest via signed evidence packs and SBOM tracking (catches author-takeover by detecting unsigned updates). (3) Runtime via PanGuard Guard (catches activated payloads regardless of how they got installed). The skill-compromise category in ATR contains a dedicated rule set targeting these patterns.