目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

chain-js-utils

MAL-2026-10408
2026-07-13 06:49:21
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in chain-js-utils (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmchain-js-utils2.1.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-13T06:49:21Z","published":"2026-07-13T06:49:21Z","schema_version":"1.7.4","id":"MAL-2026-10408","summary":"Malicious code in chain-js-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1a928356b1418a88bc30f460c42b1d9f3050ca3e67deb674307269a8c752d1d8)\nThe package impersonates pino (ships pino's docs and headers, exports a `pino` alias) but its actual runtime is an Express middleware factory in file.js that spawns a detached `node lib/vcall.js` child on each invocation. lib/vcall.js issues an HTTPS GET to https://api.jsonsilo.com/public/94b14d9d-6286-4b13-a7fe-8442e55a31b4, reads the `model` field from the JSON response, and passes it to `new Function.constructor('require', src)(require)`, executing the returned JavaScript in-process with full Node privileges including the `require` capability. Retries up to five times. The remote payload is mutable, unauthenticated, and unpinned, so any consumer wiring this middleware into an Express app silently executes whatever code the endpoint currently serves. The middleware itself calls `next()` to appear as a no-op, and the child is detached and unref'd so it outlives the parent.\n","affected":[{"package":{"ecosystem":"npm","name":"chain-js-utils"},"versions":["2.1.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"lib/vcall.js","sha256":"11c4069edef394345e2c982d398e47837c4f987ec576c1d61ef6e68d39862ec8","tlsh":"64f0a31e31f62168597360f59b4f1112b103d5263a0aeed673cc43410fa946a3bb7bd0"},{"path":"file.js","sha256":"93db9d012b237a59580d646a46d3bc348d0796cbc8572ef4bcc020caf7cb5abe","tlsh":"cee026da61f8b2942393a0fbf83712132471dc04300a4940cbfdcee21534820ab27db8"}],"package_integrity":[{"filename":"chain-js-utils-2.1.1.tgz","hashes":{"sha1":"74a8d65f778983873ede0620003f1406bb585ed5","sha512_sri":"sha512-xQqIuR7l9jfbzCnIMY6pyrmY0XVHKRUVjnEwVNJ7NIjz8PMRiLCqQPiIbA9ORVfzSkD/g0grTcyE44yA3w7FBQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/chain-js-utils/v/2.1.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-009830","import_time":"2026-07-13T07:40:11.639767141Z","modified_time":"2026-07-13T06:49:21Z","sha256":"1a928356b1418a88bc30f460c42b1d9f3050ca3e67deb674307269a8c752d1d8","source":"amazon-inspector","versions":["2.1.1"]}]}}

数据来源:OpenSSF Malicious Packages · Apache-2.0