Malicious code in @devmikets/hyperliquid-sdk (npm)
Description
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.
---