Malicious VS Code extensions resurface, stealing GitHub credentials and crypto wallets

Source Cryptopolitan

Developers will have to contend with a dormant turned active malicious code on Visual Studio Code (VS Code) extensions, which is believed to have compromised thousands of users by stealing credentials for GitHub, Open VSX, and cryptocurrency wallets.

Operation GlassWorm, first identified by cybersecurity firm Koi Security late last month, was created by a group hacking VS Code extensions distributed through both the Open VSX Registry and Microsoft’s Visual Studio Marketplace. The bad actors have reportedly been embedding invisible malicious code within legitimate-looking developer tools.

Koi security researchers say the campaign is mainly to harvest developer credentials like NPM tokens, GitHub logins, and Git credentials,  to enable supply chain compromise and financial theft. 

According to Koi’s analysis, the same malware has also targeted 49 different cryptocurrency wallet extensions, draining user funds and exfiltrating sensitive data to remote servers.

GlassWorm turns developer machines into criminals’ aid

As reported by Koi’s team blog article shared on several subreddits, the malicious extensions deploy SOCKS proxy servers and use the compromised developer systems to build up a criminal proxy network. In parallel, they install hidden VNC servers, giving attackers full remote access to victim machines without visible indicators.

Stolen GitHub and NPM credentials help the operators infect additional repositories and packages, and allow GlassWorm to propagate deeper into the software supply chain.

Open VSX confirmed it had identified and removed all known malicious extensions associated with the campaign on October 21, also revoking and rotating compromised tokens. 

However, Koi Security’s new report indicates that GlassWorm has resurfaced, using a more advanced form of Unicode-based obfuscation to bypass detection systems.

According to the company, seven extensions were compromised again on October 17, amassing a combined 35,800 downloads. Koi’s telemetry also shows that ten infected extensions are currently active and publicly available, and distribute malware as of this writing.

“The attacker’s command-and-control infrastructure remains fully operational. Payload servers are still responding, and stolen credentials are being used to compromise new packages.”

CodeJoy malware is invincible, Koi security debunks

Koi’s risk analysis engine flagged an Open VSX extension called CodeJoy after version 1.8.3 exhibited “unusual behavioral changes.” CodeJoy looks like a legitimate developer productivity tool with hundreds of downloads, a clean codebase, and regular updates.

“When we opened the source code, we noticed a massive gap between lines two and seven,” Koi researchers said. “That’s not empty space, it’s malicious code encoded in unprintable Unicode characters that don’t render in your code editor.”

CodeJoy invincible code. Source: Koi Research

The attackers used invincible Unicode variation selectors that make the malicious payload invisible to the human eye. Static analysis tools and manual code reviews saw nothing unusual, yet the JavaScript interpreter executed the hidden commands flawlessly.

When decoded, the invisible characters revealed a second-stage payload mechanism, one that Koi researchers discovered uses the Solana blockchain as its command-and-control (C2) infrastructure.

“The attacker is using a public blockchain, which is immutable, decentralized, and censorship-resistant, as their C2 channel,” Koi explained.

The malware scans the Solana network for transactions from a hardcoded wallet address. Upon finding one, it reads the memo field, where arbitrary text can be attached to transactions. Inside that memo field lies a JSON object containing a base64-encoded link to download the next-stage payload.

A Solana transaction from October 15 displayed in Koi’s analysis contained data that was decoded to a URL hosting the active location for downloading the next stage of the malware.

An attacker can rotate payloads by posting a new Solana transaction for fractions of a cent, updating all infected extensions that query the blockchain for new instructions. 

Per Koi, even if defenders block one payload URL, the attacker can issue another transaction faster than it takes to bring one down. 

“It’s like playing whack-a-mole with infinite moles,” a Koi researcher noted.

Koi Security members Idan Dardikman, Yuval Ronen, and Lotan Sery confirmed that the threat actor has posted fresh Solana transactions containing new command endpoints as recently as this week. 

Sign up to Bybit and start trading with $30,050 in welcome gifts

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Silver Price Forecast: XAG/USD surges to record high above $56 amid bullish momentumSilver (XAG/USD) climbs to a fresh all-time high on Friday, buoyed by dovish Federal Reserve expectations alongside strong industrial and investment demand.
Author  FXStreet
Dec 01, Mon
Silver (XAG/USD) climbs to a fresh all-time high on Friday, buoyed by dovish Federal Reserve expectations alongside strong industrial and investment demand.
placeholder
Crypto Market Outlook: Bitcoin, Ethereum, and XRP Tumble as BoJ Hawkishness Sparks Risk-Off RoutBitcoin slides below $87,000, Ethereum leans on $2,800 support and XRP hovers around $2.00 as December opens with a risk-off tone, leaving BTC eyeing $80,600–$74,508, ETH exposed to $2,111 and XRP to $1.90 unless buyers can turn key levels into a base for a rebound.
Author  Mitrade
Dec 01, Mon
Bitcoin slides below $87,000, Ethereum leans on $2,800 support and XRP hovers around $2.00 as December opens with a risk-off tone, leaving BTC eyeing $80,600–$74,508, ETH exposed to $2,111 and XRP to $1.90 unless buyers can turn key levels into a base for a rebound.
placeholder
Solana Price Forecast: ETF Demand and Derivatives Flows Fuel a Sharper ReboundSolana (SOL) trades above $140 after a 10% daily jump, as ETF inflows flip positive, futures open interest climbs 6.75% and on-chain TVL and stablecoin liquidity rise, setting up a potential double-bottom breakout toward the 50-day EMA at $158 if SOL can secure a daily close above $145.
Author  Mitrade
Dec 03, Wed
Solana (SOL) trades above $140 after a 10% daily jump, as ETF inflows flip positive, futures open interest climbs 6.75% and on-chain TVL and stablecoin liquidity rise, setting up a potential double-bottom breakout toward the 50-day EMA at $158 if SOL can secure a daily close above $145.
placeholder
Gold Price Forecast: XAU/USD flat lines near $4,200 ahead of US PCE inflation releaseGold price (XAU/USD) trades on a flat note near $4,205 during the early Asian trading hours on Friday. Rising US Treasury yields and upbeat US jobs data cap upside for the precious metal. Traders might prefer to wait on the sidelines ahead of the key US inflation data.
Author  FXStreet
Dec 05, Fri
Gold price (XAU/USD) trades on a flat note near $4,205 during the early Asian trading hours on Friday. Rising US Treasury yields and upbeat US jobs data cap upside for the precious metal. Traders might prefer to wait on the sidelines ahead of the key US inflation data.
placeholder
Bitcoin Pauses for Breath Above $92,000 as Bulls Weigh Next Run at $95,000Bitcoin consolidates above $92,000 and the 100-hour SMA as traders eye a breakout toward $96,450 or a potential retracement to $90,500 support.
Author  Mitrade
Dec 05, Fri
Bitcoin consolidates above $92,000 and the 100-hour SMA as traders eye a breakout toward $96,450 or a potential retracement to $90,500 support.
goTop
quote