# MAL-2026-18694: Malicious code in solidity-cat (npm)

- Database: OpenSSF
- Malicious package: yes
- Published: 2026-10-26
- Modified: 2026-11-13

## Affected versions

- solidity-cat (npm): 2.0.1

## Description

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.

## References

- https://www.npmjs.com/package/solidity-cat
- https://osv.dev/vulnerability/MAL-2026-14246
- https://www.npmjs.com/package/solidity-cat/v/2.0.1

Page: https://cve.now/MAL-2026-18694

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
