{"id":"GHSA-w63r-vpcf-2wwf","revision":null,"records":[{"revision":"4bc40524fa5a41f3adbcf0bb3f9aec67","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10979","aliases":["GHSA-w63r-vpcf-2wwf"],"title":"Malicious code in @apexfdn/apex (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (dbc2117528ff8a612341edb673a46c0ced3745bccf0c4c60f3b7cdf86d501af3)\nOn npm install, install.js runs as a postinstall step and downloads a platform-specific executable from https://github.com/Apex-Foundation/copilot/releases/download/v<VERSION>/<assetName>, writes it to BIN_PATH, and chmods it 0755 on non-Windows. No hash or signature verification is performed. The package.json declares repository can1357/oh-my-pi and homepage omp.sh, and the shipped README describes an unrelated project (@oh-my-pi/pi-coding-agent, the omp coding agent by can1357) — neither matches the Apex-Foundation/copilot GitHub org the binary is pulled from. The declared main and exports point to a TypeScript tree that is not present in the tarball; the only shipped runtime artifacts are apex.js, install.js, and a bin shim. apex.js unconditionally spawns the downloaded binary with the user's environment on every CLI invocation. The publisher/source mismatch, cover-story README impersonating an unrelated coding-agent project, and unverified execution of third-party bytes at install time constitute a mismatched-publisher dropper: `npm install @apexfdn/apex` causes attacker-controlled bytes from a third-party GitHub org to be fetched and staged as an executable that then runs against the installer's environment.\n\n## Source: ghsa-malware (df9efaae229211f074088ddd2af0aa90bbb5598a155fcfb982b37133be73dfc8)\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-21T21:00:37+00:00","modifiedAt":"2026-08-05T06:35:05.8175052+00:00","affected":[{"ecosystem":"npm","name":"@apexfdn/apex","ranges":[],"versions":["1.0.32","1.0.31","1.0.30","1.0.29","1.0.28","1.0.27","1.0.26","1.0.25","1.0.24","1.0.23","1.0.22","1.0.21","1.0.20","1.0.19","1.0.18","1.0.17","1.0.16","1.0.15","1.0.14","1.0.13","1.0.12","1.0.11","1.0.10","1.0.9","1.0.8","1.0.7","1.0.6","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/advisories/GHSA-w63r-vpcf-2wwf","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.32","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.19","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.27","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.13","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.20","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.9","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.17","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.22","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.31","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.28","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.6","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.23","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.21","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.24","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.15","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.4","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.12","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.16","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.7","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.1","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.8","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.2","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.18","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.10","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.3","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.29","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.11","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.5","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.25","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.26","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.30","https://www.npmjs.com/package/@apexfdn/apex/v/1.0.14"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10979","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10979","identifiers":["MAL-2026-10979","GHSA-w63r-vpcf-2wwf"]},"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-23T09:27:30.8827515+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-23T09:27:30.8827515+00:00","lastSuccessAt":"2026-11-23T09:27:31.0510512+00:00","error":null,"lastVerifiedAt":"2026-11-23T09:27:31.0510515+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-d008fb8e7e5a0f37166ee57a6d9d22b27e49b9d9438b4ce80c4c6c326ac5d75a-3e02d059768a72112b8641955e4e27fc94f46c7d060ac534afd8f74f879e95c2","complete":true,"records":430589,"lastAttemptAt":"2026-11-23T09:25:40.1538459+00:00","lastSuccessAt":"2026-11-23T09:25:39.9233088+00:00","error":null,"lastVerifiedAt":"2026-11-23T09:25:40.1538459+00:00","snapshotPublishedAt":"2026-11-23T08:32:34+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-0614dcf131b64914bef37f513abb4866","complete":false,"records":13928,"lastAttemptAt":"2026-11-23T09:34:52.1039452+00:00","lastSuccessAt":"2026-11-23T09:34:51.078+00:00","error":"174 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-23T09:34:51.078+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13796,"expectedIdentifiers":13976,"failedIdentifiers":174},{"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-23T09:27:30.8827515+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-23T09:27:30.8827515+00:00","lastSuccessAt":"2026-11-23T09:27:31.0519407+00:00","error":null,"lastVerifiedAt":"2026-11-23T09:27:31.0519408+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-7a6f177e9faa413ba7fe40538706cfab","complete":true,"records":13940,"lastAttemptAt":"2026-11-23T09:27:31.5889839+00:00","lastSuccessAt":"2026-11-23T08:27:39.857+00:00","error":null,"lastVerifiedAt":"2026-11-23T08:27:39.857+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13976,"expectedIdentifiers":13976,"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-a9c862bcf8bde52ce182f69609f4579ca2fc6956e44f694dddf6a66800619683","complete":true,"records":9989,"lastAttemptAt":"2026-11-23T09:27:30.4718959+00:00","lastSuccessAt":"2026-11-22T16:25:54.6432964+00:00","error":null,"lastVerifiedAt":"2026-11-23T09:27:30.4718959+00:00","snapshotPublishedAt":"2026-11-22T16:18:32+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-23T09:25:40.21794+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-23T09:25:40.21794+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-34e3febe229a8c4d306159756d21338234dcade8dc1897229c4083bb83bd0f50","complete":true,"records":3215,"lastAttemptAt":"2026-11-23T09:27:30.8390144+00:00","lastSuccessAt":"2026-11-22T22:25:42.902989+00:00","error":null,"lastVerifiedAt":"2026-11-23T09:27:30.8390144+00:00","snapshotPublishedAt":"2026-11-22T21:48:33+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-85cdf8b9a75af46828b56bab183374f02fe7f6ae7e5dd6056a42d534949b088b","complete":true,"records":232874,"lastAttemptAt":"2026-11-23T09:27:30.3223624+00:00","lastSuccessAt":"2026-11-23T09:27:29.2250374+00:00","error":null,"lastVerifiedAt":"2026-11-23T09:27:30.3223624+00:00","snapshotPublishedAt":"2026-11-23T08:48:45+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}