NetSight
ohne WertungMalware-Meldung

MAL-2026-18696

Malicious code in solidity-map (npm)

Auswirkung

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. 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 <hello@jsonspack.com>' 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.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
npmsolidity-mapunbekanntnicht erfasst

Schwachstellenklasse

Referenzen