Return to Threats

Hijacked npm and Go Packages Use VS Code Tasks to Deploy Python Infostealer

thehackernews.com 2026-06-29 AI supply chain High

Executive Summary

JFrog found hijacked npm and Go packages using VS Code tasks, not lifecycle scripts, to deploy a Python infostealer.

What Happened

Cybersecurity researchers have uncovered two hijacked npm packages and a cluster of Go packages that are designed to deploy a Python-based information stealer on compromised Windows, Linux, and macOS hosts. "This attack avoids the most common npm execution paths through lifecycle scripts, perhaps in an attempt to remain 'compatible' with npm v12's security hardenings," JFrog said in a

Affected Products

  • npm
  • Go
  • Visual Studio Code

Vulnerability / Attack Technique

VS Code task abuse

Technical Mechanism

Tasks run when a folder is opened.

AI Security Category

Not AI-specific

RealGround Analysis

Evasion of npm 12 hardening.

Recommended Controls

  • Disable automatic VS Code tasks

Related RealGround Service

AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.

Sources

thehackernews.com: https://thehackernews.com/2026/06/hijacked-npm-and-go-packages-use-vs.html

Summary and analysis written by RealGround from the source above; last updated 2026-10-18.

Talk to AI CISO