solidity-cat
Affected
- Versions:
2.0.1
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in solidity-cat (npm)
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.
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (db38353602bce221205cd3c1c3affe5d745b8df70664176451c51616a99c7eaf)
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.
Not rated by the source.
2.0.1None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0