Article Details

Scrape Timestamp (UTC): 2025-11-03 18:12:58.469

Source: https://thehackernews.com/2025/11/malicious-vsx-extension-sleepyduck-uses.html

Original Article Text

Click to Toggle View

Malicious VSX Extension "SleepyDuck" Uses Ethereum to Keep Its Command Server Alive. Cybersecurity researchers have flagged a new malicious extension in the Open VSX registry that harbors a remote access trojan called SleepyDuck. According to Secure Annex's John Tuckner, the extension in question, juan-bianco.solidity-vlang (version 0.0.7), was first published on October 31, 2025, as a completely benign library that was subsequently updated to version 0.0.8 on November 1 to include new malicious capabilities after reaching 14,000 downloads. "The malware includes sandbox evasion techniques and utilizes an Ethereum contract to update its command and control address in case the original address is taken down," Tuckner added. Campaigns distributing rogue extensions targeting Solidity developers have been repeatedly detected across both the Visual Studio Extension Marketplace and Open VSX. In July 2025, Kaspersky disclosed that a Russian developer lost $500,000 in cryptocurrency assets after installing one such extension through Cursor. In the latest instance detected by the enterprise extension security firm, the malware is triggered when a new code editor window is opened or a .sol file is selected. Specifically, it's configured to find the fastest Ethereum Remote Procedure Call (RPC) provider to connect to in order to obtain access to the blockchain, initialize contact with a remote server at "sleepyduck[.]xyz" (hence the name) via the contract address "0xDAfb81732db454DA238e9cFC9A9Fe5fb8e34c465," and kicks off a polling loop that checks for new commands to be executed on the host every 30 seconds. It's also capable of gathering system information, such as hostname, username, MAC address, and timezone, and exfiltrating the details to the server. In the event the domain is seized or taken down, the malware has built-in fallback controls to reach out to a predefined list of Ethereum RPC addresses to extract the contract information that can hold the server details. What's more, the extension is equipped to reach a new configuration from the contract address to set a new server, as well as execute an emergency command to all endpoints in the event that something unexpected occurs. The contract was created on October 31, 2025, with the threat actor updating the server details from "localhost:8080" to "sleepyduck[.]xyz" over the course of four transactions. It's not clear if the download counts were artificially inflated by the threat actors to boost the relevance of the extension in search results – a tactic often adopted to increase the popularity so as to trick unsuspecting developers into installing a malicious library. The development comes as the company also disclosed details of another set of five extensions, this time published to the VS Code Extension Marketplace by a user named "developmentinc," including a Pokémon-themed library that downloads a batch script miner from an external server ("mock1[.]su:443") as soon as it's installed or enabled, and runs the miner using "cmd.exe." The script file, besides relaunching itself with administrator privileges using PowerShell and configuring Microsoft Defender Antivirus exclusions by adding every drive letter from C: through Z:, downloads a Monero mining executable from "mock1[.]su" and runs it. The extensions uploaded by the threat actor, now no longer available for download, are listed below - Users are advised to exercise caution when it comes to downloading extensions, and make sure that they are from trusted publishers. Microsoft, for its part, announced back in June that it's instituting periodic marketplace-wide scans to protect users against malware. Every removed extension from the official marketplace can be viewed from the RemovedPackages page on GitHub.

Daily Brief Summary

MALWARE // Malicious VSX Extension "SleepyDuck" Targets Solidity Developers

Secure Annex researchers identified a malicious VSX extension, "SleepyDuck," harboring a remote access trojan, targeting Solidity developers with over 14,000 downloads.

The extension exploits Ethereum contracts to maintain its command server, updating server details dynamically to evade takedowns.

SleepyDuck activates upon opening a code editor window or selecting a .sol file, connecting to "sleepyduck[.]xyz" for command execution.

It gathers and exfiltrates system information, including hostname and MAC address, and can execute emergency commands if necessary.

The extension's download counts may have been artificially inflated to increase visibility and deceive developers into installation.

Microsoft is enhancing marketplace security by conducting periodic scans to detect and remove malicious extensions.

Developers are advised to download extensions only from trusted publishers to avoid potential security threats.