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

目标: 1000 元 · 已筹: 1359 元

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

truffle-js

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

Summary

Malicious code in truffle-js (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtruffle-js1.0.0
npmtruffle-js2.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-15T07:39:09Z","published":"2026-05-13T12:10:40Z","schema_version":"1.7.4","id":"MAL-2026-3717","summary":"Malicious code in truffle-js (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (52bd5b41de871fbbc8c5895f63dfec08ba2ff6ecb9ea03fa6fdb5d9245c74616)\nThe package.json lifecycle script invokes require('child_process').execSync with a curl command at install time. Running curl through child_process during an npm install lifecycle hook causes any installer to execute remote content fetched over the network, without consent, as soon as `npm install` runs. The package name also resembles the widely-used 'truffle' Ethereum development toolkit, consistent with a typosquat lure. There is no legitimate reason for a small utility package to shell out to curl from its package.json install hook.\n\n## Source: ossf-package-analysis (c190460255cf713f1797bacece635079c6d3db6a45a58199af29ab1acc9faa2f)\nThe OpenSSF Package Analysis project identified 'truffle-js' @ 2.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","affected":[{"package":{"ecosystem":"npm","name":"truffle-js"},"versions":["2.0.0","1.0.0"],"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":"package.json","sha256":"7744b7d6043dca4f06bedcfd7f313659f70789148878128668a7847c44d97f7a","tlsh":"34f09e14ef1015b314c15e560e175dce5177892740547c64a25f911c839c7fb28ff51a"}],"package_integrity":[{"filename":"truffle-js-1.0.0.tgz","hashes":{"sha1":"57e6d2e75c1ee988439119fab5d3180c1e22b434","sha512_sri":"sha512-CdgVp4qkSZog1dpdY5FedOYEvppGwsIeJVdTpQGTVWKq87lFLYp7POTSCy2CpTImIByMmujBRhMQw4Wd7q1/DQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/truffle-js/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]},{"name":"OpenSSF: Package Analysis","type":"FINDER","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"]}],"database_specific":{"malicious-packages-origins":[{"source":"ossf-package-analysis","sha256":"c190460255cf713f1797bacece635079c6d3db6a45a58199af29ab1acc9faa2f","import_time":"2026-05-13T21:58:23.402650301Z","modified_time":"2026-05-13T12:10:40Z","versions":["2.0.0"]},{"source":"amazon-inspector","sha256":"52bd5b41de871fbbc8c5895f63dfec08ba2ff6ecb9ea03fa6fdb5d9245c74616","import_time":"2026-05-15T07:37:17.1304792Z","id":"IN-MAL-2026-002697","modified_time":"2026-05-14T19:25:11Z","versions":["1.0.0"]}]}}

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