hardhat-zet@2.0.1
Vulnerability report · Last retrieved from osv.dev September 28, 2026 at 11:09 PM UTC
OSV ID
MAL-2026-17234
Ecosystem
npm
Summary
hardhat-zet@2.0.1 is published under a name that impersonates the Hardhat Ethereum tooling ecosystem, but its README, type definitions and docs/ tree are copied verbatim from the unrelated pino logger project (badges and links point at npmjs.com/package/pino and github.com/pinojs/pino). The exported middleware in index.js is a no-op Express middleware and matches neither the hardhat-zet name nor the pino README. The package's declared main (index.js) top-level-requires./lib/config, which is not a configuration file but a 4,498,609-byte obfuscator.io-style bundle: a 26,113-entry rotated string array behind two runtime decoders (functions v and F), hex-encoded identifiers, and control-flow flattening. All strings and destination URLs are hidden behind the decoders, so this code runs automatically on any require('hardhat-zet') and its behavior is not observable without deobfuscation. Publisher metadata (author 'Robert King <hello@jsonspack.com>', bugs URL https://jsonspack.com/issues) ties to neither the Hardhat nor the pino identity. The combination — ecosystem-typosquat name targeting crypto/Hardhat developers, cover-story README lifted from an unrelated popular package, no-op public API, and a multi-megabyte obfuscated payload auto-executed on import — is the shape of a supply-chain stealer aimed at Ethereum developers.
Source: amazon-inspector (37cd33c0908189c0085fba153be1c42776411968aa5ad652dd7ffdef88b318bc)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.