CI/CD and build supply-chain breaches

Tampered GitHub Actions, poisoned build runners, and compromised package releases turn trusted automation into an open channel to production secrets.

13 verified stories

  1. Microsoft agent-framework: malicious PyPI wheels ran .pth hooks to mint OIDC tokens

    Two unauthorized PyPI releases executed at Python startup to scrape /proc environments and mint GitHub Actions, Azure DevOps, and Azure IMDS tokens.

    Stayed safe: Official GitHub source repo, clean 1.26.0 and earlier, satellite Python packages, .NET packages, and Semantic Kernel
  2. Defang: an over-privileged dev GitHub App tagged a release and copied production

    An attacker acted as an over-scoped dev GitHub App to push a release tag that ran inside production CI, copied the main database, and left live service keys exposed for 11 days.

    Stayed safe: Passwords (Defang holds none), direct customer cloud credentials, repo contents, and full payment card numbers/CVCs
  3. Binance: a fake job interview swapped a pyenv shim and led to a $6.3B wallet heist

    North Korean attackers used a fake recruitment repo to swap a Homebrew pyenv binary, pivoted through an internal AI tool, and stole a container deploy token.

    Stayed safe: June compromised Mac was caught and wiped, though team org knowledge leaked; billions traced, frozen, or backstopped by Binance
  4. AsyncAPI: an AI PR spam storm masked a pwn request and shipped import-time malware through OIDC

    On July 14, 2026, attackers flooded asyncapi/generator with fake PRs to hide exploit PR #2155, stole asyncapi-bot admin credentials, and pushed five npm versions executing M-RED-TEAM malware at import time.

    Stayed safe: Prior pinned versions (@asyncapi/generator@3.3.0, specs@6.11.1), builds outside the 06:58–11:18 UTC window, and core maintainers’ personal credentials
  5. Red Hat: a malicious VS Code extension poisoned 32 @redhat-cloud-services npm packages with valid OIDC provenance

    A developer’s GitHub account compromised by a malicious VS Code extension pushed Miasma malware into 32 @redhat-cloud-services npm packages, but build-pipeline script stripping kept Red Hat products and managed clouds clean.

    Stayed safe: Hybrid Cloud Console (console.redhat.com: no release in window and install scripts stripped), ROSA, ARO, OSD, ACS Cloud Service, AAP Managed, and all shipped Red Hat enterprise products
  6. LiteLLM: tampered PyPI wheels used a .pth startup hook to harvest AI keys and Kubernetes secrets

    On March 24, 2026, attackers believed to have stolen publishing credentials through LiteLLM’s Trivy CI workflow pushed litellm 1.82.7 and 1.82.8 to PyPI, exfiltrating cloud and LLM secrets to models.litellm.cloud.

    Trivy supply-chain chainStayed safe: Official LiteLLM Proxy Docker image (ghcr.io/berriai/litellm), LiteLLM Cloud, pinned v1.82.6 installs, and LiteLLM’s GitHub main repository
  7. Checkmarx: Trivy CI credentials spilled into GitHub Actions, OpenVSX, KICS Docker, and Jenkins

    Credentials harvested in the March 19 Trivy compromise gave TeamPCP access to Checkmarx’s GitHub repos, fueling multi-wave tampered GitHub Actions, IDE extensions, a KICS Docker image, and a May 9 Jenkins plugin while Checkmarx One SaaS stayed safe.

    Trivy supply-chain chainStayed safe: Checkmarx One SaaS environment, Checkmarx AWS production environment, and customer production data (not stored in GitHub repos)
  8. Aqua Security Trivy: an incomplete token rotation let TeamPCP poison 76 of 77 GitHub Action tags

    After a late-February GitHub Actions token theft and an incomplete March 1 rotation, TeamPCP force-pushed 76 of 77 trivy-action tags and Trivy v0.69.4 on March 19, cascading into Checkmarx, LiteLLM, and the European Commission.

    Trivy supply-chain chainStayed safe: Aqua Security’s commercial platform (built off-GitHub with separate CI, secrets, and lagged gated fork), trivy-action tag v0.35.0, and SHA-pinned customer workflows
  9. Cline ("Clinejection"): a GitHub issue prompt injection stole NPM_RELEASE_TOKEN and shipped cline@2.3.0

    An attacker copied a public prompt-injection PoC against Cline’s Claude issue-triage workflow, poisoned the GitHub Actions cache, stole NPM_RELEASE_TOKEN, and published cline@2.3.0 installing openclaw globally.

    Stayed safe: Cline VS Code extension, JetBrains plugin, dist/cli.mjs CLI binary, and user source code (no exfiltration payload found in openclaw)
  10. Shai-Hulud: a self-replicating npm worm hit 500+ packages in September and 25,000 repos in November

    Two waves of the self-propagating Shai-Hulud npm worm stole maintainer tokens, infected hundreds of packages across Zapier, Postman, and PostHog ecosystems, and leaked cloud secrets into over 25,000 public GitHub repositories.

    Stayed safe: Pipelines enforcing frozen lockfiles, ignore-scripts=true, release-age cooldowns, and OIDC Trusted Publishing with zero static npm tokens
  11. Nx (s1ngularity): a PR title injection stole an npm token and weaponized local AI CLIs

    Attackers exploited a pull_request_target PR-title injection in Nx to steal NPM_TOKEN, publish tampered npm packages for four hours, and abuse local Claude and Gemini CLIs to hunt developer secrets.

    Stayed safe: Nx Cloud production platform, Nx Enterprise infrastructure, and the official CI release pipeline itself (tampered builds lacked npm provenance)
  12. eslint-config-prettier: a typosquatted npnjs.com phish pushed a Windows DLL into millions of builds

    Phishing spoofed npmjs.org at npnjs.com to steal a maintainer’s npm token and publish tampered versions of eslint-config-prettier and four sibling packages carrying a Windows node-gyp.dll payload.

    Stayed safe: GitHub source repositories (no malicious commits pushed), Linux and macOS environments skipped by the Windows-only DLL check, and lockfile-pinned pipelines
  13. tj-actions/changed-files: repointed tags shipped a memory scraper into public CI logs

    Repointed tags shipped a memory scraper that printed CI secrets into public build logs.

    Stayed safe: Workflows pinned to a full commit SHA
CI/CD and build supply-chain breaches (13 verified postmortems) | breachidents