--- title: "Supply-chain attacks hub: npm, PyPI, GitHub Actions" url: https://playciso.com/hubs/supply-chain-attacks updated: 2026-11-19 section: Topic hubs publisher: PlayCISO --- # Software supply-chain attacks > Every PlayCISO write-up on software supply-chain attacks: poisoned npm and PyPI packages, Shai-Hulud worms, GitHub Actions secret theft and what to revoke. A poisoned package or a hijacked build pipeline reaches every team that installs it, which is why supply-chain attacks spread so fast. This hub gathers our coverage of malicious npm and PyPI releases, the Shai-Hulud worm family, GitHub Actions and CI secret theft, and the controls that stop them. Several of these releases carried valid provenance or came through the vendor's own pipeline, as with keyv in August 2026 and Microsoft's agent-framework in November 2026, so each post lists exact bad versions, what to pin and which credentials to revoke. ## Posts (19, newest first) - 2026-11-19 [GitHub Actions Cache Can Expose Secrets to PRs: Fix It](https://playciso.com/blog/github-actions-cache-pull-request-credential-exposure): Pull request workflows, forks included, can restore caches from the base branch. If a credential was cached, a PR author can read it. What to fix. - 2026-11-19 [Microsoft agent-framework PyPI Hijack: What to Do Now](https://playciso.com/blog/microsoft-agent-framework-pypi-esrp-compromise): agent-framework 1.26.1 and 1.26.2 on PyPI stole cloud and CI secrets via a .pth file on 17 Nov 2026. What Wiz found, who is hit, how to check, pin 1.26.0. - 2026-11-13 [wfx-loot: 4,837 GitHub Accounts Used to Steal CI Secrets](https://playciso.com/blog/wfx-loot-github-accounts-ci-secrets-stealer): Hijacked GitHub accounts opened 61,764 probe PRs and ran a CI secret stealer that deletes its own runs. How to check your repos and what to rotate. - 2026-11-09 [LiteLLM Supply Chain Attack: What Happened, What to Do](https://playciso.com/blog/litellm-supply-chain-attack-2026): LiteLLM 1.82.7 and 1.82.8 on PyPI carried a credential stealer on 24 March 2026. Confirmed vs claimed, timeline, indicators and what to do now. - 2026-11-03 [npm Trusted Publishing Explained: OIDC, Provenance, Limits](https://playciso.com/blog/npm-trusted-publishing-explained): How npm trusted publishing works: short-lived OIDC instead of npm tokens, automatic provenance, setup fields, requirements, and what it does not stop. - 2026-10-29 [DevSecOps Breach Response Plan: Supply Chain and Secrets](https://playciso.com/blog/devsecops-breach-response-plan): DevSecOps breach response plan for supply chain incidents: find every build that ran the bad package, rotate secrets in order, check releases, tell users. - 2026-10-29 [Model Signing: Sign an AI Model and Attest Provenance](https://playciso.com/blog/sign-ai-model-provenance-attestation-example): A worked example: sign model files with the OpenSSF model_signing CLI, see real verify failures, add SLSA provenance in CI and link both from the AIBOM. - 2026-10-24 [GitHub Supply-Chain Attack: Anatomy and Controls](https://playciso.com/blog/github-supply-chain-attack-controls-that-stop-it): The October 2026 LiteLLM GitHub-identity compromise, as reported, step by step, and the GitHub control that would have ended the chain at each point. - 2026-10-21 [LiteLLM 1.107.0 Backdoored: How the .pth Stealer Worked](https://playciso.com/blog/litellm-1-107-0-supply-chain-compromise-credential-stealer): Malicious LiteLLM 1.107.0 hit PyPI, Docker Hub and GHCR on 21 Oct 2026, stealing cloud, AI, SSH and GPG keys via a .pth file. The IOCs and what to do now. - 2026-10-20 [OVHcloud CLI Compromise and the Release-Pipeline Gap](https://playciso.com/blog/ovhcloud-cli-supply-chain-compromise-release-pipeline-integrity): OVHcloud disclosed on 19 Oct 2026 that its CLI repo was briefly compromised (v0.11.0-v0.15.0). What happened and the pipeline controls to check. - 2026-10-08 [tensorlake@0.5.144: Shai-Hulud Worm Holds GitHub Tokens](https://playciso.com/blog/tensorlake-npm-0-5-144-shai-hulud-worm-hostage-token): tensorlake npm 0.5.144 carries a Shai-Hulud-family worm that steals tokens and keys. Pin 0.5.143. What is confirmed and the order of cleanup. - 2026-10-06 [ChainDrop: The Shai-Hulud npm Worm Is Back (@subql)](https://playciso.com/blog/subql-shai-hulud-chaindrop-npm-worm-supply-chain-2026): A malicious @subql/common on npm stole .npmrc, .env, AWS, SSH and GitHub keys — part of ChainDrop, a Shai-Hulud-family worm. The defender’s playbook. - 2026-09-26 [npm Package Security Scanning: A Practical Guide](https://playciso.com/blog/npm-package-security-scanning-guide): npm package security scanning: how to check npm packages for known vulnerabilities, malicious code and provenance, and build scanning into your workflow. - 2026-09-25 [Dependency Confusion Attack: npm & PyPI Defenses](https://playciso.com/blog/dependency-confusion-attack-how-it-works-and-how-to-stop-it): Dependency confusion: attackers publish your private package name to npm or PyPI at a higher version. Stop it with scopes, pinned hashes and one proxy. - 2026-09-18 [@apexacc/cli: Malicious npm Package Drops Infostealer](https://playciso.com/blog/apexacc-cli-npm-windows-infostealer-elastic-security-labs): Elastic Security Labs is investigating @apexacc/cli, an npm package that disables Windows Smart App Control and drops an infostealer. What is known so far. - 2026-08-13 [LiteLLM Supply Chain Attack: What TeamPCP Stole, Response](https://playciso.com/blog/litellm-supply-chain-attack-teampcp-what-to-do): Backdoored LiteLLM 1.82.7 and 1.82.8 stayed on PyPI for about 40 minutes in March 2026. Researchers say the stolen CI/CD data has since surfaced. Here is what happened, the IOCs, and the remediation checklist. - 2026-08-04 [Shai-Hulud Took keyv, and Shipped With Valid Provenance](https://playciso.com/blog/keyv-shai-hulud-npm-compromise-provenance): A maintainer account compromise poisoned keyv, flat-cache, file-entry-cache and the rest of the family, then spread to 868 more packages across 1,381 versions — over 2 billion monthly installs. The releases were signed by GitHub Actions and the provenance checks out. That is the part worth your attention. - 2026-07-30 [AI Agent Published Real Malware to PyPI, No Human Involved](https://playciso.com/blog/ai-agent-published-malware-pypi-no-human): Anthropic disclosed (July 30, 2026) that during a security evaluation, a Claude model autonomously created and published a malicious package to the real PyPI registry, where it ran on 15 systems within an hour and stole a security firm’s credentials — no human attacker, no human instruction. What happened and what it means for CISOs. - 2026-07-16 [The Suno Breach: An npm Worm and a Scraped Training Set](https://playciso.com/blog/suno-shai-hulud-breach-what-cisos-should-learn): A hacker used the Shai-Hulud npm worm to breach AI music firm Suno, leaking source code, customer emails and Stripe data. What happened and the lessons. ## Breach Index - [BerriAI (LiteLLM)](https://playciso.com/breach-index/berriai) - [OpenAI](https://playciso.com/breach-index/openai) - [Phala](https://playciso.com/breach-index/phala) - [Together AI](https://playciso.com/breach-index/together-ai) - [OpenRouter](https://playciso.com/breach-index/openrouter) ## Practise this - [Automated Supply Chain Risk Scanner](https://playciso.com/tools/npm-scanner): Daily scanning of npm packages — download the same tool for your own repos. - [GitHub Actions Security Auditor](https://playciso.com/tools/github-actions-security-auditor): Paste a workflow YAML; flag pull_request_target, unpinned actions, write-all & leaked secrets. - [Package Minimum-Age Config Generator](https://playciso.com/tools/package-min-age-config-generator): Stop builds installing packages that are hours old. - [GitHub Supply-Chain Attack Anatomy](https://playciso.com/tools/github-supply-chain-attack-anatomy): The LiteLLM GitHub-identity compromise, step by step — and the control that breaks each link. - [Slopsquatting Lab: Stop AI-Suggested Fake Packages](https://playciso.com/tools/hallucinated-package-lab): Review a fictional AI pull request and MCP manifest in 12 scored calls - [AI CLI Supply Chain Lab: When Packages Use Your AI Tools](https://playciso.com/tools/ai-cli-supply-chain-lab): Respond to npm packages that use your AI CLIs in 11 scored calls ## Guides - [How to audit npm dependencies for supply-chain risk](https://playciso.com/guides/how-to-audit-npm-dependencies-for-supply-chain-risk) - [What is an SBOM?](https://playciso.com/guides/what-is-an-sbom) - [Secure software development lifecycle](https://playciso.com/guides/secure-software-development-lifecycle) ## FAQ ### What is Shai-Hulud? A family of self-spreading npm worms that steal tokens and keys from developer machines and CI, then use them to publish poisoned versions of more packages. Our posts cover the keyv family compromise in August 2026, ChainDrop (@subql) and tensorlake 0.5.144 in October 2026. ### Does npm provenance stop supply-chain attacks? No. In the keyv compromise the poisoned releases were signed by GitHub Actions and the provenance checked out, because the attacker controlled a real maintainer account. Provenance proves where a package was built, not that the build was intended. ### What should I do if I installed a poisoned package? Pin the last good version and remove the bad one, then deal with every token, key and cloud credential the affected machine or CI runner could read. Our keyv write-up says revoke rather than rotate, npm and GitHub first, because rotation leaves the old credential valid until it expires, and warns that rebuilding node_modules can miss a project-local autostart hook. ### How do attackers steal secrets through GitHub Actions? Our coverage includes wfx-loot, where hijacked GitHub accounts opened 61,764 probe pull requests and ran a CI secret stealer that deletes its own runs, and a write-up on how the Actions cache can expose secrets to pull requests. The GitHub Actions Security Auditor checks your workflows for the same weaknesses. --- PlayCISO is a simulation-first platform for security leaders: a Cyber War Room incident simulator, a simulated PCI DSS QSA interview, board-report coaching, free security scanners, and a curated library of free courses. https://playciso.com