Advisory

MAL-2026-18694

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in solidity-cat (npm)

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-10-26 00:00 UTC
Modified
2026-11-13 04:30 UTC

Affected packages and fixes

solidity-cat

npm · All systems

Affected

  • Versions: 2.0.1

Fixed versions

None listed

Fix

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

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences