Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons

Social Media

Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons
Search the Site
Popular Searches:
technology Amazon AI
Recent Posts
Critical VS Code Evil Twin Extensions Expose Git and CI Data
August 5, 2026
New Phishing-as-a-Service Kits Bypass MFA to Steal Microsoft 365 Logins
August 5, 2026
Critical TP-Link Omada ZTP Flaws Let Attackers Hijack Routers, Execute Root Code
August 5, 2026
Home/Threats/Critical VS Code Bug Lets Attackers Steal Source Code and Secrets
Threats

Critical VS Code Bug Lets Attackers Steal Source Code and Secrets

Key Takeaways A critical supply chain attack impacted millions of developers via a poisoned VS Code extension and malicious GitHub commits. The compromised Nx Console VS Code extension (v18.95.0) led...

Marcus Rodriguez
Marcus Rodriguez
May 29, 2026 4 Min Read
60 0

Key Takeaways

  • A critical supply chain attack impacted millions of developers via a poisoned VS Code extension and malicious GitHub commits.
  • The compromised Nx Console VS Code extension (v18.95.0) led to the exfiltration of sensitive data, including GitHub source code, from affected machines.
  • A second, parallel campaign dubbed “Megalodon” injected malicious GitHub Actions workflows into thousands of public repositories to steal CI/CD secrets and cloud credentials.
  • CISA has issued an alert, assigned CVE-2026-48027, and added the vulnerability to its Known Exploited Vulnerabilities catalog.
  • Organizations that used the compromised extension or have suspicious workflow changes must assume full compromise and take immediate remediation steps.

The cybersecurity landscape for software developers has been significantly disrupted by sophisticated supply chain attacks leveraging widely-used development tools. Threat actors have successfully exploited these trusted environments to steal sensitive source code, cloud tokens, and various credentials, putting millions of developers at risk.

Table Of Content

  • Key Takeaways
  • Two Interconnected Campaigns Unveiled
  • VS Code Extension Compromise (CVE-2026-48027)
  • Megalodon’s Mass Repository Backdooring
  • Attackers Abuse Trusted Developer Tooling
  • Megalodon’s Mass Repository Backdooring
  • What You Should Do
  • Indicators of Compromise (IoCs)

What makes these campaigns particularly concerning is their ability to compromise the very systems developers rely on most: their integrated development environments (IDEs), automated continuous integration/continuous deployment (CI/CD) pipelines, and version control workflows. In some instances, malware was deployed to developer machines without requiring any direct action from the user, highlighting the insidious nature of these attacks. Further details can be found in a comprehensive report on the abuse of trusted developer tooling.

Two Interconnected Campaigns Unveiled

This multi-pronged attack unfolded through two distinct yet interconnected campaigns.

VS Code Extension Compromise (CVE-2026-48027)

The first campaign involved the compromise of the popular Nx Console VS Code extension. On May 18, 2026, a malicious version, 18.95.0, was published to the Visual Studio Code Marketplace. With over 2.2 million installations, the potential impact of this poisoned extension was vast. Notably, a GitHub employee’s device was among those compromised, resulting in the unauthorized access and exfiltration of approximately 3,800 internal GitHub source code repositories. The U.S. Cybersecurity and Infrastructure Security Agency (CISA) identified the full scope of this threat, issuing an urgent alert on May 28, 2026. CISA emphasized that threat actors were systematically targeting CI/CD pipelines, code extensions, and cloud environments. The malicious extension was assigned CVE-2026-48027 and added to CISA’s Known Exploited Vulnerabilities catalog. CISA, in a report shared with Cyber Security News (CSN), advised that any machine running the compromised extension should be considered fully compromised.

Megalodon’s Mass Repository Backdooring

Running concurrently, the second campaign, dubbed “Megalodon,” saw an automated attacker push an astonishing 5,718 malicious commits to 5,561 public GitHub repositories within a mere six-hour window on May 18, 2026. These injected GitHub Actions workflows were designed to harvest CI/CD secrets, cloud credentials, SSH keys, and OIDC tokens, transmitting all stolen data to a command-and-control server. Both campaigns underscore the increasing appeal of modern software delivery pipelines as high-value targets for threat actors seeking sensitive credentials.

Attackers Abuse Trusted Developer Tooling

The initial breach that enabled the VS Code extension compromise involved the theft of a contributor’s GitHub personal access token through a prior supply chain incident. This stolen token was then used to embed a hidden, obfuscated 498 KB JavaScript payload within an orphan commit in the official nrwl/nx GitHub repository. Subsequently, using stolen publishing credentials, the attackers published the malicious extension to the VS Code Marketplace, injecting 2,777 bytes of code into its primary file.

Once a developer opened a workspace with the compromised extension installed, the hidden payload was silently fetched and executed in the background. This payload deployed six distinct credential harvesting modules, targeting GitHub tokens, AWS credentials, HashiCorp Vault secrets, Kubernetes configurations, npm tokens, and 1Password vaults. Furthermore, it installed a Python backdoor on macOS systems. This backdoor utilized the GitHub Search API as a covert dead-drop mechanism to receive signed remote commands, making it exceptionally difficult to detect with conventional firewall monitoring.

Megalodon’s Mass Repository Backdooring

The Megalodon campaign adopted a different, yet equally destructive, strategy. Threat actors employed disposable GitHub accounts with fabricated author identities, such as build-bot and auto-ci, to push malicious workflow files. These files were disguised as routine CI maintenance commits, using deceptive workflow names like SysDiag and Optimize-Build to blend in with legitimate automation tasks, thereby evading casual review by developers.

