Trivy release, trivy-action and setup-trivy hijacked to steal CI/CD credentials
Hijacked Trivy releases and GitHub Actions stole CI/CD secrets.
Are you affected?
The free scanner that answers this opens soon. Until then, the steps below work by hand.
What happened
Hijacked Trivy releases stole CI/CD secrets. Trivy's advisory for CVE-2026-33634 says that on 2026-03-19 an attacker used compromised credentials to publish a malicious Trivy v0.69.4, force-push 76 of 77 tags of aquasecurity/trivy-action and replace all 7 tags of aquasecurity/setup-trivy; on 2026-03-22 it pushed malicious v0.69.5 and v0.69.6 images to Docker Hub with separately compromised Docker Hub credentials. The payload ran before the real scan, dumped the GitHub Actions Runner.Worker process memory for secrets and swept files for SSH keys, AWS, GCP and Azure credentials, Kubernetes tokens, Docker configs, .env files, database credentials and wallets, then sent them encrypted to a typosquatted domain or, as a fallback, to a public tpcp-docs repository created with the victim's GitHub token. Aqua says the root cause was a late-February compromise whose 2026-03-01 credential rotation was incomplete. The malware calls itself TeamPCP Cloud stealer.
- Exposure starts
- 2026-03-19
- Exposure ends
- 2026-03-23
- Confidence
- high
- Scope
- every secret reachable from a CI runner or machine that ran an affected Trivy binary or image, trivy-action tag 0.0.1 to 0.34.2, or setup-trivy, in the exposure windows
What to do, in this order
- Replace affected Trivy binaries, images and action references with the safe versions and pin actions to full commit SHAs
The advisory's first steps; rotating while a hijacked tag is still referenced hands the new secrets to the next run.
- GitHub personal access tokens available to affected workflows, then search your organization for a tpcp-docs repository
The fallback exfiltration used the workflow's GitHub token to create a public tpcp-docs repository; the advisory says its presence may mean secrets were stolen.
github_pat
- npm publish tokens
Aqua says to treat npm publish tokens as actively compromised; stolen ones were used to spread the CanisterWorm npm worm.
npm_token
- AWS, GCP and Azure credentials and Kubernetes service-account tokens
The advisory and Microsoft name cloud credentials and Kubernetes tokens among the swept files and metadata endpoints.
aws_access_key_id, aws_secret_access_key, anything else stored there
- Database credentials and connection strings, SSH keys and TLS private keys
Aqua names .pgpass, .my.cnf and Redis configs, SSH keys and TLS private keys; Microsoft names MySQL, PostgreSQL, MongoDB and Redis connection strings.
postgres_url, mysql_url, mongodb_url, redis_url, private_key
- Every other secret the runner or machine could read, and move cryptocurrency to new wallets
The advisory says all secrets accessible to affected pipelines must be treated as exposed and rotated immediately; Aqua says to rotate or transfer to new wallets.
anything else stored there
- On developer machines, remove the persistence file and service at ~/.config/systemd/user/sysmon.py
Aqua lists it as the payload's persistence on developer machines; it polls for further downloads.
Notes
- Exposure windows (UTC) from the advisory: trivy v0.69.4 2026-03-19 18:22 to about 21:42; trivy-action about 17:43 on 2026-03-19 to about 05:40 on 2026-03-20; setup-trivy about 17:43 to 21:44 on 2026-03-19; Docker Hub images v0.69.5 and v0.69.6 15:43 on 2026-03-22 to about 01:40 on 2026-03-23.
- Safe versions per the advisory: Trivy v0.69.2 and v0.69.3, trivy-action v0.35.0, setup-trivy v0.2.6. The old trivy-action tags were re-created with a v prefix (for example v0.34.0) pointing to the legitimate commits. Trivy built from source and the official Homebrew formula were not affected.
- Aqua names npm publish tokens and cryptocurrency wallet keys for rotation and says the attackers went on to spread an npm worm, CanisterWorm, with stolen npm publish tokens; it advises treating this as an ongoing campaign. Aqua says its commercial products were not affected.
- GitHub Actions and Docker images are not package ecosystems in this schema; the actions and images are listed in indicators. OSV lists the Go module for Trivy (aquasecurity/trivy) at 0.69.4 as affected.
- The OSV record for the LiteLLM 1.82.7 and 1.82.8 releases says LiteLLM was compromised through a trivy security scan in a GitHub workflow; see litellm-2026-03.
How to tell if you’re affected
- Trivy v0.69.4 binary or image, or Docker Hub image aquasec/trivy 0.69.5 or 0.69.6
- aquasecurity/trivy-action referenced by any tag 0.0.1 to 0.34.2 between 2026-03-19 and 2026-03-20
- aquasecurity/setup-trivy run on 2026-03-19 without SHA pinning
- A public repository named tpcp-docs in your GitHub account or organization
- DNS lookups or connections to scan.aquasecurtiy.org or IP 45.148.10.212
- The file ~/.config/systemd/user/sysmon.py on a developer machine
Sources
- Aqua Security: Trivy supply chain attack, what you need to know
- OSV: GHSA-69fq-xp46-6x23 (CVE-2026-33634)
- GitHub advisory GHSA-69fq-xp46-6x23 (CVE-2026-33634)
- Microsoft: Guidance for detecting, investigating, and defending against the Trivy supply chain compromise
Rotating the keys
Pro, $49 a year when it opens, plans the rotation of each affected key for this incident, in this order. Automatic rotation is in testing and included.
By hand, free: the steps above.