Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in hardhat-hold (npm)

0
Unknown
Published: 08/19/2026 (08/19/2026, 03:54:07 UTC)
Source: GCVE Database
Product: hardhat-hold

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e961a4e9f774d02e73039b143503a3fff7cad6fdbf164123d76a3d5de53c667e) The package's main entry index.js unconditionally requires./lib/config, which is a ~4MB obfuscator.io-style blob (string array of ~23,981 entries with a rotating decoder and hex-escaped literals). The readable identifiers inside that payload include execSync (child_process) and axios (HTTP client) — the local-execution and outbound-network primitives used by droppers and exfiltration stagers — and the payload runs at import time via a top-level IIFE. The wrapper index.js copies the pino logger API surface but never uses the config export; its only effect is to force the obfuscated blob to load on require(). The package name hardhat-hold is a one-token variant of the Ethereum tooling package hardhat, while the README impersonates the pino logger (including shields.io badges that still point at pino's repository), and package.json carries an unrelated boilerplate description about vulnerability management. The combination of name/README/description mismatch with an obfuscated import-time payload carrying shell-exec + HTTP primitives is the canonical typosquat-dropper shape.

Affected software

npmghsa
hardhat-hold
Affected versions
=2.0.1=2.21.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-14246
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a85b4c0acd9273b49252439

Added to database: 08/19/2026, 13:50:56 UTC

Last updated: 08/19/2026, 13:51:34 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses