Compromised scanner releases and GitHub Actions put build credentials and deployment access at risk
Executive summary
Aqua disclosed a follow-on Trivy supply-chain compromise on 20 March after malicious releases and altered GitHub Actions appeared on 19 March. It followed an earlier credential compromise disclosed on 1 March. The March 19–23 distribution incident affected scanner binaries, GitHub Actions, and Docker images; Aqua published its investigation conclusion on 30 March. [1] [3]
Trivy often runs inside build and release pipelines with access to repository tokens, cloud credentials, registries, and deployment secrets. Malicious scanner code can steal those credentials and use the runner’s permissions to alter or publish software. Investigate artifacts produced by affected jobs as well as the runner itself; their exposure depends on what the job could access and change.
Recommended action: Pause jobs using affected references, preserve their logs and resolved commits or image digests, and identify which jobs executed malicious content. Isolate compromised runners and revoke exposed credentials from a clean environment.
Affected systems and versions
| Product or artifact | Affected release or reference | Containment fallback |
|---|---|---|
| Trivy executable | Malicious 0.69.4 release | Verified 0.69.3. [1] [2] |
aquasecurity/trivy-action | Altered mutable tags; check the commit resolved by each job | Verified 0.35.0 reference. [1] |
aquasecurity/setup-trivy | Altered mutable tags; check the commit resolved by each job | Verified 0.2.6 reference. [1] |
Docker Hub aquasec/trivy | Malicious 0.69.4, 0.69.5, 0.69.6 and affected latest references | Verified 0.69.3; compare acquired images with the digests below. [2] |
Check internal mirrors, runner caches, copied binaries, and images derived from these artifacts. Removing a release upstream does not remove those copies. Finding a malicious image in a cache establishes that it was acquired; job or runtime records are needed to determine whether it executed. Execution requires incident response, including a review of credentials available to the job.
Recommended actions
- Freeze affected scanner references and identify the pipeline owners who can authorize safe replacements. Preserve evidence before clearing caches.
- Collect resolved Action commits, container digests, job timestamps, downloaded binaries, runner IDs, environment configuration, and registry audit events.
- Isolate runners that executed affected content. For shared runners, determine which subsequent jobs used the same host or workspace.
- List secrets available to the job, including automatically supplied tokens and workload identities. Coordinate revocation with the cloud, identity, repository, and registry owners.
Trace affected jobs into image pushes, package publications, infrastructure changes, and deployments. Review the permissions that were available at execution time, not only the permissions currently assigned. A token removed from a workflow later may already have been copied. Rebuild through a clean runner and a verified scanner reference; quarantine old caches so a retry cannot reintroduce the payload.
Finding and prioritizing affected systems with Tonic
Use Tonic’s connected repository, workload, cloud, and ownership records to trace affected scanner jobs to the services they build and the teams that operate them. Prioritize release pipelines with production deployment or package-publishing permissions. Group jobs that share a runner or poisoned base image so the platform team can replace the shared component and verify every consumer.
Technical analysis
Why tags and current versions are insufficient
Aqua describes residual credential access after the earlier incident and the use of trusted distribution channels in the follow-on attack. [3] A mutable Action tag can resolve to different code without a YAML change. Check the commit recorded when each job ran. Pinning a digest prevents later reference movement, but the selected content must first be verified.
Separate the distribution channels
Docker documents malicious images over 19–23 March, distinct digests for the three affected numbered tags, and 0.69.3 as the last known clean release for this incident. [2] Binary downloads, Action tags, and Docker images have different exposure windows. Record the acquisition channel, download or pull time, resolved content, execution time, and accessible secrets for each affected job.
When the scanner can control its host
A Docker socket mounted into the scanner can give it control over the host daemon. Docker advises treating the host as compromised when an affected image ran with the socket mounted. [2] Check volume mounts, runner privileges, cloud roles, and network access when determining how far the attacker could have reached.
Detection and investigation
Match the artifact hashes and indicators in Aqua’s report to the channel and job that used them. Shared GitHub or hosting infrastructure is too broad to block on its own. Current tags may have changed since containment, so use historical job records and preserve centralized logs when short-lived runners have already disappeared.
- Workflow and runner records: Affected references resolved during the incident; unexpected outbound requests or secret-reading behavior. Match the executed commit or digest. A workflow containing the word Trivy establishes relevance only.
- Network telemetry: scan[.]aquasecurtiy[.]org and 45.148.10[.]212 reported by maintainers. Correlate destination, process, job, and time. A blocked request is not proof of completed exfiltration.
- Cloud and source-control audit: Unexpected role assumptions, token use, workflow changes, new releases or registry pushes. Bind activity to identities available to the affected runner; investigate downstream trust changes.
Correlate events using their original timestamps and time zones. Check log coverage and retention before interpreting a search with no results.
Remediation and verification
The maintainer names Trivy 0.69.3, trivy-action 0.35.0, and setup-trivy 0.2.6 as containment fallbacks outside the identified compromise. Verify the complete commit or digest before use and assess unrelated vulnerabilities separately. [1] Revoke exposed credentials promptly from a clean environment, even if a replacement runner is not yet ready. Issue new credentials only to rebuilt, trusted runners.
Verify the result
- Every affected pipeline has an execution determination based on resolved content, not its present tag.
- Poisoned mirrors, cached Actions, copied binaries, and derived images are quarantined or replaced.
- Every exposed credential or session has a revocation record and its downstream use has been reviewed.
Preventing recurrence
Pin verified Action commits and image digests, reduce the secrets and publishing permissions available to scanner jobs, and avoid mounting the Docker socket where it is unnecessary. Keep resolved artifacts and job records long enough to investigate short-lived runners. Review mirrors and rebuild templates so a retry cannot restore compromised content.
Affected Docker Hub image digests
Docker reports an acquisition interval spanning 19 March 18:24 UTC to 23 March 01:36 UTC across the affected numbered images and moving latest tag. Individual tags were not necessarily malicious throughout that whole interval. Compare images acquired during the incident with these reported digests, then trace whether matching content executed. [2]
| Tag reported by Docker | Reported SHA-256 digest |
|---|---|
| 0.69.4 | 27f446230c60bbf0b70e008db798bd4f33b7826f9f76f756606f5417100beef3 |
| 0.69.5 | 5aaa1d7cfa9ca4649d6ffad165435c519dc836fa6e21b729a2174ad10b057d2b |
| 0.69.6 | 425cd3e1a2846ac73944e891250377d2b03653e6f028833e30fc00c1abbc6d33 |
Runtime platforms can expose a platform-manifest digest rather than the top-level image reference. Resolve the relationship before treating a different-looking digest as a clean result. Obtain full image manifests through the registry operator; the three values above do not cover every Action, binary, or customer-derived image.
Sources
- Aqua maintainer incident announcement — 20 March 2026. First published 20 March and updated during the response; the March 23 Docker report and March 30 conclusion corroborate the chronology.
- Docker distribution-channel investigation — 23 March 2026. Malicious Docker images, reported digests, and host-access implications.
- Aqua maintainer investigation conclusion — 30 March 2026. Investigation of the follow-on compromise, credential containment, and release hardening.