Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

polygon-gamma-apisnpm

Advisory published Updated

polygon-gamma-apis is a confirmed malicious npm package (MAL-2026-10148) that steals credentials and exfiltrates sensitive data (malicious versions 1.5.2, 2.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in polygon-gamma-apis (npm)

MAL-2026-10148
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall polygon-gamma-apis

What this malware does

[email protected] advertises itself as a 'TypeScript SDK for the Polymarket CLOB API' but ships no Polymarket API surface. The exported getPlugin function issues an HTTPS request to https://svganchordev.net/icons/111, reads the response's credits field, and passes it to new Function('require','module',...,data.credits) — executing attacker-controlled JavaScript inside the consumer's Node.js process with require, process, and Buffer available. Because the loader is passed require, subsequent stages can pull in native modules (dpapi, better-sqlite3, node-machine-id) to run a credential/wallet stealer. The URL is assembled piecewise (protocol + separator + domain + path) and surrounded by unused constants referencing legitimate CDNs (cloudflare, fastly, akamai, cloudfront, gcorelabs, cdnjs) and Font Awesome-style paths so the fetch reads as icon retrieval; an unused setDefaultModule referencing those CDNs is dead-code decoy. The package name and description impersonate the real @polymarket/clob-client to attract Polymarket integrators. Any consumer that imports the package and invokes the default export runs whatever JavaScript the operator of svganchordev.net serves at that moment.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Malicious versions

2 flagged
1.5.22.0.0

Indicators of compromise (SHA-256)

bd3cc3b2775e2ba28bb5fff5c7671fad59d10810e05e72c2f5c0c8b176c1ca8c
16bd60af8e6902e71779ea9a3b46217ab7d3e96b92cd7d676407113f856bec08
a49bd3ddb3340e0ef3c76465b6e275d45ddc8eecdbd742747acde8588a2018b4
73cb0584482639984418eb4470d7a53d41d91341937c500eb6a7d3c854e6be96

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for polygon-gamma-apis (2 malicious versions).

  2. If you installed it — respond

    polygon-gamma-apis is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If polygon-gamma-apis was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. polygon-gamma-apis on npm has been identified as a malicious package (versions 1.5.2, 2.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-hg4h-mv37-7x88IN-MAL-2026-009694IN-MAL-2026-009696RLMA-2026-06383

References

Credits

  • Amazon Inspector · finder
  • ReversingLabs · finder

Detect & block this

O3 blocks polygon-gamma-apis-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

polygon-gamma-apis (npm) malicious package — MAL-2026-10148 | O3 Security