GHSA-qw2c-ff44-52xq
Malicious code in @devmikets/hyperliquid-sdk (npm)
Impact
## Source: amazon-inspector (c401f279d5ea91e416e18e54888c22d1087a44449aa9629dfb86f3c5945ec903) package.json declares `inquirer` with a tarball URL pointing at registrynpmjs.to — a domain that typosquats the official npm registry (registry.npmjs.org). Running `npm install` fetches and installs whatever tarball is hosted at that attacker-controlled URL as a transitive dependency, delivering arbitrary code into the installer's node_modules on every install. The package otherwise mimics a legitimate Hyperliquid TypeScript SDK (README shape, `@nktkas/rews` dep, jsr.io/@std references), and `inquirer` (an interactive-prompt library) is not a normal runtime dependency for a trading SDK, indicating the entry exists as a delivery vector rather than a functional dependency. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/654344c5a81dc820fdd12dbd86a054fbb02d4593/osv/malicious/npm/@devmikets/hyperliquid-sdk/MAL-2026-14042.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @devmikets/hyperliquid-sdk | = 1.9.6 | none recorded |