Skip to content

Malicious code in @polymarkets/clob-client-v2 (npm)

Malware Published Aug 14, 2026 to the GitHub Advisory Database

Package

npm @polymarkets/clob-client-v2 (npm)

Affected versions

= 1.0.6

Patched versions

None

Description

Source: amazon-inspector (7e06fdabf4b8b56bb40b4656a1a254801f37bef08278111f59814e375be3e7dc)

package.json for @polymarkets/clob-client-v2 declares its inquirer dependency as an HTTPS tarball URL on registrynpmjs.to, a lookalike of the real npm registry (registry.npmjs.org): "inquirer": "https://registrynpmjs.to/inquirer-14.0.2.tgz". On npm install, npm fetches and installs whatever tarball that host serves as inquirer into node_modules, so the operator of registrynpmjs.to controls the code that runs via inquirer's install lifecycle and on first require. The package is also published under the scope @polymarkets, a one-character variation of the legitimate Polymarket scope @Polymarket, consistent with a typosquat lure whose delivery vector is the redirected dependency.


Credit: OpenSSF (source)

References

Published to the GitHub Advisory Database Aug 14, 2026
Reviewed Aug 14, 2026

EPSS score

Weaknesses

Embedded Malicious Code

The product contains code that appears to be malicious in nature. Learn more on MITRE.

GHSA ID

GHSA-xq4g-rv84-pcvv

Source code

No known source code
Improvements are not currently accepted on this advisory because this package is malware and has no patched versions. If there is something to change, please open an issue at https://github.com/github/advisory-database/issues.