Threat Overview
- Campaigns: Families like GlassWorm (self-propagating via extension ecosystems) and WhiteCobra (multi-editor waves) demonstrate sustained abuse of official marketplaces and VSIX side-loads.
- Objectives: Credential harvesting (GitHub/NPM tokens), theft of browser-stored secrets and crypto wallets, local proxying/beacons, and in isolated cases: ransomware-like file operations.
- Targets: Developer workstations and build helpers (VS Code, Cursor, Windsurf/Open VSX consumers) across Windows, macOS, and Linux.
Technical Analysis
- Attack chain (typical):
- Initial foothold: User installs/updates an extension from Marketplace/Open VSX or side-loads a .vsix.
- Activation hooks: On install/startup/open-workspace events, the extension executes script code.
- Post-activation behavior: Spawns node/python/powershell/curl, touches token files (NPM_TOKEN, GITHUB_TOKEN) and browser DBs, optionally sets up SOCKS/hidden desktop sharing, and beacons to web services (webhooks/CDN/paste).
- Evasion: Benign-looking names, republished IDs, and Unicode/obfuscation tricks.
- Scale factor: Publisher/marketplace token leaks and auto-update mechanisms can distribute a bad update quickly.


