Skip to main content

We’ve published YARA signatures to detect GlassWorm, a self-propagating worm first reported by Koi Security that targets the Visual Studio Code ecosystem through OpenVSX and other extension supply chains. 

Threat Overview

GlassWorm weaponizes VS Code extensions and hides loader logic with invisible Unicode characters to evade review. Once active, it steals developer credentials (npm, GitHub, OpenVSX tokens) and targets 49 cryptocurrency-wallet extensions. Using stolen credentials, it then propagates by compromising and republishing extensions on OpenVSX (and other marketplaces). Its command-and-control (C2) leverages the Solana blockchain via memo fields to fetch next-stage payloads.

Detection Coverage

Our YARA rules address the following GlassWorm techniques and behaviors:

  • Blockchain C2 Detection: Flags Solana blockchain-based command-and-control infrastructure.

  • Credential Harvesting: Identifies patterns tied to npm, GitHub, OpenVSX, Git, and SSH credential theft.

  • RAT Capabilities: Detects remote-access features, including SOCKS proxy and VNC components.

  • Self-Propagation: Recognizes automated package publishing and worm-spread mechanisms.

  • Crypto Wallet Targeting: Detects code referencing 49+ cryptocurrency wallet extensions.

  • Unicode Stealth: Identifies invisible Unicode variation selectors used to hide malicious logic.

  • Google Calendar C2: Detects Google Calendar API usage for fallback command and control.

These rules are not perfect and can be fine-tuned further, but they should help get the job done.
Repository: https://github.com/knostic/open-tools/tree/main/glassworm_yara

Defensive Implications

AI coding tools have become privileged, high-value targets, marking the next major attack surface after browsers and endpoints.

To see how Knostic protects enterprises, developers, and AI coding agents from attacks like GlassWorm, visit https://www.getkirin.com/.

Data Leakage Detection and Response for Enterprise AI Search

Learn how to assess and remediate LLM data exposure via Copilot, Glean and other AI Chatbots with Knostic.

Get Access

Mask group-Oct-30-2025-05-23-49-8537-PM

The Data Governance Gap in Enterprise AI

See why traditional controls fall short for LLMs, and learn how to build policies that keep AI compliant and secure.

Download the Whitepaper

data-governance

Rethinking Cyber Defense for the Age of AI

Learn how Sounil Yu’s Cyber Defense Matrix helps teams map new AI risks, controls, and readiness strategies for modern enterprises.

Get the Book

Cyber Defence Matrix - cover

Extend Microsoft Purview for AI Readiness

See how Knostic strengthens Purview by detecting overshared data, enforcing need-to-know access, and locking down AI-driven exposure.

Download the Brief

copilot-img

Build Trust and Security into Enterprise AI

Explore how Knostic aligns with Gartner’s AI TRiSM framework to manage trust, risk, and security across AI deployments.

Read the Brief

miniature-4-min

Real Prompts. Real Risks. Real Lessons.

A creative look at real-world prompt interactions that reveal how sensitive data can slip through AI conversations.

Get the Novella

novella-book-icon

Stop AI Data Leaks Before They Spread

Learn how Knostic detects and remediates oversharing across copilots and search tools, protecting sensitive data in real time.

Download the Brief

LLM-Data-min

Accelerate Copilot Rollouts with Confidence

Equip your clients to adopt Copilot faster with Knostic's AI security layer, boosting trust, compliance, and ROI.

Get the One-Pager

cover 1

Reveal Oversharing Before It Becomes a Breach

See how Knostic detects sensitive data exposure across copilots and search, before compliance and privacy risks emerge.

View the One-Pager

cover 1

Unlock AI Productivity Without Losing Control

Learn how Knostic helps teams harness AI assistants while keeping sensitive and regulated data protected.

Download the Brief

safely-unlock-book-img

Balancing Innovation and Risk in AI Adoption

A research-driven overview of LLM use cases and the security, privacy, and governance gaps enterprises must address.

Read the Study

mockup

Secure Your AI Coding Environment

Discover how Kirin prevents unsafe extensions, misconfigured IDE servers, and risky agent behavior from disrupting your business.

Get the One-Pager

post-widget-13-img
bg-shape-download

See How to Secure and Enable AI in Your Enterprise

Knostic provides AI-native security and governance across copilots, agents, and enterprise data. Discover risks, enforce guardrails, and enable innovation without compromise.

195 1-min
background for career

Schedule a demo to see what Knostic can do for you

protect icon

Knostic leads the unbiased need-to-know based access controls space, enabling enterprises to safely adopt AI.