AI Toolkit · For engineers
Trivy supply chain attack: EU Commission breach and LiteLLM
Trivy, a free scanner, shipped poisoned releases in March 2026. CERT-EU ties it to the EU Commission breach; LiteLLM believes it caused its bad releases. What is confirmed, assessed and unknown.
Short answer Trivy, a build-pipeline scanner, was poisoned in March 2026 and stole secrets. CERT-EU, the EU’s security team, assesses it led to a European Commission cloud breach. LiteLLM, a library, believes it caused its bad releases. If you ran either in March, rotate every secret that machine could read.
At 18:22 UTC on 19 March 2026, a new release of Trivy, a free scanner that runs inside software build pipelines, started stealing the passwords and keys it was meant to protect. A pipeline is the automated machinery that builds and deploys code, so a tool inside it sees its secrets.
What is confirmed, assessed and believed differs here. Confirmed by Aqua, the company behind Trivy: the poisoning and what the stealer did. Assessed with high confidence by the European Commission and CERT-EU, the EU institutions’ cyber-security team: that it led to a breach of the Commission’s cloud hosting for europa.eu websites. Believed but unconfirmed by LiteLLM, a Python library that lets one app talk to many AI model providers: that the same compromise let attackers publish two poisoned releases on 24 March. We found no published trace that proves the LiteLLM link; LiteLLM calls it a belief.
If your builds ran Trivy between 19 and 23 March, or you installed LiteLLM 1.82.7 or 1.82.8 on 24 March, treat every secret that machine could read as exposed and rotate it. A newer Trivy does not un-steal a key.
The scanner that ran before the scan
Aqua published an advisory (CVE-2026-33634) on 21 March, and says the incident continues an attack that began in late February. Trivy v0.69.4 was live from 18:22 UTC on 19 March for about three hours. The trivy-action tags, the GitHub Action most pipelines use to run it, were poisoned for about 12 hours, and setup-trivy for about four. Two more bad Docker Hub images, v0.69.5 and v0.69.6, went up from 15:43 UTC on 22 March for about ten hours. Aqua also lists the latest tag pulled during the first window and a custom Trivy Homebrew tapSource 1.
The poisoned action ran extra code before the real scan. It dumped the CI runner’s memory, searched more than 50 locations for SSH keys, cloud and Kubernetes credentials and .env files, encrypted the haul and sent it outSource 1.
Not affected, per Aqua: v0.69.3 and earlier, images referenced by digest, and binaries built from sourceSource 1. The digest case matters. A tag such as v0.34.0 can be moved by whoever holds the repository; a hash cannot.
What CERT-EU says happened at the Commission
CERT-EU published its analysis on 2 April. It and the Commission assess with high confidence that Trivy was the way in, based on matching timing, the targeting of AWS credentials, and the Commission running a compromised Trivy that arrived through its normal update channel. The attacker got an AWS API key (a long-lived cloud password) with management rights over other Commission AWS accounts on 19 MarchSource 2. That is an assessment from timing and targeting, not a published trace of the key leaving a pipeline. CERT-EU says Aqua publicly attributed the compromise to a group called TeamPCPSource 2; we did not read that Aqua post, and the advisory does not name the group.
What the attacker did next is a checklist for your own logs. They ran TruffleHog, an open-source secret scanner, to find more credentials, checked them through the AWS token service (STS), and attached a new access key to an existing user so a fresh user would not stand outSource 2.
The Commission’s security centre got alerts about possible AWS API misuse on 24 March. The Commission announced the incident on 27 March, and the extortion group ShinyHunters published the data on 28 MarchSource 2.
The dataset ShinyHunters published, which CERT-EU analysed, was about 91.7 GB compressed (340 GB uncompressed) from the europa.eu hosting platform, covering up to 71 clients, 42 of them Commission and at least 29 other EU bodies. It included names, usernames and email addresses, and at least 51,992 outbound-email files (2.22 GB), mostly automated notices, though bounce messages can carry what users typedSource 2. ShinyHunters’ own descriptions of what it holds are claims, not findings.
The limits matter, and most coverage drops them. CERT-EU has found no movement into other Commission AWS accounts as of its 2 April post, no website was taken offline or altered, and the Commission said internal systems were unaffectedSource 2. Database analysis was still under way when CERT-EU wrote, so the picture can change.
LiteLLM: five days later, bad releases on PyPI
On 24 March at 10:39 UTC, LiteLLM versions 1.82.7 and 1.82.8 appeared on PyPI, Python’s public package index. PyPI quarantined them after about 40 minutesSource 3. Version 1.82.8 also added a litellm_init.pth file. Our explanation: Python loads such files at start-up, so the code could run without the app ever importing LiteLLM.
The payload collected environment variables, SSH keys, cloud credentials, Kubernetes tokens and database passwords and sent them to models.litellm.cloud, which is not an official LiteLLM domain. The official Docker image, LiteLLM Cloud and installs from GitHub source were not affectedSource 3.
How the packages got there is the honest gap. LiteLLM’s update says initial evidence suggests the attacker bypassed its normal CI/CD and uploaded straight to PyPI. It believes the compromise began with the Trivy dependency in its security scanning. It says a maintainer’s PyPI account may have been compromised, and that stolen credentials were reportedly used on its publishing pipeline. It does not say which credential, or how it was taken, and it calls the investigation ongoingSource 3. The link to Trivy is LiteLLM’s belief, not a proven chain. Neither CERT-EU nor Aqua’s advisory mentions LiteLLM, and LiteLLM’s page names no group, so the only thing we can say the two incidents share is Trivy, and for LiteLLM that is a belief.
Two numbers on LiteLLM’s page look different but measure different things. About 40 minutes is how long the packages were live before quarantine. The page’s list of who is affected runs from 10:39 to 16:00 UTC, our reading is that caches and mirrors can keep serving a package after quarantine. The rule that follows: check anything installed on 24 March between 10:39 and 16:00 UTCSource 3. That includes an unpinned pip install litellm in a Docker build and a transitive dependency pulled in by an agent framework or an MCP server.
LiteLLM then paused releases, rotated maintainer credentials, brought in Mandiant for forensics, and on 30 March shipped a clean v1.83.0 through a rebuilt pipeline, with Docker images signed with cosign from v1.83.0-nightly onwardsSource 3.

