JavaScript Supply-Chain Risk: Malicious npm Package and Package Manager Guardrail Bypasses
Supply Chain Risk · 4 sources · Updated 5mo ago · First seen Jan 28, 2026

Security researchers reported an npm supply-chain compromise involving a malicious package, polymarket-clob, that targeted cryptocurrency users by exfiltrating sensitive local files (including .env, wallets.json, and keys/*.json) to attacker-controlled infrastructure. The package was published in the npm registry, downloaded at least 189 times (lower bound), and later removed and replaced with a security placeholder; analysis of the code and infrastructure pivoting linked the campaign to broader activity consistent with wallet-drainer operations and Vidar stealer-related infrastructure, including reuse of SSH fingerprints and consistent hosting patterns.
Separately, researchers disclosed six JavaScript “zero-day” bypass issues across multiple package managers—npm, pnpm, vlt, and Bun—that undermine common defensive controls used to reduce supply-chain risk, including disabling lifecycle scripts and relying on lockfile integrity. The issues (dubbed “PackageGate”) reportedly enable paths to regain install-time code execution or weaken integrity guarantees via mechanisms such as Git dependency handling, tar extraction behaviors, and incomplete integrity coverage for URL-based tarballs; pnpm, vlt, and Bun were reported as patched, while npm characterized the behavior as “works as expected,” raising concern that package-manager-level weaknesses could enable large-scale compromise even in hardened environments.
Why it matters
Impact assessment
This story affects JavaScript development environments, CI/CD pipelines, and organizations that consume npm ecosystem packages, with elevated risk for cryptocurrency users, DeFi developers, and teams handling wallet or API key material on developer workstations. The impact includes credential theft, wallet key exfiltration, potential fund loss, and possible persistence via an SSH backdoor, while the package-manager bypass issues expand exposure beyond a single malicious package to hardened environments that rely on lifecycle-script blocking and lockfile integrity.
The malicious package activity appears targeted rather than internet-wide, but the package-manager weaknesses create broader ecosystem exposure because they affect common trust controls across npm, pnpm, vlt, and Bun. There is evidence of real-world malicious use: the package was downloaded at least 189 times, researchers documented exfiltration infrastructure and attacker-linked wallets, and the campaign overlaps with infrastructure previously associated with wallet-drainer and Vidar stealer activity.
Supporting facts
- Targeted population: Polymarket users and cryptocurrency operators handling local wallet/key files.
- Broader affected population: JavaScript developers, build systems, and enterprises using npm, pnpm, vlt, or Bun.
- Business impact: theft of secrets from
.env, wallet files, and key stores; potential unauthorized blockchain transfers; possible developer-host compromise if SSH backdoor claims are accurate. - Operational impact: compromise of developer endpoints and CI runners can lead to downstream software supply-chain exposure.
- Scope:
polymarket-clobhad at least 189 downloads, a lower bound on potential victims. - Exploitation in the wild: yes, via a published malicious npm package removed after distribution.
- Ecosystem concern: PackageGate bypasses can undermine common hardening controls even when teams disable lifecycle scripts or rely on lockfiles.


