{"id":"GHSA-f582-qpjg-gx9h","revision":null,"records":[{"revision":"0807e6422ea54ff0910bbe43e6223690","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-1557","aliases":["GHSA-f582-qpjg-gx9h"],"title":"Malicious code in add-react-displayname (npm)","description":"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","state":0,"publishedAt":"2026-03-16T00:00:00+00:00","modifiedAt":"2026-07-09T09:32:12.5996257+00:00","affected":[{"ecosystem":"npm","name":"add-react-displayname","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]},{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.6"}]}],"versions":["0.0.6","0.0.7","0.0.5"],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/advisories/GHSA-f582-qpjg-gx9h","https://www.endorlabs.com/learn/return-of-phantomraven","https://www.koi.ai/blog/phantomraven-npm-malware-hidden-in-invisible-dependencies"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-1557","license":"OSV · upstream source license applies","key":"osv:MAL-2026-1557","identifiers":["MAL-2026-1557","GHSA-f582-qpjg-gx9h"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T06:08:09.5402442+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-25T06:08:09.5402442+00:00","lastSuccessAt":"2026-11-25T06:08:09.7528287+00:00","error":null,"lastVerifiedAt":"2026-11-25T06:08:09.7528292+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-e5edb6db4eaa3b9f34b3daddc418cd77d030a88bed0bc7a252fbf75aa7f240e8","complete":true,"records":431939,"lastAttemptAt":"2026-11-25T06:08:09.0519188+00:00","lastSuccessAt":"2026-11-25T06:08:08.9770399+00:00","error":null,"lastVerifiedAt":"2026-11-25T06:08:09.0519188+00:00","snapshotPublishedAt":"2026-11-25T05:25:01+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-d64c2c9d90bd4cd49600a5be97e1a8e1","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T06:13:14.5555221+00:00","lastSuccessAt":"2026-11-25T06:13:14.549+00:00","error":"53 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T06:13:14.549+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13914,"expectedIdentifiers":13986,"failedIdentifiers":53},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T06:08:09.5402442+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T06:08:09.5402442+00:00","lastSuccessAt":"2026-11-25T06:08:09.7540169+00:00","error":null,"lastVerifiedAt":"2026-11-25T06:08:09.7540173+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-0e4986b3a9f146b9b9291d325cd3f55f","complete":true,"records":13950,"lastAttemptAt":"2026-11-25T06:08:11.0988209+00:00","lastSuccessAt":"2026-11-25T06:08:11.091+00:00","error":null,"lastVerifiedAt":"2026-11-25T06:08:11.091+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13986,"expectedIdentifiers":13986,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-e743412268199d418c20ac5ea5d5eefbef4a1c78fcbacada525fcf2201b41d4a","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T06:08:09.3962484+00:00","lastSuccessAt":"2026-11-24T23:11:09.9983084+00:00","error":null,"lastVerifiedAt":"2026-11-25T06:08:09.3962484+00:00","snapshotPublishedAt":"2026-11-24T22:48:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T06:08:09.1192515+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T06:08:09.1192515+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-40938cbac3e2265a24e0d129a60138a855ec8a44cbd619ad6c0de0b22c0e253f","complete":true,"records":3221,"lastAttemptAt":"2026-11-25T06:08:09.5010493+00:00","lastSuccessAt":"2026-11-24T22:27:06.1844325+00:00","error":null,"lastVerifiedAt":"2026-11-25T06:08:09.5010493+00:00","snapshotPublishedAt":"2026-11-24T22:03:27+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-6508b5601cebde5636c02aaee9585235b1518b5bed3f57c018753e63ffb99786","complete":true,"records":233075,"lastAttemptAt":"2026-11-25T06:08:09.2910276+00:00","lastSuccessAt":"2026-11-25T04:10:17.9306356+00:00","error":null,"lastVerifiedAt":"2026-11-25T06:08:09.2910276+00:00","snapshotPublishedAt":"2026-11-25T04:03:45+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}