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.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
8 events from the most recent confirmed update back to the earliest known activity.
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.
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.
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.
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.
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.
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.
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.
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.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
4 references tracked. Mallory keeps watching after this page renders.
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
techjacksolutions.com
Open sourceThreat Actors Exploit OpenVSX Aqua Trivy with Malicious AI Prompts to Hijack Local Coding Tools
cybersecuritynews.com
Open sourceCyberattackers Exploit OpenVSX Aqua Trivy with Malicious AI Prompts to Hijack Coding Tools
gbhackers.com
Open sourcehackerbot-claw: GitHub Actions pull_request_target RCE - Upwind
upwind.io
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


