VSCode Tasks and Blockchain Dead Drops Infostealer
Score: 9/10

VSCode Tasks and Blockchain Dead Drops Infostealer

A campaign involving hijacked npm and Go packages uses malicious VS Code tasks to trigger a multi-stage infection chain involving blockchain dead drops, a socket.io backdoor, and a Python infostealer.

Executive Summary

Researchers have identified a sophisticated campaign involving hijacked npm and Go packages, such as `html-to-gutenberg` and `fetch-page-assets`. Unlike traditional supply chain attacks that rely on npm lifecycle scripts, this campaign uses a novel execution trigger: a hidden VS Code task configured with `runOn: "folderOpen"`. This causes malicious code, disguised as a font file, to execute automatically when a developer opens the compromised project in VS Code or similar editors like Cursor.

The attack chain leverages public blockchain infrastructure (Tron, Aptos, and Binance Smart Chain) as a resilient dead-drop mechanism to retrieve encrypted second-stage payloads. The malware eventually deploys a socket.io-based backdoor for interactive command execution and a comprehensive Python infostealer. The campaign specifically targets developers by attempting to inject code into tools like VS Code, GitHub Desktop, and the npm CLI, while also harvesting credentials, browser data, and over 30 different cryptocurrency wallet extensions.

This activity represents a significant risk to development environments, where the primary objective appears to be the theft of sensitive credentials, cloud access tokens, and digital assets. Organizations should immediately audit developer workstations for unauthorized VS Code tasks and block the associated C2 infrastructure.

Key Details

Threat Name

VSCode/Blockchain npm Infostealer Campaign

Affects

—

Adversary

—

Malware/Tools

Socket.io Backdoor, Python Infostealer

Report Score

9out of 10
Quality Score
Excellent
IOC Quality10
TTP Details9
Detection Guidance7
Enterprise Relevance9
Clarity & Structure10
Technical Depth9

Sources