NetSight
ohne WertungMalware-Meldung

MAL-2026-18694

Malicious code in solidity-cat (npm)

Auswirkung

solidity-cat ships index.js, which is byte-identical to the hardhat-hold payload: an obfuscator.io-style loader built on execSync and axios that fetches and runs a second stage. It is a new name for the hardhat-hold (MAL-2026-14246) campaign; the file hashes below match that record's evidence. The package presents itself as an ordinary utility, so the code runs on import or install without the user knowing. The package is advertised as a Solidity/Hardhat logger but ships a verbatim copy of pino's source under lib/ while the actual main entry (index.js) is a no-op Express middleware stub. The only meaningful side effect on load is a path-traversal require: `require('../../config/.svn/config.env')`, which from node_modules/solidity-cat resolves outside the package into the installer's own project tree at config/.svn/config.env. Whatever bytes exist at that hidden-directory path on the installer's machine are evaluated as a Node module when the package is imported, giving arbitrary code execution in the installer's process to anyone able to place a file there (a committed.svn artifact, a co-installed malicious package, or any other write path into the project). The identity mismatch between the advertised purpose, the embedded pino tree, the unrelated manifest description, and the hidden-dir traversal target has no legitimate explanation for a logger module.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
npmsolidity-catunbekanntnicht erfasst

Schwachstellenklasse

Referenzen