{"id":"MAL-2026-10506","revision":null,"records":[{"revision":"2ddb353940e74c1e9fa30de0a49b8124","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10506","aliases":["GHSA-qgvj-fw22-j5v6"],"title":"Malicious code in node-fsagent (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a3a0392a3ddea9b6099e8501fdb827f586a410323cecea214aa50fc1be42183b)\nThe package tarball ships archive-sender.js, which archives the host path /root/.codex, splits the tar into ~200MB chunks, reconstructs an npm registry _authToken at runtime by XOR-ing an embedded byte array against a key array, writes that token into the local npm config via `npm config set //registry.npmjs.org/:_authToken`, and then invokes `npm publish --access public` on each chunk as sequential versioned releases of the package name 'node-fsagent'. This uses the public npm registry as a covert data-exfiltration channel and simultaneously constitutes credential distribution: the embedded token grants publish rights to the token owner's npm account and would allow republishing over the 'node-fsagent' name (and any other packages owned by that account). The declared main entry (index.js) is a single newline and no lifecycle scripts are declared in package.json, so archive-sender.js does not auto-execute on `npm install` or on `require('node-fsagent')`; the malicious behavior fires only when the script is invoked directly. The package advertises no legitimate functionality (empty main, no documented API), and the shipped script's only purpose is host-path archival and registry-token-driven upload.\n\n## Source: ghsa-malware (f92683bc191915cf41dfbd19408918115b320288317469de7b00014e4c3fec34)\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-07-13T22:07:46+00:00","modifiedAt":"2026-07-14T17:49:20.0920409+00:00","affected":[{"ecosystem":"npm","name":"node-fsagent","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["1.1.3","1.2.2","1.0.4","1.1.2","1.1.1","1.2.0","1.0.0","1.0.8","1.2.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/node-fsagent/v/1.1.3","https://www.npmjs.com/package/node-fsagent/v/1.2.2","https://www.npmjs.com/package/node-fsagent/v/1.0.4","https://www.npmjs.com/package/node-fsagent/v/1.1.2","https://www.npmjs.com/package/node-fsagent/v/1.1.1","https://www.npmjs.com/package/node-fsagent/v/1.2.0","https://www.npmjs.com/package/node-fsagent/v/1.0.0","https://www.npmjs.com/package/node-fsagent/v/1.0.8","https://www.npmjs.com/package/node-fsagent/v/1.2.1","https://github.com/advisories/GHSA-qgvj-fw22-j5v6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10506","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10506","identifiers":["MAL-2026-10506","GHSA-qgvj-fw22-j5v6"]},"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-24T23:11:10.5240930+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-24T23:11:10.524093+00:00","lastSuccessAt":"2026-11-24T23:11:10.7043067+00:00","error":null,"lastVerifiedAt":"2026-11-24T23:11:10.7043084+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-f6e4a7f93ed9acd6fcb1f804a4567f7b9b16730ac126110af8d6d24176317946-e6a9208a7f92f889958e15a99a4c3296adf3eb84451c2aa6e13cb69bc1367975","complete":true,"records":431754,"lastAttemptAt":"2026-11-24T23:08:38.3559276+00:00","lastSuccessAt":"2026-11-24T23:08:37.7212855+00:00","error":null,"lastVerifiedAt":"2026-11-24T23:08:38.3559276+00:00","snapshotPublishedAt":"2026-11-24T22:33:46+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-bc215327f30b46709a52361b68ce4cbe","complete":false,"records":13938,"lastAttemptAt":"2026-11-24T23:13:09.5979283+00:00","lastSuccessAt":"2026-11-24T23:13:09.589+00:00","error":"75 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-24T23:13:09.589+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13900,"expectedIdentifiers":13986,"failedIdentifiers":75},{"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-24T23:11:10.5240930+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-24T23:11:10.524093+00:00","lastSuccessAt":"2026-11-24T23:11:10.7215852+00:00","error":null,"lastVerifiedAt":"2026-11-24T23:11:10.7215873+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-7021cae8e43f4b90a538573307b663c1","complete":false,"records":13950,"lastAttemptAt":"2026-11-24T23:12:58.0356939+00:00","lastSuccessAt":"2026-11-24T23:12:58.027+00:00","error":"100 identifier lookups failed; latest failures include request timeout. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-24T23:12:58.027+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13882,"expectedIdentifiers":13986,"failedIdentifiers":100},{"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-24T23:11:10.3403789+00:00","lastSuccessAt":"2026-11-24T23:11:09.9983084+00:00","error":null,"lastVerifiedAt":"2026-11-24T23:11:10.3403789+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-24T23:08:38.5171685+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-24T23:08:38.5171685+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-24T23:11:10.4506583+00:00","lastSuccessAt":"2026-11-24T22:27:06.1844325+00:00","error":null,"lastVerifiedAt":"2026-11-24T23:11:10.4506583+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-559908ee6c12892d81d70208c376c9d0372a339467ddd588b3bb32122a40e9bf","complete":true,"records":233046,"lastAttemptAt":"2026-11-24T23:10:58.1808448+00:00","lastSuccessAt":"2026-11-24T23:10:56.4993211+00:00","error":null,"lastVerifiedAt":"2026-11-24T23:10:58.1808448+00:00","snapshotPublishedAt":"2026-11-24T22:48:17+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}