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

目标: 1000 元 · 已筹: 1359 元

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

add-react-displayname

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

Summary

Malicious code in add-react-displayname (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
4
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmadd-react-displayname*
npmadd-react-displayname0.0.5
npmadd-react-displayname0.0.6
npmadd-react-displayname0.0.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T09:19:04Z","published":"2026-03-16T00:00:00Z","schema_version":"1.7.4","id":"MAL-2026-1557","aliases":["GHSA-f582-qpjg-gx9h"],"summary":"Malicious code in add-react-displayname (npm)","details":"The package 'add-react-displayname' is part of the PhantomRaven supply chain attack campaign (Wave 3). It uses a Remote Dynamic Dependency (RDD) technique: the published package appears benign but includes a URL-based dependency in package.json pointing to an attacker-controlled C2 server (package.storeartifacts.com). During npm install, npm automatically fetches a malicious tarball from the C2. The tarball preinstall hook executes a 259-line payload that harvests developer emails from .gitconfig, .npmrc, and environment variables; collects CI/CD tokens from GitHub Actions, GitLab CI, Jenkins, and CircleCI; fingerprints the host system; and exfiltrates all data to http://package.storeartifacts.com/npm.php via redundant HTTP GET, POST, and WebSocket channels with no visible terminal output. The campaign was first disclosed by Koi Security in October 2025 (Wave 1) and extended across Waves 2-4 between November 2025 and February 2026. Full analysis: https://www.endorlabs.com/learn/return-of-phantomraven\n\nAny developer or CI/CD system that installed this package should be considered compromised. All secrets, tokens, and credentials accessible from that environment should be rotated immediately from a separate, unaffected machine.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3afa451338e52a2f51b54bad376d84bd5dc30f91430015f468ce0d4248faaf0f)\nThe package add-react-displayname was found to contain malicious code.\n\n## Source: ghsa-malware (459b0f61f59095f02ac0cba2f7fab14d76578948e4d6fc35165e12d92b4ecaef)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"ecosystem":"npm","name":"add-react-displayname"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]},{"type":"SEMVER","events":[{"introduced":"0.0.6"}]}],"versions":["0.0.6","0.0.7","0.0.5"],"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":"Embedded Malicious Code","name":"Embedded Malicious Code"}]}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f582-qpjg-gx9h"},{"type":"ARTICLE","url":"https://www.endorlabs.com/learn/return-of-phantomraven"},{"type":"ARTICLE","url":"https://www.koi.ai/blog/phantomraven-npm-malware-hidden-in-invisible-dependencies"},{"type":"WEB","url":"https://www.endorlabs.com/learn/return-of-phantomraven"},{"type":"WEB","url":"https://www.koi.ai/blog/phantomraven-npm-malware-hidden-in-invisible-dependencies"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]},{"name":"ReversingLabs","type":"FINDER","contact":["https://www.reversinglabs.com"]}],"database_specific":{"iocs":{"domains":["package.storeartifacts.com"],"urls":["http://package.storeartifacts.com/npm.php"]},"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"459b0f61f59095f02ac0cba2f7fab14d76578948e4d6fc35165e12d92b4ecaef","import_time":"2026-03-18T08:31:01.950029811Z","id":"GHSA-f582-qpjg-gx9h","modified_time":"2026-03-18T08:13:25Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"reversing-labs","sha256":"7a0d5026e1322f3573d67493b638af4e0505013d51d6e5cb8eb2aa2f046bafda","import_time":"2026-03-19T12:18:32.150719367Z","id":"RLMA-2026-01093","modified_time":"2026-03-18T12:37:39Z","versions":["0.0.6"]},{"source":"amazon-inspector","sha256":"3afa451338e52a2f51b54bad376d84bd5dc30f91430015f468ce0d4248faaf0f","import_time":"2026-03-23T05:14:22.788713917Z","modified_time":"2026-03-23T05:11:41Z","versions":["0.0.6"]},{"source":"reversing-labs","sha256":"d4a098faaf14671168228793e15675f1de511c0193fbbbee7331ab1548693cad","import_time":"2026-04-16T15:39:25.198511273Z","id":"RLUA-2026-01878","modified_time":"2026-04-16T09:43:02Z","versions":["0.0.7","0.0.5"]},{"source":"reversing-labs","sha256":"a842d9ee954607bb1a69e9ac8829e938a6db682069614b0ad2f103f922c87482","import_time":"2026-07-09T09:17:04.938455403Z","id":"RLUA-2026-04821","modified_time":"2026-07-07T12:34:52Z"}]}}

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