One of 4 breaches in the Trivy supply-chain chainSee the whole chain

Aqua Security Trivy: an incomplete token rotation let TeamPCP poison 76 of 77 GitHub Action tags

On March 19, 2026 (CVE-2026-33634), attackers tracked as TeamPCP abused residual credentials left alive after Aqua Security’s incomplete March 1 token rotation to force-push 76 of 77 version tags on aquasecurity/trivy-action, all 7 tags on setup-trivy, and a tampered Trivy v0.69.4 binary. The 204-line entrypoint.sh stealer dumped GitHub Actions runner memory and 50+ credential paths before running normal scans, triggering downstream breaches at Checkmarx, LiteLLM, and the European Commission. Aqua’s commercial platform stayed architecturally isolated.

How they got in

Security scanners get handed the keys to the kingdom in almost every CI pipeline, which made Aqua Security's open-source Trivy repository an irresistible target.

In late February 2026, an automated GitHub Actions exploit (pull_request_target) extracted a privileged token from Trivy's repository automation. Aqua Security disclosed that early breach and rotated credentials on March 1, 2026. The problem was that the rotation was not atomic or complete: still-valid residual credentials remained live, giving the cloud-native group TeamPCP a quiet doorway back in nearly three weeks later.

TeamPCP / initial exploitTrivy OSS GitHub & DockerDownstream falloutStayed safeLate-Feb Actions exploitIncomplete Mar 1 rotate76/77 trivy-action tagsSpoofed git commit datesRunner memory & 50+ pathsscan.aquasecurtiy[.]orgCheckmarx & LiteLLMRead the Checkmarx storyEuropean CommissionRead the EU Commission storyAqua commercial buildOff-GitHub & gated fork123
1Late Feb–Mar 1, 2026

An automated workflow exploit extracts a privileged token from Trivy’s GitHub automation; the March 1 credential rotation misses active credentials, leaving TeamPCP a path back in.

ConfirmedWhere to stop it: atomic token revocation
  1. Late Feb–Mar 1, 2026

    An automated workflow exploit extracts a privileged token from Trivy’s GitHub automation; the March 1 credential rotation misses active credentials, leaving TeamPCP a path back in.

    Late-Feb Actions exploitto76/77 trivy-action tags
  2. Mar 19, 17:43–21:44 UTC

    Forging original commit author dates onto master HEAD, TeamPCP swaps entrypoint.sh with a silent Runner.Worker memory stealer and ships tampered Trivy v0.69.4 binaries.

    76/77 trivy-action tagstoRunner memory & 50+ paths
  3. Mar 19–25, 2026

    Pipelines pinned only to mutable tags run the stealer silently, handing attackers live keys used to hit Checkmarx, LiteLLM on PyPI, and the European Commission’s AWS account (plus Mar 22 Docker Hub 0.69.5/0.69.6 re-entry).

    Runner memory & 50+ pathstoCheckmarx & LiteLLMEuropean Commission

Figure 1. How the attack unfolded, and what stayed isolated. Select any step or box for details.

What they took

At 17:43 UTC on March 19, 2026 (tracked as CVE-2026-33634), TeamPCP struck across every open-source Trivy channel at once. They force-pushed 76 of 77 version tags in aquasecurity/trivy-action, all 7 tags in aquasecurity/setup-trivy, and triggered aqua-bot to publish a tampered Trivy v0.69.4 binary. Even more deceptively, for each forged tag they started from master HEAD (57a97c7e), swapped only entrypoint.sh, and cloned the original release commit's author, timestamp, and message so git log looked normal at a glance (though the commits were unsigned and carried an impossible March 2026 parent).

Lines 4–105 of the 204-line entrypoint.sh ran silently **before** the real Trivy scan so CI jobs stayed green. On GitHub-hosted runners, passwordless sudo let a Python script dump Runner.Worker heap memory from /proc/<pid>/mem to carve out {"value":"<secret>","isSecret":true} objects; on self-hosted runners, it swept 50+ credential paths across AWS, GCP, Azure, Kubernetes, Terraform, SSH, and crypto wallets, encrypted tpcp.tar.gz, and posted it to scan.aquasecurtiy[.]org (45.148.10.212) with a fallback tpcp-docs GitHub repo. Outside GitHub Actions, Trivy v0.69.4 also dropped ~/.config/systemd/user/sysmon.py polling an Internet Computer canister. On March 22, TeamPCP briefly re-entered to push Docker Hub tags 0.69.5 and 0.69.6 and expose internal Aqua repos before Aqua and Sygnia locked down all open-source automation.

The harvested CI secrets cascaded immediately across the industry: Checkmarx suffered GitHub repo and artifact compromises starting March 19, LiteLLM saw tampered PyPI wheels on March 24, and the European Commission lost 91.7 GB from an europa.eu AWS account.

Where Aqua Security Trivy sits in the Trivy supply-chain chain

See the whole chain
Where it spread fromKnock-on breaches
Origin
Aqua Security TrivyFeb–Mar 2026

