solidity-gas-watcher 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.=-
Package 'solidity-gas-watcher' is a disguised payload carrier. The package.json declares name 'solidity-gas-watcher' with a 'vulnerabilities management' description, but the tarball ships files from the unrelated pino logger project (lib/levels.js, lib/proto.js, lib/transport.js, docs/, pino README) as cover content. The declared main (index.js) is a stub Express-style middleware whose only material effect is const config = require('./lib/config'), which loads lib/config.js — a 4,373,384-byte single-line obfuscator.io bundle (string array of ~26,185 entries, hex-escaped identifiers, rotated string-array decoder). The payload executes automatically on require('solidity-gas-watcher') with no caller action required. The package also declares axios as a runtime dependency, yet no readable source file references it, indicating the HTTP client is reserved for the obfuscated code. The combination of name/content/description mismatch, pino library files used as cover, a stub entry point, a multi-megabyte opaque loader auto-invoked on import, and an unused network-client dependency is the standard shape of an installer-targeting stealer rather than any legitimate functionality.
{
"iocs": {
"domains": [],
"files": [
{
"digests": {
"sha256": "4e6c4e61a7019ab0affe9c2d20e36701b330ec357be205930355bac1464f9316"
},
"paths": [
"index.js"
]
},
{
"digests": {
"sha256": "7e4c6d76f1d845f752e37876a2d3f773996719f33c2d1c282e0a84b04444efeb"
},
"paths": [
"lib/config.js"
]
}
],
"ips": [],
"urls": []
},
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-022740",
"import_time": "2026-11-13T04:13:28.214537424Z",
"modified_time": "2026-11-13T03:39:12Z",
"sha256": "a00c60b3f0bfdf801d7f7536dde6ad940ab471235b3c05aeff8cabaf475d0d15",
"source": "amazon-inspector",
"versions": [
"2.21.0"
]
},
{
"id": "IN-MAL-2026-022760",
"import_time": "2026-11-13T04:13:30.597597464Z",
"modified_time": "2026-11-13T03:44:03Z",
"sha256": "d0e0829b0e04054e42de7ff5a59f5c93798e96779e1ebf651f2396087d615a08",
"source": "amazon-inspector",
"versions": [
"2.21.0"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "lib/config.js",
"sha256": "7e4c6d76f1d845f752e37876a2d3f773996719f33c2d1c282e0a84b04444efeb",
"tlsh": "bf1694889194e02b96df1753bf052afdd13aa876d0cca747c2d4be9d29ac80be475cd0"
},
{
"path": "package.json",
"sha256": "43f7a6104b8336724aecf6dd1e8195e0e434089546abc273a11ccc1c6216fc4c",
"tlsh": "6d017630dab88e2301ed25424c2a4643b6a68c175628fc2932dba12c0fad5fb05bf21d"
}
],
"package_integrity": [
{
"filename": "solidity-gas-watcher-2.21.0.tgz",
"hashes": {
"sha1": "b25d6b4e8ecef76d55eae0d90093e2de54500f6f",
"sha512_sri": "sha512-jxwOKS4IGUKxFTZg/PIlfq1v9OBa2kOgaJtKmbyQ9zqD1pfJEmVwERiuaoqv4NqbTGQIn2Mem4KH643bjISHcw=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/solidity-gas-watcher/MAL-2026-18695.json"