HKG Times

Hong Kong's Finance, Tourism, and Technology
HK Innovates

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
Hong Kong Charts Strategic Recovery to Reclaim Status as Global Tourism Powerhouse
Hong Kong Woman Loses Two and a Half Million Dollars in Online Collagen Drink Scam
Mastercard Executes First Live Agentic Payment Transaction in Hong Kong
Hong Kong Moves to Tighten Fire Safety Laws Amid Surge in Illegal Fuel Activity
Premium Office Supply in China and Hong Kong Set to Peak as Demand Softens
Beijing’s Security Focus Raises Questions Over the Future Shape of Hong Kong’s Autonomy
Chinese Chipmaker Eyes Hong Kong Listing as Five Billion Dollar Fabrication Plant Drives Expansion
Hong Kong Retail Sales Surge Nearly Twenty Percent in February as Tourism Rebounds
Hong Kong Positions Itself for Tourism Revival with Renewed Global Appeal
Art Basel Hong Kong Expands Across City with Galleries, Retail Spaces, and Hidden Venues
Hong Kong Falls Short of March Deadline for First Stablecoin Licensing Framework
US Senator Warns Against Complacency on China During Taiwan Visit
Hong Kong Postpones First Round of Stablecoin Licensing Under New Regulatory Framework
Hong Kong Maintains IPO Leadership but Faces Growing Competition from US Mega Listings
Syngenta Reports Strong Profit Growth Ahead of Planned Hong Kong Listing
Hong Kong Expects Surge of 6.5 Million Border Crossings During Upcoming Holiday Period
Speculation Grows Over Hong Kong’s April First Heat Peak as Prediction Markets Weigh In
Beijing Women’s Affairs Chief Outlines Three Strategic Priorities for Hong Kong
Chinese Financial Firms Expand Compliance Teams in Hong Kong Following Regulatory Action
Hong Kong Ends Longstanding Electric Vehicle Tax Break as Chinese Brands Gain Market Lead
Hong Kong Unveils Striking New Landmark Aimed at Reinforcing Global Status
Hong Kong Billionaire Peter Lee Leads $300 Million Investment in US Battery Startup
Seattle Airport to Launch New Nonstop Service to Hong Kong with Cathay Pacific
Hong Kong Tech ETF Attracts Record Inflows as Investors Show Renewed Confidence
Harneys Strengthens Hong Kong Practice with Appointment of Corporate Partner William Lee
UK Report Raises Concerns Over Rights and Freedoms in Hong Kong
Baidu-Backed iQiyi Moves Toward Hong Kong Listing With Confidential Filing
Construction Starts on Major Data Center in Emerging Hong Kong Technology Hub
Hong Kong’s March Art Sales Signal Growing Sophistication Among Collectors
Chinese Tech Firms Turn to Hong Kong as Western Market Barriers Intensify
Cathay Pacific Launches Direct Seattle to Hong Kong Passenger Flights
Art Basel Hong Kong 2026 Sees Strong Sales Across Blue-Chip and Emerging Artists
Hong Kong Auction Achieves 160 Million Dollar Sales, Boosting Market Confidence
New Two-Power-Bank Limit at Hong Kong Airport Leaves Travellers Unprepared
Middle Eastern Capital and Travellers Shift Toward Hong Kong Amid Rising Regional Tensions
Hong Kong’s New Device Password Law Clarifies Requirements for Travellers at Border Checks
Hong Kong Regains Momentum as Stability and Security Reinforce Economic Recovery
Hong Kong Maintains Economic Stability Despite Oil Price Surge, Says Finance Chief
Hong Kong MPF Authority Plans Two-Tier Penalty System for Late Employer Contributions
NewSpace Industry Accelerates Hong Kong’s Five-Year Strategic Priorities
HKSTP Drives Hong Kong’s Emergence as a Global Biotechnology Leader
Hong Kong Court Upholds Prison Sentences in High-Profile Security Case
China Summons US Envoy in Hong Kong Over Warning on Security Law Changes
Art Basel Hong Kong 2026 Closes with Robust Sales and Renewed Global Momentum
Singapore’s Lawrence Wong Strengthens Regional Ties with Business Leaders During Hong Kong Visit
Rising Gulf Tensions Redirect Global Capital Flows to Singapore and Hong Kong
Hong Kong Police Seize 1,600 Litres of Diesel in Crackdown on Illegal Fuel Operation
Hong Kong Begins Construction of Northern Metropolis Data Centre to Drive AI Development
Hong Kong Official Rejects Allegations of Surveillance Orders Targeting UK-Based Dissidents
Hong Kong Authorities Seize HK$92 Million Worth of Illicit Cigarettes in Major Maritime Operation
×