Beijing Post

The World's Source of Goods
Thursday, Dec 11, 2025

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
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
Shenzhen Expo Spotlights China’s Quantum Step in Semiconductor Self-Reliance
China Accelerates to the Forefront in Global Nuclear Fusion Race
China’s Implicit Beef Blockade Boosts Australian Cattle Exports
Dutch Government Seizes Chipmaker After U.S. Presses for Removal of Chinese CEO
Russia Positions ASEAN Partnership as Cornerstone of Multipolar Asia at Kuala Lumpur Summit
DJI Loses Appeal to Remove Pentagon’s ‘Chinese Military Company’ Label
Guangdong Motorists to Enjoy Three-Day Stays Under New Hong Kong Arrivals Plan
State Department Adviser Ashley Tellis Charged After FBI Finds Over 1,000 Classified Pages at His Home
China Issues Policy Documents Exclusively in Domestic Office Format Amid Tech Tensions
iPhone Air to Launch in China Next Week After eSIM Approval Clears Regulatory Hurdle
China’s lesson for the US: it takes more than chips to win the AI race
Volunteer Network Empowers Ethnic Minority Women in Hong Kong with Career Access
UK Police Crack Major Gang in Smuggling of up to 40,000 Stolen Phones to China
BYD’s UK Sales Soar Nearly Nine-Fold, Making Britain Its Biggest Market Outside China
Singapore and Hong Kong Vie to Dominate Asia’s Rising Gold Trade
China Deploys 2,000 Workers to Spain to Build Major EV Battery Factory, Raising European Dependence
Tokyo’s Jimbōchō Named World’s Coolest Neighbourhood for 2025
Typhoon Ragasa Leaves Trail of Destruction Across East Asia Before Making Landfall in China
Big Banks Rebuild in Hong Kong as Deal Volume Surges
Typhoon Ragasa Expected to Heighten Rainfall and Monsoon Effects in Thailand
Larry Ellison, Michael Dell and Rupert Murdoch Join Trump-Backed Bid to Take Over TikTok
China's Economic Shift Pressures European Luxury Brands to Adjust Strategies
Alibaba Debuts Open-Source Deep Research Agent with Benchmarks Rivaling OpenAI
Marcos Faces Legacy-Defining Crisis as Flood Projects Scandal Sparks Massive Tide of Protests
China’s Micro-Drama Boom Turns Stalled Real Estate Projects into Lavish Film Sets
China Bans Livestreaming and AI in Religion Amid Crackdown on Shaolin Temple Scandal
Top AI Researchers Are Heading Back to China as U.S. Struggles to Keep Pace
DeepSeek Claims R1 Model Trained for only $294,000, Sparking Global Debate Over China’s AI Capabilities
×