-= Per source details. Do not edit below this line.=-
Package presents itself as a pino-style logging middleware (keywords 'fast, logger, stream, json', exports as pino), but the advertised middleware is a dropper. The main entry index.js exports a middleware factory that spawns a detached node lib/caller.js child with stdio: 'ignore' and child.unref(), hiding the child from the parent. lib/caller.js base64-decodes a hardcoded URL (https://iphub-encrypted.vercel.app/api/auth/f1f097d93c318c92f0c5), POSTs to it with axios, and passes the response body to new Function.constructor('require', s) then invokes it with the real require, granting the remote endpoint arbitrary code execution with full Node privileges on the installer's host. Package metadata (bugs URL at jsonspack.com, description text unrelated to logging) is inconsistent with the advertised pino-logger purpose, consistent with impersonation/typosquat cover for the dropper.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-022948",
"import_time": "2026-11-20T05:12:17.831298814Z",
"modified_time": "2026-11-20T04:37:47Z",
"sha256": "e31407446b3d2956a7510904bdc4e247d1ddb3d743e85fbfff5cc634547964ea",
"source": "amazon-inspector",
"versions": [
"3.3.2"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "lib/caller.js",
"sha256": "88d00cec2a6488c81d5080323a4ba81d789ec641345f2d177399cbc0527a74b8",
"tlsh": "f301bd4e22fd245c015112e6171fe0326010e4673d46d5d4378cd7425faa6bd2aa3bef"
},
{
"path": "index.js",
"sha256": "2956b023858d706a5e241cd28b845088e5f414c5f70bd5d8cb73cb427d081065",
"tlsh": "5d213c81b9f11188065cd9c8b569e53a38e3c4377207b9b0e9ec87862bcf2080272ad7"
},
{
"path": "package.json",
"sha256": "7fa11107c6286ff949667aad8197568fcd84dfe82c8b2e2de575fd3c9ac4d9cc",
"tlsh": "fa01cb65ceb89e6301dd21824c2a0643b6618c639928fc2932d7522d0f9e5bf05ff21d"
}
],
"package_integrity": [
{
"filename": "truffle-kit-3.3.2.tgz",
"hashes": {
"sha1": "04cb8765840fed687b7f7228714c6c8dda5ddba3",
"sha512_sri": "sha512-RjqBmefvEsZcezqSRWmvPJrzCzyAJ5BHm3ai+tZfBRSlLr177XpvOZCeQOFAkzbpNosiHkOfzjYZWAWRONePrg=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/truffle-kit/MAL-2026-20293.json"