Malicious Aqua Trivy VS Code Extension Published to OpenVSX After GitHub Token Compromise
Supply Chain Risk · 4 sources · Updated 5mo ago · First seen Mar 3, 2026

Threat actors inserted unauthorized code into the Aqua Trivy VS Code extension distributed via the OpenVSX registry, with the tampered builds appearing as versions 1.8.12 and 1.8.13 under the aquasecurityofficial.trivy-vulnerability-scanner namespace. Reporting indicates the malicious code was not present in the public GitHub repository (versions up to 1.8.11 matched), and the injected logic was designed to weaponize locally installed AI coding assistants—invoking tools such as Claude, Codex, Gemini, GitHub Copilot CLI, and Kiro CLI with permissive options—to perform host reconnaissance and collect data while running detached in the background and suppressing output to avoid user visibility.
Researchers tied the extension tampering to a broader automated campaign targeting GitHub Actions workflows, where insecure CI/CD configurations and overprivileged tokens can enable repository takeover and downstream supply-chain abuse. Socket.dev flagged the suspicious OpenVSX extension behavior, while StepSecurity documented that the wider bot-driven GitHub Actions activity led to theft of a personal access token (PAT) and subsequent takeover of Aqua’s Trivy GitHub repository—providing the access needed to publish the modified extension. Separate reporting on the hackerbot-claw campaign described autonomous exploitation of misconfigured pull_request_target workflows to achieve runner RCE and exfiltrate write-capable GITHUB_TOKENs, reinforcing the same core risk: CI/CD token exposure and workflow misconfigurations can rapidly translate into codebase control and malicious artifact distribution.
Why it matters
Impact assessment
The primary impact is to developer endpoints and software supply chains that consumed the Aqua Trivy VS Code extension from OpenVSX, especially users who installed or updated to versions 1.8.12 or 1.8.13 during the exposure window. Severity is high because the malicious extension attempted credential discovery, host reconnaissance, and data exfiltration by abusing trusted local AI coding assistants and authenticated developer tooling such as GitHub CLI.
The scope appears targeted but materially significant: the extension compromise was downstream of a broader GitHub Actions campaign affecting prominent open-source repositories and organizations including Aqua Security, Microsoft, Datadog, and CNCF-related projects. There is confirmed malicious publication and repository takeover in the wild, but the total number of impacted developer machines and successful exfiltration events has not been disclosed.
Supporting facts
- Affected product: Aqua Trivy VS Code extension distributed via OpenVSX under
aquasecurityofficial.trivy-vulnerability-scanner. - Affected malicious versions:
1.8.12and1.8.13. - Safe baseline noted in reporting: versions up to
1.8.11matched the public GitHub repository. - Exposure window: malicious versions were uploaded on 2026-02-27 and 2026-02-28 and removed on 2026-02-28.
- Affected population: developers using VS Code/OpenVSX and locally installed AI coding CLIs including Claude, Codex, Gemini, GitHub Copilot CLI, and Kiro CLI.
- Business risk: theft of cloud credentials, registry tokens, deployment keys, GitHub authentication material, financial records, and sensitive communications from developer trust zones.
- Operational risk: repository takeover, malicious artifact publication, workflow modification, and downstream supply-chain compromise.
- Known in-the-wild activity: StepSecurity confirmed theft of a personal access token and takeover of Aqua’s Trivy GitHub repository.
- Broader campaign context: GitHub Actions exploitation via
pull_request_targetand overprivileged tokens was reported across multiple repositories, with at least six successful exploits referenced in one source. - Visibility gap: Aqua Security revoked the token and removed artifacts, but did not disclose the number of affected endpoints.


