Advisory

MAL-2026-18696

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-map (npm)

Details

solidity-map ships index.js and lib/config.js, byte-identical to the hardhat-roof and chai-foundry payloads: a pino copy whose entry point loads an obfuscated dropper. It is a new name for the hardhat-roof (MAL-2026-17509) and chai-foundry (MAL-2026-13356) 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 (2f1fb5c9d4a046b5e536a449062bf29191d69ca83ab311cb75c889e6cc828354)
Package published as 'solidity-map' with a description about vulnerability management ships code copied from the pino logging library (lib/levels.js, lib/proto.js, lib/tools.js, lib/transport.js, lib/worker.js are upstream pino sources; index.js exports middleware labeled 'pino'; keywords are ['fast','logger','stream','json']). The author 'Robert King <[email protected]>' is unrelated to pino's maintainers, and the published name does not correspond to the shipped functionality. Alongside this cover-story mismatch, lib/config.js is a ~4.3MB single-line IIFE heavily obfuscated with obfuscator.io-style transforms: a 26,185-element rotating string array, two decoder functions (Y/k), hex-escaped object keys, control-flow flattening, and ~44,484 inlined decoded-string operations. Legitimate pino contains no such file. The combination of a trojaned cover identity (pino clone republished under an unrelated package name by an unrelated author) with a large obfuscated module that executes when the package is loaded is the structural shape of a supply-chain trojan whose runtime behavior is deliberately hidden from static review.

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-map

npm · All systems

Affected

  • Versions: 2.21.0

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