TL;DR: Trivy’s March 2026 compromise showed CI/CD workflows, release tags, and pipeline tokens acting like privileged identities with their own lifecycle risk, according to ARMO. CI/CD trust now has to be governed as tightly as code integrity, or release poisoning and secret theft can spread through trusted automation.
Editorial analysis by NHI Mgmt Group, based on content published by ARMO: “When Your Friend’s House Burns Down Twice: The Trivy Supply Chain Attacks Explained”.
Key questions
Q: Why do compromised CI/CD credentials make supply chain attacks much worse?
A: CI/CD credentials often sit at the centre of publish, build, and deployment workflows, so one stolen token can reach many repositories and environments.
Q: How do teams know whether release integrity controls are actually working?
A: They should look for consistent automated coverage across signing, security checks, SBOM generation, and image signing, not just policy documents.
Q: What breaks when pull_request_target workflows process untrusted input?
A: The workflow can turn attacker-controlled text or branch names into executable shell syntax while still running with the base repository's permissions.
Practitioner guidance
- Harden privileged GitHub Actions workflows Reserve pull_request_target for the smallest possible read-only checks and forbid execution of fork-supplied code in jobs that can access secrets or write permissions.
- Protect release tags and provenance Lock down mutable tags, require signed release provenance, and verify that consumed artefacts still match the approved commit and author chain.
- Treat CI/CD tokens as coordinated NHI assets Inventory PATs, service accounts, registry credentials, and cloud keys used by build and release automation, then revoke old values atomically during incident response.
Bottom line: The Trivy compromise revealed that CI/CD workflows, release tags, and pipeline tokens can act as privileged identities with their own lifecycle risk.
Glossary terms: CI/CD Identity, Pull Request Target Risk, Access Provenance, Atomic Rotation
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
CI/CD workflows now behave like non-human identities with their own lifecycle risk. The Trivy compromise shows that build jobs, release pipelines, and automated tokens are not just delivery plumbing. They are governed access paths with scope, revocation, and trust boundaries. Once those boundaries blur, the pipeline itself becomes the attacker’s identity layer, and practitioners should treat CI/CD credentials as first-class NHI assets.
A few things that frame the scale:
- 92% of organisations expose NHIs to third parties, raising concerns about supply chain security, according to the Ultimate Guide to NHIs.
A question worth separating out:
Q: What should organisations do after a CI/CD token or PAT is exposed?
A: Revoke the exposed token, invalidate any related sessions or cached secrets, and assume adjacent credentials may also be compromised. Then inspect release jobs, runners, package publishing paths, and downstream repositories for misuse. The goal is to collapse attacker access across the whole workflow chain before further tag, release, or package poisoning can occur.
👉 Read our full editorial: Trivy’s twin supply chain attacks expose CI/CD credential fragility