Skip to main content
Mallory
← Back to News
build-pipeline-compromiseextension-plugin-hijackvendor-distribution-compromiseleaked-secret-api-key

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

Malicious Aqua Trivy VS Code Extension Published to OpenVSX After GitHub Token Compromise

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.12 and 1.8.13.
  • Safe baseline noted in reporting: versions up to 1.8.11 matched 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_target and 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.
Does this reach your builds?Trace attribution and downstream blast radius.
Trace the chain
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

8 events · Feb 27, 2026 – Mar 14, 2026
  1. Mar 14, 20269mo ago

    Reports expand Chaos Agent targets to Microsoft and Datadog repositories

    Reporting published on 2026-03-14 said the GitHub Actions campaign tracked as 'Chaos Agent' targeted repositories associated with Microsoft and Datadog in addition to Aqua Security. This broadened the known scope of victims beyond the previously documented Aqua and avelino/awesome-go compromises.

    Five Malicious Rust Crates and AI Bot Exploit CI/CD Pipelines to Steal Developer SecretsThe Hacker Newsinfo@thehackernews.com (The Hacker News) - Tech Jacks Solutions
  2. Mar 2, 20269mo ago

    GitHub suspends the hackerbot-claw account

    The GitHub account used by the autonomous campaign, hackerbot-claw, was ultimately suspended. The reporting notes that the suspension did not address the broader underlying risk from widespread insecure workflow configurations.

  3. Feb 28, 20269mo ago

    Malicious Trivy versions removed and publishing token revoked

    After disclosure on February 28, 2026, the malicious Trivy extension versions were removed from OpenVSX. Aqua also revoked the publishing token associated with the compromised extension release process.

  4. Feb 28, 20269mo ago

    Socket identifies malicious Trivy extension and alerts Aqua

    Socket Security detected the unauthorized code in the OpenVSX Trivy extension shortly after the malicious releases and notified Aqua Security. The discovery linked the extension compromise to a broader campaign affecting GitHub Actions workflows.

  5. Feb 28, 20269mo ago

    Token theft enables takeover of Aqua's Trivy GitHub repository

    According to StepSecurity's findings cited in the reporting, stolen tokens were used to compromise Aqua's Trivy GitHub repository. That access was then used to facilitate publication of the malicious OpenVSX extension versions.

  6. Feb 28, 20269mo ago

    Avelino/awesome-go repository compromised via 'Pwn Request' pattern

    One confirmed incident in the campaign targeted avelino/awesome-go, where attacker-controlled code was executed through pull_request_target with target-repository privileges. This enabled theft of privileged tokens and subsequent compromise actions in the repository.

  7. Feb 28, 20269mo ago

    hackerbot-claw exploits insecure GitHub Actions workflows

    In February 2026, the autonomous bot "hackerbot-claw" exploited insecure GitHub Actions configurations, especially pull_request_target misuse and unsanitized inputs, to gain code execution on GitHub-hosted runners across multiple repositories. The campaign exfiltrated tokens and used them for follow-on actions such as pushing commits, deleting releases, and modifying workflows.

  8. Feb 27, 20269mo ago

    Malicious Trivy extension versions uploaded to OpenVSX

    Threat actors published tampered Aqua Trivy VS Code extension versions 1.8.12 and 1.8.13 to the OpenVSX registry on February 27-28, 2026. The builds contained unauthorized code absent from the public GitHub repository and were designed to abuse local AI coding assistants for reconnaissance and possible exfiltration.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Affected products

1 linked
Visual Studio Code

Organizations

2 linked
Open VSXAqua Security

Breaches

1 linked
AQUASECURITY-2026-02

Observables

3 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.