Cyber Security News

Microsoft Unveils New Guidance to Detect and Defend Against Trivy Supply Chain Attack

Aqua Security’s vulnerability scanner, Trivy, suffered a sophisticated CI/CD supply chain compromise.

The threat actor, identified as TeamPCP, leveraged prior incomplete remediation to inject credential-stealing malware into official releases.

This incident, tracked as CVE-2026-33634, successfully weaponized a trusted security tool against the organizations relying on it to stay safe.

This visualizes the attack propagation timeline and workflow compromise. The TeamPCP campaign executed its strike by abusing standard Git design features, specifically mutable tags and self-declared commit identities.

The attackers force-pushed malicious commits to 76 of 77 version tags in the trivy-action repository and all seven tags in the setup-trivy repository.

Consequently, downstream CI/CD workflows executed attacker-controlled code without altering visible release metadata.

Simultaneously, an infected Trivy binary was published to official GitHub Releases and container registries.

To maintain stealth, the malware allowed the legitimate Trivy scan to complete successfully after exfiltrating data, masking the breach from operators.

The activity has expanded to other frameworks, including Checkmarx KICS and LiteLLM.

Malware Features and Exploitation

Upon execution in a GitHub Actions runner, the Python-based payload conducts process discovery to locate runner processes carrying secrets.

Key credential harvesting features include:

  • Cloud Credentials: Targets AWS metadata endpoints, GCP service account keys, and Azure environment variables.
  • Kubernetes Secrets: Enumerates and extracts mounted service-account files and cluster secrets.
  • Application Tokens: Performs recursive filesystem searches for API keys in configuration files and developer webhooks.
  • Infrastructure Access: Extracts WireGuard VPN configurations, SSH authentication logs, and connection strings for databases.

Stolen data is encrypted using an AES-256-CBC and RSA scheme, bundled into an archive, and exfiltrated to a typosquatted domain.

Mitigation and Defender Guidance

Microsoft Defender XDR provides comprehensive coverage across endpoints, identities, and cloud environments to detect this threat.

Defender can identify secret reconnaissance, malicious metadata access, and suspicious DNS queries directed at the TeamPCP command-and-control infrastructure.

Security teams can further assess potential blast radiuses using advanced hunting queries to track compromised installations and data exfiltration events.

To defend against this attack, update software to verified safe versions:

ComponentSafe VersionCompromised Version
Trivy binaryv0.69.2 – v0.69.3v0.69.4
trivy-actionv0.35.0Mutated Tags
setup-trivyv0.2.6Mutated Tags

Additional preventative measures include:

  • Pinning all third-party GitHub Actions to immutable commit SHAs rather than vulnerable version tags.
  • Applying least privilege principles by minimizing the scope of GITHUB_TOKEN permissions and avoiding unnecessary write access.
  • Eliminating implicit secret exposure by utilizing dedicated secret managers instead of static environment variables.
  • Reducing lateral movement risks through continuous attack path analysis, enabling teams to proactively rotate credentials.

Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

OpenSSH sshole Flaw Allows Hackers to Log Into Password-Disabled Linux Accounts Using 257-Character Passwords

A decade-old authentication bypass in OpenSSH on musl-based Linux lets attackers log into accounts that…

2 minutes ago

New GhostMap Android Vulnerability Can Crash Phones Permanently Without Opening an App or Granting Permissions

Bitdefender researchers have revealed a vulnerability called GhostMap that affects Android devices. This vulnerability can…

12 minutes ago

Microsoft Paint Vulnerability Allows Hackers to Execute Malicious Code Remotely Without User Interaction

Microsoft has announced a vulnerability in Windows Paint that could let unauthenticated attackers execute malicious…

35 minutes ago

ARTEX AI Framework Linked to Bank Breaches and Cloud Attacks Found Exposed Across Hundreds of Servers

An autonomous penetration-testing framework linked to South Korean banking breaches and cloud supply-chain attacks is…

1 hour ago

Shopify Makes IP Allowlisting Mandatory for All Public Apps to Prevent Stolen API Token Abuse

Shopify is making IP allowlisting mandatory for all public apps to limit abuse of stolen…

1 hour ago

OpenAI’s New GPT-6 Cyber Finds 81 High-Severity Firefox Vulnerabilities and 948 Linux Kernel Exploits

OpenAI has introduced GPT-6 Cyber, a security-focused model built to find and validate exploitable vulnerabilities…

1 hour ago