76/77 Action tags, v0.69.4, and 3 linked breaches

You’re reading this
with trivy CI credentials
CheckmarxMar 19–May 9, 2026

Actions, OpenVSX, KICS Docker, Jenkins, and repo leak

with harvested AWS API key
European CommissionMar 19–25, 2026

91.7 GB from 71 europa.eu clients

with trivy CI scanning job
LiteLLMMar 24, 2026

Tampered PyPI wheels 1.82.7 & 1.82.8 (~40 min live)

Origin
Aqua Security TrivyFeb–Mar 2026

76/77 Action tags, v0.69.4, and 3 linked breaches

You’re reading this
with trivy CI credentials
CheckmarxMar 19–May 9, 2026

Actions, OpenVSX, KICS Docker, Jenkins, and repo leak

with harvested AWS API key
European CommissionMar 19–25, 2026

91.7 GB from 71 europa.eu clients

with trivy CI scanning job
LiteLLMMar 24, 2026

Tampered PyPI wheels 1.82.7 & 1.82.8 (~40 min live)

What stayed safe

Aqua Security's commercial platform never touched the bad code because it is built completely off GitHub with dedicated CI, signing keys, IP allowlisting, ZTNA, and a lagged gated fork. On the customer side, workflows pinned to full 40-character commit SHAs rather than mutable version tags never pulled the force-pushed commits, and trivy-action tag v0.35.0 escaped poisoning because it already pointed at 57a97c7e.

How to defend against this

Atomic token revocation

Revoke all service-account PATs, SSH keys, and active sessions atomically during incident response and migrate release bots to short-lived GitHub Apps.

Pin Actions by full SHA

Reference every third-party GitHub Action by its immutable 40-character commit SHA rather than mutable version tags (even releases showing an Immutable UI badge).

Restrict CI egress

Block arbitrary outbound egress from CI runners and alert immediately on /proc memory reads of Runner.Worker or unauthorized tpcp-docs repository creations.

check-unpinned-trivy-actions.sh

Find GitHub Actions workflows referencing Trivy by mutable tag instead of full 40-char commit SHA.

#!/usr/bin/env bashset -euo pipefailgrep -rnE "uses:\s*aquasecurity/(trivy-action|setup-trivy)@" .github/workflows/ \  | grep -vE "@[0-9a-f]{40}\b" \  && echo "WARN: Mutable Trivy Action tag found — pin to a verified 40-char commit SHA" \  || echo "Clean: no unpinned Trivy Action tags"

Appendix

Evidence log: what’s confirmed and what’s withheld5 claims
ClaimStatusSource
A late-February GitHub Actions misconfiguration exposed a privileged token; Aqua’s March 1 credential rotation was incomplete, leaving residual access open to TeamPCPConfirmedAqua Security Investigation Update, Apr 1, 2026
Starting 17:43 UTC on March 19, 2026, attackers force-pushed 76 of 77 tags in aquasecurity/trivy-action, all 7 tags in setup-trivy, and released tampered Trivy v0.69.4 (followed by Docker Hub 0.69.5 and 0.69.6 on March 22 at ~16:00 UTC)ConfirmedAqua Security Advisory (Apr 1, 2026) and GHSA-92x9-889m-jgmw
The 204-line entrypoint.sh (SHA-256 18a24f83...) dumped Runner.Worker /proc memory on GitHub runners, swept 50+ credential paths, encrypted tpcp.tar.gz, and posted to scan.aquasecurtiy[.]org (45.148.10.212) or a fallback tpcp-docs repoConfirmedAqua Security Technical Analysis, Apr 1, 2026
Developer hosts running Trivy v0.69.4 outside GitHub Actions received a persistent systemd dropper at ~/.config/systemd/user/sysmon.py polling ICP canister tdtqy-oyaaa-aaaae-af2dq-cai.raw.icp0.ioConfirmedAqua Security Technical Analysis, Apr 1, 2026
Aqua Security’s commercial platform (off-GitHub, isolated CI, lagged gated fork) and trivy-action tag v0.35.0 were unaffectedConfirmedAqua Security Advisory, Apr 1, 2026
Indicators of compromise5 indicators
  • scan.aquasecurtiy[.]org

  • 45.148.10.212

  • 18a24f83e807479438dcab7a1804c51a00dafc1d526698a66e0640d1e5dd671a

  • tpcp-docs

  • ~/.config/systemd/user/sysmon.py

Reproduction labShell verification script, MIT license

Scan your repositories for unpinned aquasecurity Action tags and check Linux developer hosts for the ~/.config/systemd/user/sysmon.py persistence dropper.

Safety note: Read-only workflow grep and local file check.

bash check-unpinned-trivy-actions.sh
ls -la ~/.config/systemd/user/sysmon.py 2>/dev/null || echo "Clean: no sysmon.py dropper"
Aqua Security Trivy: an incomplete token rotation let TeamPCP poison 76 of 77 GitHub Action tags | breachidents