Image description
Title: One poisoned scanner, two incidents tied to it, March 2026. Three lanes on a 19 to 31 March axis. Trivy lane: 19 March from 18:22 UTC, Trivy v0.69.4 released with a credential stealer, trivy-action tags poisoned for about 12 hours; 22 March 15:43 UTC, Docker Hub v0.69.5 and v0.69.6 pushed. European Commission lane (per CERT-EU): 19 March, AWS key obtained (CERT-EU assessment: via Trivy); 24 March, Commission alerts and response starts; 27 and 28 March, press release and ShinyHunters publishes the data. LiteLLM lane (LiteLLM says: Trivy): 24 March 10:39 UTC, LiteLLM 1.82.7 and 1.82.8 on PyPI for about 40 minutes; 30 March, clean v1.83.0 shipped. Sources: Aqua Security advisory GHSA-69fq-xp46-6x23; CERT-EU, 2 April 2026; LiteLLM security update.
Check your own pipelines for these dates
Start with whether you ran the bad artifacts at all. Search CI logs from 19 and 20 March for Trivy v0.69.4, for latest pulled in that window, and for trivy-action and setup-trivy by tag; search Docker pulls of v0.69.5 or v0.69.6 on 22 and 23 March; and check the custom Homebrew tap. brew install trivy uses the official formula, which builds from source and was not affectedSource 1. Aqua also suggests searching your GitHub organization for a repository named tpcp-docs. It appears only when the normal upload failed and a GitHub token was set, so a clean search is not an all-clearSource 1.
For LiteLLM, run pip show litellm in every environment and image, and look in site-packages for litellm_init.pth. LiteLLM says to pin to 1.82.6 or earlier, or a later verified release, and to watch for outbound traffic to models.litellm.cloud and checkmarx[.]zone, which is not LiteLLM’sSource 3.
If either shows up, rotate in one pass, not one key at a time. Aqua says an earlier rotation was not atomic, which could have let the attacker keep a valid token and take the new secretsSource 1. The Commission case shows why: the attacker attached a new key to an existing user, so replacing only the stolen key leaves a second one workingSource 2.
Our order of work, from experience rather than a source: deactivate (do not delete) the exposed keys straight away; deactivation keeps the evidence. In parallel, export your CloudTrail events (AWS’s log of who did what in an account). Then list the access keys of every IAM user, not only the exposed one, and note any you did not create. Look for users, roles or trust-policy changes you did not make, and revoke active sessions for the exposed principal, since temporary sessions outlive a deactivated key. Delete keys only after you have recorded who created them. If you find a tpcp-docs repository, it is public: export it, then make it private or delete it at once, since everything in it is already exposed. On a LiteLLM host, copy litellm_init.pth and the logs somewhere safe, as LiteLLM advises preserving artifacts for forensicsSource 3, then rebuild the machine rather than clean it. CERT-EU’s list of what to look for is odd STS calls, TruffleHog-style enumeration and new keys on existing usersSource 2.
What to change so the next poisoned tool costs you less
CERT-EU’s advice is to pin GitHub Actions to full SHA hashes instead of tags, keep an inventory of what runs in your pipelines, verify signatures on tool updates and scope pipeline credentials to the minimumSource 2. Aqua adds that you can verify its binaries with cosign signatures.
Pinning has traps. Aqua says an old commit pin of trivy-action still pulled a malicious setup-trivySource 1, and a hash you looked up during the bad window would pin the malware. Pin to a SHA you have checked against a known-good release, and let Renovate or Dependabot propose updates so the pin does not go stale. Aqua’s safe targets are Trivy v0.69.2 or v0.69.3, trivy-action v0.35.0 and setup-trivy v0.2.6Source 1.
Our view: a scanner that reads the pipeline’s secrets is as privileged as the pipeline, so treat its updates like production deploys. Give the scan job a read-only token and no cloud keys, and give the job that publishes a package or touches AWS no third-party actions at all. A scan step that saw nothing worth stealing would have turned 19 March into an advisory, not an incident.
Pinned hashes need updating and a scanner with no cloud access needs its own registry credential; both cost less than rotating everything.
- Find Trivy v0.69.4, latest, trivy-action and setup-trivy runs from 19 and 20 March And Docker pulls of v0.69.5 or v0.69.6 on 22 and 23 March, and the custom Homebrew tap.
- Run pip show litellm everywhere Versions 1.82.7 and 1.82.8 are bad; look for litellm_init.pth.
- Rotate every secret those jobs or hosts could read, in one pass Deactivate first, export logs in parallel, delete last; check every IAM user, role and session.
- Pin GitHub Actions to full commit SHAs you have checked Tags move; hashes do not. Let Renovate or Dependabot propose updates.
- Take cloud and publish credentials out of scan jobs Give each job only the token its work needs.
Next step
Get new posts as they come out
Every new post, in plain English and in depth. Follow the RSS feed.
Sources
- Aqua Security advisory GHSA-69fq-xp46-6x23 (CVE-2026-33634): Trivy supply chain compromise (published 21 Mar 2026). Retrieved . ↩ ↩ ↩ ↩ ↩ ↩ ↩ ↩
- CERT-EU: European Commission cloud breach through the Trivy supply-chain compromise (2 Apr 2026). Retrieved . ↩ ↩ ↩ ↩ ↩ ↩ ↩ ↩ ↩
- LiteLLM: Security Update, Suspected Supply Chain Incident (March 2026). Retrieved . ↩ ↩ ↩ ↩ ↩ ↩ ↩