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

@muaththir/apinpm

Advisory published Updated

@muaththir/api is a confirmed malicious npm package (MAL-2026-6328) that opens a backdoor for remote access (malicious version 2.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @muaththir/api (npm)

MAL-2026-6328
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @muaththir/api

What this malware does

On npm install, the package's preinstall lifecycle hook runs node index.js, which collects host identifiers (os.userInfo().username, process.cwd(), Node version, process.platform, architecture) and POSTs them via https.request to the hardcoded endpoint https://avamnrwqo7.rbmock.dev/api (an rbmock.dev mock-server host). The preinstall command suppresses all output by redirecting to /dev/null 2>&1, hiding the beacon from the installer. The package author is a placeholder identity and the package description is empty, consistent with a beacon/PoC rather than a legitimate library. Installing this package causes silent leakage of installer username, working directory, and host metadata to a third-party endpoint.

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.

Malicious versions

1 flagged
2.0.0

Indicators of compromise (SHA-256)

9ec22d0ad4c63f404155299bfcc188c3807cc2b1476a70fda3b55280e2f637ba
66954b91179d60bfbf1c18e8ed8ed9e6b12ab7b13bc6ab2a4174c3bf063c2c0a

Detection & response playbook

Backdoor / remote access
  1. Find it

    Search your lockfiles and build artifacts for @muaththir/api (version 2.0.0).

  2. If you installed it — respond

    @muaththir/api establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.

  3. Did it already run?

    If @muaththir/api 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. @muaththir/api on npm has been identified as a malicious package (version 2.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-vxx9-pq69-m5rhIN-MAL-2026-007662

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @muaththir/api-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.

Explore

@muaththir/api (npm) malicious package — MAL-2026-6328 | O3 Security