@k.vict1999/pino-std-serializers ships lib/contract.js, byte-identical to the pino-testkit payload: an obfuscated module that decodes and evaluates code at load. It is a new name for the pino-testkit (MAL-2026-16484) 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.=-
The scoped package @k.vict1999/pino-std-serializers republishes the contents of pinojs/pino-std-serializers under a different scope and adds lib/contract.js, a file not present in the upstream project. lib/contract.js contains a custom shuffle-decoder that reconstructs string literals at runtime, uses a decoded property name to obtain the Function constructor, builds a function from a decoded source string, and invokes it (var cMp = kWJ(teD, HRZ); cMp(7746)). The obfuscation is deliberate — property names and the executed source are hidden behind a per-file decoder — and the file's only purpose is to assemble and execute that hidden code. The payload is not reached from index.js, no other shipped module requires lib/contract.js, and package.json declares no lifecycle hooks, so installing the package or require()-ing its documented entry point does not currently invoke the payload. The combination of a scoped re-publish of a popular logging utility whose legitimate code is preserved intact, together with an added obfuscated Function-constructor eval staged under lib/, matches the shape of a staged supply-chain lure where either a later version re-wires the entry point or a sibling module imports lib/contract.js to activate the hidden code.
{
"iocs": {
"domains": [],
"files": [
{
"digests": {
"sha256": "c6a9028513792f288fec1d7c217c55d9541d96d436cb119ef0553c3fd49d6c41"
},
"paths": [
"lib/contract.js"
]
}
],
"ips": [],
"urls": []
},
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-022663",
"import_time": "2026-11-13T03:36:32.053886572Z",
"modified_time": "2026-11-13T03:30:10Z",
"sha256": "faee50309d40a7a81589d363805c0856b2c17ec601dcd02e8d1a337bf8b04f20",
"source": "amazon-inspector",
"versions": [
"7.2.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"
}
]
{
"evidence_files": [
{
"path": "lib/contract.js",
"sha256": "c6a9028513792f288fec1d7c217c55d9541d96d436cb119ef0553c3fd49d6c41",
"tlsh": "22a16b125f9676bd58226287ed0e04058d3136fc63f4f0ae604ef5a158e634e433ecea"
}
],
"package_integrity": [
{
"filename": "pino-std-serializers-7.2.0.tgz",
"hashes": {
"sha1": "f3a906a16ff8919e91e3e390eaa85e25149d089a",
"sha512_sri": "sha512-uOUAitZuxRgd73iMgi/qKbg6S3R6H8OnoD9WOXk17D8C0y1ZqnRwC3tAKXDf+c6OTAq2tmo6tTFGRZJSlpfcUA=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@k.vict1999/pino-std-serializers/MAL-2026-18677.json"