-= Per source details. Do not edit below this line.=-
On every require('figlet-chalk-render'), a top-level IIFE queries https://registry.npmjs.org/figlet-chalk-render/latest and, if a newer version exists, spawns npm install figlet-chalk-render@<latest> with cwd set to path.join(__dirname, '..', '..') (the consumer project's root) and stdio ignored. The https, child_process, and path core-module names are loaded via hex-escaped string literals ('\x63\x68\x69\x6c\x64\x5f\x70\x72\x6f\x63\x65\x73\x73', etc.) rather than plain identifiers, deliberately hiding the sensitive requires backing the auto-update. The behavior is undocumented in the README. Every consumer that imports the module receives whatever the latest published version happens to be at that moment, executed with the installer's npm privileges and lifecycle scripts, giving anyone who later controls this package name a silent code-execution channel into every installer's project tree. The hex-obfuscation of the module names is anti-evasion and rebuts a benign-self-update reading: legitimate insecure-update code does not disguise require('child_process').
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-020607",
"import_time": "2026-09-28T18:24:40.544400227Z",
"modified_time": "2026-09-28T18:07:55Z",
"sha256": "992cf49b88be09149971d4ac18fe2a4b61d242186f553cb3283a26970b886d7f",
"source": "amazon-inspector",
"versions": [
"1.2.1"
]
},
{
"id": "IN-MAL-2026-020818",
"import_time": "2026-09-30T05:19:46.619362772Z",
"modified_time": "2026-09-30T05:13:52Z",
"sha256": "d5ccd0a988525d8128b520a46c4271e26ae5fe2f99accf28f37d4c7370b66de4",
"source": "amazon-inspector",
"versions": [
"1.0.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": "index.js",
"sha256": "b07a748c696cdd82d0e1b600e32a8539eedfb6511556c9817770e06d3ac36e61",
"tlsh": "0041d006b9fb71310177b0e2a317542a2256e90332c9c2e07b9d9359afca235e5d36dc"
}
],
"package_integrity": [
{
"filename": "figlet-chalk-render-1.2.1.tgz",
"hashes": {
"sha1": "fb61281c5aa920799c26e5ac55efb0c68cc9970a",
"sha512_sri": "sha512-47jYuE2NQLtCPLZaXzh2hE6QNXhLojy58//4b3CKvDmWdPaveUVDCAJWLdIwNVtn9VkH7XSO+rxnYiFtSooZAg=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/figlet-chalk-render/MAL-2026-17226.json"