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

目标: 1000 元 · 已筹: 1359 元

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

buffer-wrap-67d7

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

Summary

Malicious code in buffer-wrap-67d7 (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmbuffer-wrap-67d71.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-23T21:40:45Z","published":"2026-06-23T21:40:45Z","schema_version":"1.7.4","id":"MAL-2026-6348","summary":"Malicious code in buffer-wrap-67d7 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a0192c1f2bf35c50a401e2df63f505564880339f5329c0ffcfdb8748cd6d48e3)\nThe package declares a postinstall hook (`\"postinstall\": \"node run.js\"`) that executes run.js automatically on `npm install`. run.js imports `os`, `fs`, `http`, `https`, and `child_process`, and collects host and user identity signals including `os.hostname()`, `os.userInfo()`, `os.platform()`, `process.env.USER`, and `process.cwd()`, alongside filesystem reads (`fs.existsSync`, `fs.readFileSync`). Collected data is base64-encoded (`Buffer.from(...).toString('base64')`) and POSTed out via http/https calls (multiple POST sites at run.js lines 131, 339, 346). The composition — automatic lifecycle trigger, system/user reconnaissance, base64 packaging, and outbound POSTs — is the canonical install-time exfiltration shape and produces direct attacker benefit (host fingerprinting and credential-adjacent data leaving the installer's machine).\n","affected":[{"package":{"ecosystem":"npm","name":"buffer-wrap-67d7"},"versions":["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":"4d99b243a066f8b6797c51600415608ce7df061dcbdd743d01addfea8df6b4f6","tlsh":"cae068189c303a3339d02aa91c62926ba7308f0f20543d2c52b72929429bb7ab47b14d"},{"path":"run.js","sha256":"45b7cdbc6e1e29b849d9cf8941adc62b6c3b18e21b4a7fb9216a62b3c7730087","tlsh":"0382e67219f7462479a3eaade65fa4006523f1077a51eda0f28c73610fcf568c172af8"}],"package_integrity":[{"filename":"buffer-wrap-67d7-1.0.0.tgz","hashes":{"sha1":"1d8f972ca15a011bae9725fde2add474c4ef1754","sha512_sri":"sha512-KDS5CTbDRdW1vbafOVx/vdrLaoi/rBfMW39A6gnR2Xtz4ggh7lJsMYY8Ecqfga6J1p2mFBF6iVlKSS3/E1oLfQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/buffer-wrap-67d7/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-007373","import_time":"2026-06-23T22:31:27.205348986Z","modified_time":"2026-06-23T21:40:45Z","sha256":"a0192c1f2bf35c50a401e2df63f505564880339f5329c0ffcfdb8748cd6d48e3","source":"amazon-inspector","versions":["1.0.0"]}]}}

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