Beijing Post

The World's Source of Goods
Thursday, Mar 12, 2026

Hackers Are Hiding Malware in Open-Source Tools and IDE Extensions

The common belief that “open source is safe because everyone can inspect the code” is misleading. In reality, most open-source projects include add-ons and components that are not open source at all — and these hidden parts can easily contain spyware, malware, and viruses. Once installed, they can take over both the user’s computer and the servers running the so-called open-source code, giving hackers full control to do whatever they want.

A newly uncovered cyberattack—one of the most sophisticated developer-focused campaigns seen in recent years—is weaponizing the daily workflow of software engineers. 

Security companies have revealed a malicious operation in which attackers insert stealthy malware into seemingly harmless extensions and open-source tools used by tens of thousands of developers worldwide. 

These extensions appear completely legitimate, yet silently exfiltrate highly sensitive data such as passwords, Wi-Fi access credentials, authentication tokens, clipboard contents, and even live screenshots taken directly from developers’ machines.


Compromised VS Code Extensions: “Bitcoin Black” and “Codo AI”

Two Visual Studio Code extensions were confirmed to contain embedded malicious components: the Bitcoin Black theme and an AI assistant tool called Codo AI. Both extensions looked fully legitimate on the marketplace and performed their advertised functions, which helped them evade suspicion and achieve wide adoption.

Once installed, the extensions deployed an additional malicious payload that continuously harvested data from infected devices. The threat actors were not content with collecting passwords alone. The malware captured real-time screenshots of developers’ screens—revealing source code, Slack discussions, credentials, internal documentation, and confidential project directories.

This level of visibility allows attackers to map entire workflows, understand sensitive architectures, and target organizations with precision.


The Attack Technique: DLL Hijacking as a Delivery Vehicle

The operation relied on an advanced method known as DLL hijacking, which abuses the way legitimate software loads system libraries.

The attackers downloaded a real, benign screenshot tool (Lightshot) onto the victim’s machine, pairing it with a malicious DLL that carried the same filename as the tool’s expected library. When Lightshot launched, it automatically loaded the attacker’s counterfeit DLL. This triggered the malware’s execution without raising suspicion.

Security researchers found that the malware collected:

  • Continuous screenshots and clipboard data

  • Wi-Fi passwords and saved wireless credentials

  • Browser cookies, authentication tokens, and active sessions (via Chrome and Edge in headless mode)

  • Information about installed software, running processes, and development tools

Koi Security reports that the attackers have been iterating and improving the operation, increasingly using “clean” and innocuous-looking scripts to blend in with normal developer activity.


The Campaign Is Spreading Beyond VS Code

While the first findings emerged in VS Code, similar malicious injections are now appearing across the broader open-source ecosystem:

  • npm and Go: Malware packages imitating the names of popular, trusted libraries

  • Rust: A library called finch-rust masqueraded as a scientific computation tool, but instead loaded an additional malware component called sha-rust

This reflects a direct attack on the software supply chain—the trust mechanism developers rely on when importing packages, extensions, or dependencies. By compromising tools that sit at the heart of software development, attackers gain privileged access to entire organizations.


Why This Threat Is So Dangerous

A single developer installing one benign-looking extension can unknowingly trigger a breach across the entire company:

  • Theft of core, proprietary source code

  • Takeover of GitHub and other cloud development accounts

  • Infection of CI/CD pipelines and build environments

  • Exposure of sensitive customer data, credentials, and internal architecture

Because development environments are privileged by design—holding secrets, tokens, SSH keys, and code—the blast radius of compromise is enormous.

Traditional static code scanning is insufficient for detecting these attacks. The extensions themselves often appear legitimate or include harmless code alongside hidden payloads. What is required is real-time behavioral monitoringcapable of flagging anomalous actions—such as a theme extension attempting to access stored passwords.


Recommended Security Measures for Developers and Organizations

To reduce exposure, cybersecurity firms recommend the following defensive steps:

  1. Enable multi-factor authentication on all development accounts, including GitHub, GitLab, cloud providers, and CI/CD tools.

  2. Verify the identity and reputation of extension publishers before installation.

  3. Avoid anonymous, poorly reviewed, or unknown plugins—even if they appear harmless.

  4. Adopt security tools that include behavioral detection, not only static scanning.

  5. Treat all AI-powered development tools with caution, especially those requesting elevated system permissions.

  6. Conduct regular audits of development environments, including browser sessions, secrets, stored tokens, and installed extensions.


This attack marks a turning point in developer-focused cybercrime. 

By targeting the very tools that developers rely on daily, attackers gain unprecedented access to the global software ecosystem. The findings underscore the urgent need for stronger supply-chain security, rigorous extension vetting, and behavioral monitoring to defend the world’s most sensitive development workflows.

AI Disclaimer: An advanced artificial intelligence (AI) system generated the content of this page on its own. This innovative technology conducts extensive research from a variety of reliable sources, performs rigorous fact-checking and verification, cleans up and balances biased or manipulated content, and presents a minimal factual summary that is just enough yet essential for you to function as an informed and educated citizen. Please keep in mind, however, that this system is an evolving technology, and as a result, the article may contain accidental inaccuracies or errors. We urge you to help us improve our site by reporting any inaccuracies you find using the "Contact Us" link at the bottom of this page. Your helpful feedback helps us improve our system and deliver more precise content. When you find an article of interest here, please look for the full and extensive coverage of this topic in traditional news sources, as they are written by professional journalists that we try to support, not replace. We appreciate your understanding and assistance.
Newsletter

