Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
package-repository-poisoningopen-source-dependency-vulnerabilitycredential-stealer-activityproof-of-concept-release

JavaScript Supply-Chain Risk: Malicious npm Package and Package Manager Guardrail Bypasses

Updated 2mo agoFirst seen Jan 28, 20264 sources

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.

Share:
JavaScript Supply-Chain Risk: Malicious npm Package and Package Manager Guardrail Bypasses
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

8 events from the most recent confirmed update back to the earliest known activity.

8 EVENTS
Apr 12, 20262mo ago

Panther report links Polymarket npm theft to DPRK-linked tradecraft

A Panther report publicly attributed the malicious npm activity targeting Polymarket traders to DPRK-linked tradecraft, tagged as Famous Chollima. The report also said the package stole wallet keys and installed an SSH backdoor, adding new technical and attribution details to the incident.

Post by @lazarusholic.bsky.social - Bluesky
Jan 27, 20265mo ago

npm declines fix, saying behavior works as expected

npm, owned by Microsoft, told researchers that the reported behavior "works as expected" rather than issuing a patch. The response drew criticism that significant package-manager security gaps remained unaddressed.

pnpm, vlt, and Bun patch PackageGate flaws

Following Koi's reporting, pnpm, vlt, and Bun patched the disclosed PackageGate vulnerabilities. The fixes addressed weaknesses including Git dependency handling, incomplete integrity coverage for URL-based tarballs, tar extraction path traversal, and allow-list spoofing.

Koi discloses six PackageGate zero-days in JavaScript package managers

Researchers at Koi disclosed "PackageGate," a set of six zero-day vulnerabilities affecting npm, pnpm, vlt, and Bun. The flaws could bypass common supply-chain defenses such as disabling lifecycle scripts and relying on lockfile integrity hashes, potentially restoring install-time code execution for attackers.

Malicious polymarket-clob package is removed from npm

After its malicious behavior was identified, the "polymarket-clob" package was later removed from the npm registry. The removal followed discovery that it was stealing sensitive data and wallet-related material from users.

Malicious npm package polymarket-clob targets Polymarket users

The npm package "polymarket-clob" was used to exfiltrate sensitive local files, including environment variables and wallet or key material, from Polymarket users to attacker-controlled infrastructure. On-chain evidence from a reported victim showed a small ETH transfer to an address assessed as attacker-controlled.

Vidar Stealer telemetry overlaps with shared infrastructure cluster

Historical telemetry showed one IP in the identified infrastructure cluster overlapping with Vidar Stealer detections during the same timeframe. This indicated the infrastructure had also been used in other malware activity, though not conclusively by the same operator.

Wallet drainer tied to fake Monad testnet infrastructure appears

An older "Monad testnet" GitHub-script wallet drainer was used to harvest Ethereum private keys from wallet.txt files and send them to infrastructure later linked to other malicious activity. Subsequent analysis connected this infrastructure to domains impersonating blockchain testnet services.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

23 LINKEDOpen in app
Affected products
4 linked
VirustotalNpmGithubGithub
Organizations
19 linked
CensysSocketKoi SecurityColorTokensSectigoVirustotalXMicrosoft CorporationGitHubnpm, Inc.FoFaPolymarketIzumi FinanceOOO FREEnet GroupPartner Hosting LTDRubic ExchangeApriori FinanceArt-telecom LtdMagma Protocol
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.