TL;DR: Open-source supply chain attacks increasingly hit CI/CD runners, tokens, and publishing workflows rather than developer laptops, according to Cloudsmith, as malicious packages and poisoned extensions spread across npm, PyPI, NuGet, and VS Code. Build systems now need identity scoping, provenance checks, and tighter trust boundaries before they become the easiest place to steal credentials.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on Cloudsmith's blog post: Software supply chain attacks in May 2026 concentrated on open-source upstreams, package publication paths, and developer workflows, with CI/CD runners emerging as a high-value compromise target.
Why it matters: IAM, NHI, and platform security teams need to treat build runners, publishing tokens, and federated release identities as production-grade assets because supply chain compromise now often arrives through the automation layer.
Context
Software supply chain compromise is no longer confined to dependency tampering in the abstract. In practice, attackers target the places where code is built, signed, published, and trusted, which turns CI/CD infrastructure into an identity problem as much as a software integrity problem. CI/CD pipeline identity security is the right lens when release automation becomes the attack surface.
This month’s incidents show a recurring pattern: malicious packages, poisoned extensions, and token theft all converge on the same control failure, which is over-trusted build and publishing identities. That is a typical modern supply chain posture, not an outlier.
Cloudsmith's digest is useful because it ties package abuse to operational trust boundaries rather than treating each malicious package as a one-off event.
Key questions
Q: Why do CI/CD runners and developer machines make supply chain attacks more damaging?
A: They often hold cloud credentials, repository tokens, deployment keys, and other high-value identities in one place. If those systems are allowed broad secrets access, a package compromise can move from code execution to repository control and environment access with very little extra effort.
A: Public package ecosystems are high risk because attackers can hide payloads inside code that developers expect to install and run. When a package looks legitimate, it can bypass informal review, then execute directly on a workstation and steal secrets, tokens, or browser data. The combination of easy publishing, fast reuse, and developer trust makes compromise efficient.
Q: How does package provenance reduce supply chain risk?
A: Package provenance reduces supply chain risk by showing where a package came from, who built it, and whether it was modified before installation. In practice, it uses signed attestations, build metadata, checksums, and trusted repositories to verify integrity and origin. That helps detect tampering, dependency substitution, and unauthorised rebuilds before code reaches production.
Q: What should teams do first after finding a credential in a public package?
A: Revoke the credential immediately, then confirm whether the same secret appears in forks, build logs, or other published artifacts. Public exposure means the secret should be treated as compromised even if the original package has already been deleted.
Technical breakdown
Why CI/CD runners are attractive supply chain targets
CI/CD runners are ephemeral compute, but their credentials are often not ephemeral enough. They typically hold signing permissions, registry write access, cloud federation tokens, and secrets needed to publish or promote software. If a malicious package executes during build or install, it can steal those credentials before the pipeline finishes. The core issue is that build infrastructure is both execution environment and trust anchor, so compromise at runtime can become trust abuse at release time.
Practical implication: Treat runners as high-value identities and constrain what they can authenticate to, not just what code they can execute.
How malicious packages pivot from install-time code to release trust
Package ecosystem attacks often rely on lifecycle hooks, dependency confusion, typosquatting, or disguised helper utilities. Those mechanisms execute before a developer notices anything unusual, giving the attacker an opening to harvest environment variables, local tokens, repository contents, and browser or wallet data. Once harvested, those secrets can be reused to publish more malware, poison internal artefacts, or impersonate trusted automation. The important detail is that the package itself is only the delivery vehicle; the real prize is the automation credential behind it. See the Software Supply Chain Security Guide.
Practical implication: Control package execution paths in build and test environments and reduce the blast radius of any token exposed at install time.
Why provenance and scoped publishing tokens matter more than package reputation
A package can look legitimate while its provenance is untrusted. Repository cleanliness, familiar namespace names, and even search amplification do not prove that the artefact was built by the expected party or published through a controlled process. Provenance, attestations, and tight token scope let consumers and publishers distinguish trusted artefacts from merely plausible ones. Without those checks, registry trust becomes a branding exercise instead of a security control. Read Hijacked GitHub Releases.
Practical implication: Require verifiable provenance and narrow publishing authority before release artefacts are trusted downstream.
Threat narrative
Attacker objective: The attacker wants to turn trusted software distribution paths into credential collection and malware propagation channels that can scale across downstream consumers.
- Entry occurs when a malicious package, poisoned extension, or compromised maintainer account is introduced into an open-source ecosystem or developer workflow.
- Credential harvesting follows when install hooks, runtime hooks, or build-time execution steal tokens, secrets, certificates, or repository access from CI/CD and developer environments.
- Escalation and lateral movement happen when stolen credentials are reused to publish follow-on malware, tamper with artefacts, or poison additional repositories and package streams.
- Impact is widespread supply chain compromise, including stolen developer secrets, malicious artefact distribution, and persistent trust in tainted releases.
Breaches seen in the wild
- GitHub internal repositories breach 2026: A stolen GitHub CLI token let attackers publish a poisoned Nx Console extension that harvested secrets and exfiltrated 3,800 GitHub repos.
- Checkmarx KICS supply chain attack 2026: Credentials stolen via Trivy let attackers poison Checkmarx KICS Docker images, VS Code extensions and Actions to steal developer secrets.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
CI/CD identity is now a supply chain control plane: the article's incidents show that runners, publish tokens, and federated build identities are often the real point of compromise. That shifts the security question from package screening alone to whether release automation is over-authorised by default. In other words, the identity that signs or publishes software now deserves the same governance attention as the code itself.
Package trust is increasingly a provenance problem, not just a malware problem: malicious packages succeed because the ecosystem still gives too much weight to name familiarity, download momentum, and clean-looking repositories. Provenance signals, scoped credentials, and controlled publication paths are what separate a trusted artefact from a persuasive imposter. Practitioners should treat unverified package lineage as a standing governance gap, not an exceptional event.
Non-human identities in build pipelines need lifecycle control: CI tokens, registry credentials, and release identities are machine identities with real privilege and real blast radius. Cloudsmith's digest makes clear that third-party exposure of NHIs is not abstract supply-chain risk but a routine path to compromise CI/CD pipeline identities. Organisations that cannot inventory, scope, and revoke those identities quickly are leaving the supply chain governed by residual trust.
AI-assisted development expands the attack surface around software delivery: the mix of malicious packages, IDE extensions, and AI coding workflows shows that developers now encounter supply chain risk across more tools and more trust boundaries. That does not make AI the root problem; it makes identity and provenance controls more important wherever software is assembled. The practical conclusion is to govern the toolchain, not just the repository.
Blast radius follows credential reuse, not package count: the most dangerous campaigns are the ones that turn one successful compromise into many downstream trust breaks. That is why artifact governance, publisher identity, and token containment now matter as much as detection of known-malicious packages. Practitioners should design for containment first, because scale is an attacker property when credentials are reusable.
From our research library:
- 59% of compromised machines in a major 2025 supply chain attack were CI/CD runners rather than personal workstations, according to the State of Secrets Sprawl 2026.
- 92% of organisations expose NHIs to third parties, raising concerns about supply chain security, according to the Ultimate Guide to NHIs.
- Read next: CI/CD Pipeline Identity Security Guide
What this signals
Supply chain governance is moving toward credential containment: organisations can no longer assume that package screening alone will catch the highest-risk events. The control question is now whether build, publish, and federation identities are isolated enough that one compromised job cannot authenticate as the release system.
CI/CD runner identity is the new high-value asset: the more delivery pipelines depend on short-lived automation, the more important it becomes to know exactly which NHI can write, sign, or promote artefacts. That is where identity governance and software supply chain security now overlap most directly.
Attackers are optimising for downstream trust, not just immediate access: when a malicious package lands, the next objective is usually to reuse the environment's own authority to reach other systems. That means the future programme focus is likely to shift from package detection to publisher assurance, scoped tokens, and artifact provenance.
For practitioners
- Scope CI/CD runner permissions tightly Remove broad registry, cloud, and repository privileges from build runners and replace them with task-scoped access where possible.
- Separate publish credentials from build credentials Keep release signing and package publication separate from compilation and test stages so a single compromised job cannot both build and ship artefacts.
- Require provenance checks before consumption Reject artefacts that do not carry verifiable build provenance or expected publisher identity, especially for packages that feed CI and release workflows.
- Rotate exposed secrets after any package compromise Assume repository tokens, cloud credentials, and signing material are exposed whenever malicious install-time code executes in your pipeline.
Key takeaways
- Software supply chain attacks are increasingly winning by abusing automation identities and release paths rather than relying only on malicious code in a package.
- The article's incidents show that CI/CD runners, publishing tokens, and developer workflow secrets are now routine targets in supply chain compromise.
- Teams need stronger provenance, tighter credential scope, and faster revocation because the blast radius comes from trust reuse, not just package count.
Related NHI Mgmt Group resources: Software Supply Chain Security Guide · AI Coding Agents Security Guide · CI/CD Pipeline Identity Security Guide · Hijacked GitHub Releases
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-02 — Secret Leakage | Malicious packages and poisoned extensions steal exposed secrets from build and developer environments. |
| NHI-05 — Overprivileged NHI | Build runners and publishing identities often hold more privilege than the task requires. | |
| Recommendation — Scan pipelines for exposed secrets and revoke any token that appears in install-time or build-time execution. Reduce CI/CD and release identities to the smallest publish, sign, and fetch permissions possible. | ||
| MITRE ATT&CK | TA0006; TA0008 — Credential Access; Lateral Movement | The incidents centre on stealing credentials and reusing them across downstream repositories and artefacts. |
| Recommendation — Map supply chain incidents to credential access and lateral movement to prioritise identity containment. | ||
| CIS Controls v8 | CIS-5 — Account Management | Compromised maintainer and pipeline accounts are the common path for package abuse and release poisoning. |
| Recommendation — Inventory and rapidly revoke publisher, maintainer, and pipeline accounts that can alter shipped artefacts. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The article's core governance issue is over-extended access in build and publishing workflows. |
| Recommendation — Review entitlements for build and release identities and remove standing permission that is not essential. | ||
Key terms
- CI/CD runner: A CI/CD runner is the execution environment that performs build, test, or deployment jobs. It often has access to source code, tokens, and cloud credentials, which makes it a high-value identity surface when workflows are compromised.
- Software Supply Chain Attack: A software supply chain attack targets the path software takes from source code to production. The attacker corrupts code, dependencies, build steps, or artifacts so that trusted delivery mechanisms spread malicious logic into environments that would otherwise reject direct intrusion.
- Package Lifecycle Hook: A package lifecycle hook is a code callback that runs automatically at defined stages of a software package’s installation, upgrade, or removal. In identity and security operations, these hooks can alter configuration, secrets handling, or access behavior, so they require tight review, least privilege, and integrity controls to prevent abuse.
- Artifact Provenance: Artifact provenance is the record that shows where a digital artifact came from, how it changed, and who or what handled it. In identity security, it helps verify the origin, integrity, and trustworthiness of software packages, models, logs, or credentials across build, transfer, and use stages.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, workload identity, secrets management, and identity lifecycle control. It helps practitioners connect machine identity risk to the controls that protect software delivery and release trust.
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org