OpenSSF/OSV advisory MAL-2026-6328 confirms this npm version as malicious. 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)...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @muaththir/api (npm)
Details
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.
## Source: ghsa-malware (9ec22d0ad4c63f404155299bfcc188c3807cc2b1476a70fda3b55280e2f637ba) 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.
Decision reason
OpenSSF Malicious Packages via OSV confirms @muaththir/api@2.0.0 as malicious (MAL-2026-6328): Malicious code in @muaththir/api (npm)