Related Articles

0:00
0:00
Close
OpenAI CEO Sam Altman praises the rapid progress of Chinese tech companies.
New electric vehicle charging service eliminates waiting times
Donald Trump to Visit China for Talks with Xi Jinping
AI Pricing Pressure Mounts as Chinese Models Undercut US Rivals and Margin Risks Grow
A Lunar New Year event in Taiwan briefly came to a halt after a temple official standing beside President Lai Ching‑te suddenly vomited, splashing Lai’s clothing
Viral AI video of Tom Cruise fighting Brad Pitt sparks Hollywood panic: 'It's likely over for us'.
China’s EV Makers Face Mandatory Return to Physical Buttons and Door Handles in Driver-Distraction Safety Overhaul
Canada Opens First Consulate in Greenland Amid Rising Geopolitical Tensions
Markets Jolt as AI Spending, US Policy Shifts, and Global Security Moves Drive New Volatility
China Executes 11 Members of the Ming Clan in Cross-Border Scam Case Linked to Myanmar’s Lawkai
The AI Hiring Doom Loop — Algorithmic Recruiting Filters Out Top Talent and Rewards Average or Fake Candidates
UK Prime Minister Traveled to China Using Temporary Phones and Laptops to Limit Espionage Risks
Japan Bids Farewell to Its Last Pandas Amid Rising Tensions with China
PLA opens CMC probe of Zhang Youxia, Liu Zhenli over Xi authority and discipline violations
Apple and OpenAI Chase Screenless AI Wearables as the Post-iPhone Interface Battle Heats Up
OpenAI’s Money Problem: Explosive Growth, Even Faster Costs, and a Race to Stay Ahead
Greenland, Gaza, and Global Leverage: Today’s 10 Power Stories Shaping Markets and Security
Asia’s 10 Biggest Moves Today: Energy Finds, Trade Deals, Power Shifts, and a Tourism Reality Check
America’s Venezuela Oil Grip Meets China’s Demand: Market Power, Legal Shockwaves, and the New Rules of Energy Leverage
TikTok’s U.S. Escape Plan: National Security Firewall or Political Theater With a Price Tag?
Cybercrime, Inc.: When Crime Becomes an Economy. How the World Accidentally Built a Twenty-Trillion-Dollar Criminal Economy
The Return of the Hands: Why the AI Age Is Rewriting the Meaning of “Real Work”
Berkshire’s Buffett-to-Abel Transition Tests Whether a One-Man Trust Model Can Survive as a System
Tesla Loses EV Crown to China’s BYD After Annual Deliveries Decline in 2025
Air India ‘Finds’ a Plane That Vanished 13 Years Ago
Caviar and Foie Gras? China Is Becoming a Luxury Food Powerhouse
Scambodia: The World Owes Thailand’s Military a Profound Debt of Gratitude
War on the Thailand–Cambodia Front
Hackers Are Hiding Malware in Open-Source Tools and IDE Extensions
U.S. Authorises Nvidia to Sell H200 AI Chips to China Under Security Controls
Nvidia CEO Says U.S. Data-Center Builds Take Years while China ‘Builds a Hospital in a Weekend’
India backs down on plan to mandate government “Sanchar Saathi” app on all smartphones
Southeast Asia Floods Push Death Toll Above Nine Hundred as Storm Cluster Devastates Region
250 Still Missing in the Massive Fire, 94 Killed. One Day After the Disaster: Survivor Rescued on the 16th Floor
Car Parts Leader Warns Europe Faces Heavy Job Losses in ‘Darwinian’ Auto Shake-Out
China’s Wedding Boom: Nightclubs, Mountains and a Demographic Reset
A Decade of Innovation Stagnation at Apple: The Cook Era Critique
U.S. Secures Key Southeast Asia Agreements to Reshape Rare Earth Supply Chains
US and China Agree One-Year Trade Truce After Trump-Xi Talks
BYD Profit Falls 33 % as Chinese EV Maker Doubles Down on Overseas Markets
U.S. and China Near Deal to Avert Rare-Earth Export Controls Ahead of Trump-Xi Summit
United States and China Begin Constructive Trade Negotiations Ahead of Trump–Xi Summit
Singapore’s Prime Minister Warns of ‘Messy’ Transition to Post-American Global Order
China Presses Netherlands to “properly” Resolve the Nexperia Seizure as Supply Chain Risks Grow
Hong Kong and Singapore emerge as Asia’s dual hubs for family offices, says Julius Baer
Hong Kong set to co-host China’s Fifteenth National Games in historic multi-city edition
Shouting Match at the White House: 'Trump Cursed, Threw Maps, and Told Zelensky – "Putin Will Destroy You"'
Chinese Tech Giants Halt Stablecoin Launches After Beijing’s Regulatory Intervention
Soaring Usage of Doubao Underscores ByteDance’s AI Ambitions
Alibaba, Ant Acquire Hong Kong’s One Causeway Bay Offices in Landmark Deal
×