Trivy GitHub Actions Tags Hijacked to Deliver Infostealer Targeting CI/CD Secrets

· Original article ↗

Summary

Attackers force-pushed 75 trivy-action tags and seven setup-trivy tags with a Python infostealer targeting CI/CD secrets. The incident followed an earlier Trivy compromise; possible TeamPCP involvement remains unconfirmed.

Key points

  • Researchers reported that attackers force-pushed 75 version tags in aquasecurity/trivy-action and seven in aquasecurity/setup-trivy to point to malicious commits.
  • The Python payload runs on GitHub Actions runners and targets environment variables, credentials, SSH keys, cloud tokens, and cryptocurrency wallet data.
  • The payload attempts to send collected data to scan.aquasecurtiy[.]org; if that fails, it can use a captured GitHub PAT to stage data in a public tpcp-docs repository.
  • Wiz reported that Trivy version 0.69.4 launched both the legitimate service and malicious code, which can also establish persistence with a systemd service on developer machines.
  • Aqua Security said the latest incident followed incomplete containment of an earlier hackerbot-claw compromise; the credential used to rewrite tags remains unclear.
  • TeamPCP involvement is possible but unconfirmed. Researchers cited a self-label in the payload and technical overlap, while noting the label could be a false flag.
  • Aqua Security advised rotating pipeline secrets if a compromised version may have run. Other guidance includes pinning GitHub Actions to full commit hashes and checking for tpcp-docs repositories.

Article Details

Victim Organization
Aqua Security
Incident Type
Software supply-chain compromise involving malicious GitHub Actions tags and releases that delivered an infostealer targeting CI/CD secrets.
Data Types Exposed
  • CI/CD environment variables and credentials
  • SSH keys
  • Cloud service credentials and tokens
  • Database, Git, Docker, and Kubernetes credentials
  • Cryptocurrency wallet data
Affected Records
Unknown
Affected Data Size
Unknown
Operational Impact
Attackers force-pushed 75 version tags in aquasecurity/trivy-action and seven tags in aquasecurity/setup-trivy to point to malicious commits. A malicious Python infostealer ran in GitHub Actions runners and was designed to harvest secrets, encrypt them, and exfiltrate them. It could also establish persistence with a systemd service on a developer machine. Successful data theft or the number of affected users or repositories was not established in the article.
Ransom Or Extortion
No ransom demand or extortion activity tied to this incident was reported. The article describes data theft; its reference to extortion concerns the suspected group's broader activity.
Claim Status
confirmed

Indicators of compromise

TypeIndicatorContext
DOMAINscan[.]aquasecurtiy[.]orgAttacker-controlled server identified as the infostealer's data-exfiltration destination.
IPV445[.]148[.]10[.]212IP address associated with the exfiltration domain; recommended by the source for network blocking.

MITRE ATT&CK

People

Threat Actors

Vendors

Products

Related Articles