The campaign utilized two payload variants. The “mass” variant introduced a new workflow that would trigger on every push and pull request. In contrast, the “targeted” variant replaced existing workflows with backdoors that attackers could activate on demand via the GitHub API. Notably, the npm package @tiledesk/tiledesk-server versions 2.18.6 through 2.18.12 contained the targeted variant, having been published by the legitimate maintainer from an already compromised repository without their knowledge.

What You Should Do

  • Audit GitHub Repositories: Immediately audit all workflow files for suspicious commits made after May 18, 2026, especially those authored by automated accounts like build-bot, auto-ci, ci-bot, or pipeline-bot.
  • Forensic Review: Conduct a comprehensive forensic review of CI/CD logs and cloud audit trails if your organization ran the compromised Nx Console extension or if unauthorized workflow changes are detected.
  • Rotate All Credentials: Assume full compromise and rotate all credentials accessible to your pipelines. This includes API keys, cloud provider tokens (AWS, GCP, Azure), SSH keys, Docker and Kubernetes tokens, and all developer secrets.
  • Update Nx Console: Ensure all instances of the Nx Console VS Code extension are updated to a safe version (e.g., v18.100.0 or later), or remove it if not actively used.
  • Implement Supply Chain Best Practices: Wait at least three hours before pulling new packages, pin dependencies to trusted versions, and strictly source packages from verified repositories.
  • Monitor for IoCs: Actively monitor your environment for the provided Indicators of Compromise (IoCs), including file hashes, Git SHAs, C2 IP addresses (216[.]126[.]225[.]129:8443), and specific file paths for the Python backdoor (e.g., ~/.local/share/kitty/cat.py on macOS/Linux).

Indicators of Compromise (IoCs)

Type Indicator Description
CVE CVE-2026-48027 Assigned to malicious Nx Console v18.95.0
Extension Version nrwl.angular-console v18.95.0 Compromised VS Code extension version
File Hash (SHA-256) 1a4afce34918bdc74ae3f31edaffffaa0ee074d83618f53edfd88137927340b8 Malicious VSIX package (v18.95.0) <a rel="noreferrer noopener" target="_blank" href="https://ppl-ai-file-upload.s3.amazonaws.com/web/direct-files/attachments/11146061/2a632335-0a49-4950-8c6b-47a399818389/Attackers-Abuse-Trusted-Developer-Tooling-to-Exfiltrate-Source-Code-and-Secrets.pdf?AWSAccessKeyId=ASIA2F3EMEYEWNZE3GE5&Signature=wg1PjtzvpF6PEddquLu4V41H%2BgE%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJIMEYCIQD5tS5sa6jQVxtISf560YUM69OWlrwnqoIvUiTPR9uPMwIhAN8%2F%2FP0GvPsNhdhlaCW36VoCXDS7e8E%2Fkbr7VhIr8T8zKvwECMf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEQARoMNjk5NzUzMzA5NzA1IgwDmYuVsqdaGBrkL6kq0ARfxGEv377zZPm%2FKbEFIO0%2BfKK%2BT1iCRmGCn1DVGiTzdyPv

Disclaimer: HackersRadar reports on cybersecurity threats and incidents for informational and awareness purposes only. We do not engage in hacking activities, data exfiltration, or the hosting or distribution of stolen or leaked information. All content is based on publicly available sources.

Tags:

AttackCVEExploitMalwareSecurityThreat

Share Article

Marcus Rodriguez

Marcus Rodriguez

Marcus is a security researcher and investigative journalist with expertise in vulnerability research, bug bounties, and cloud security. Since 2017, Marcus has been breaking stories on critical vulnerabilities affecting major platforms. His investigative work has led to the disclosure of numerous security flaws and improved defenses across the industry. Marcus is an active participant in bug bounty programs and has been recognized for responsible disclosure practices. He holds multiple security certifications and regularly speaks at industry events.

Previous Post

JINX-00164 Threat Actor Uses LinkedIn to Deploy macOS Malware

Next Post

Critical Palo Alto Networks PAN-OS Auth Bypass CVE-2024-3400 Exploited

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Posts
Critical ConnectWise ScreenConnect vulnerability allows macOS/Windows hijack
August 5, 2026
EtherRAT Spreads via Scheduled Tasks in Compromised Windows Domains
August 5, 2026
7-Zip Mark-of-the-Web Bypass Lets Malicious Files Evade Windows SmartScreen
August 5, 2026
Top Authors
Marcus Rodriguez
Marcus Rodriguez
Emy Elsamnoudy
Emy Elsamnoudy
Jennifer sherman
Jennifer sherman
Let's Connect
156k
2.25m
285k

Related Posts

Jennifer sherman
By Jennifer sherman
Threats

GlassWorm Attacks macOS via Malicious VS Code…

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Attacks

ClickFix Attack Hides Malicious Code via Stegan Security

January 1, 2026
Sarah simpson
By Sarah simpson
Vulnerabilities

MongoBleed Detector Tool Released to Detect MongoDB Vulnerability(CVE-2025-14847)

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Breaches

Conti Ransomware Gang Leaders & Infrastructure Exposed

January 1, 2026
Hackers News Hackers News
  • [email protected]

Quick Links

  • Contact Us
  • Privacy Policy
  • Terms of service

Categories

Attacks
Breaches
Comparisons
CyberSecurity News
Threats
Vulnerabilities

Let's keep in touch

receive fresh updates and breaking cyber news every day and week!

All Rights Reserved by HackersRadar ©2026

Follow Us