MAL-2026-10979
Dashboard / Malicious Package / MAL-2026-10979
MAL-2026-10979
Summary: Malicious code in @apexfdn/apex (npm)
Details: Source: amazon-inspector (dbc2117528ff8a612341edb673a46c0ced3745bccf0c4c60f3b7cdf86d501af3) On 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. Source: ghsa-malware (df9efaae229211f074088ddd2af0aa90bbb5598a155fcfb982b37133be73dfc8) Any 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.
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
Affected packages
Package
Name: @apexfdn/apex
Purl: pkg:npm/%40apexfdn/apex
Affected ranges
Type: N/A
Events:
