MAL-2026-6328
Dashboard / Malicious Package / MAL-2026-6328
MAL-2026-6328
Summary: Malicious code in @muaththir/api (npm)
Details: Source: amazon-inspector (66954b91179d60bfbf1c18e8ed8ed9e6b12ab7b13bc6ab2a4174c3bf063c2c0a) 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.
References: https://github.com/advisories/GHSA-vxx9-pq69-m5rh, https://www.npmjs.com/package/@muaththir/api/v/2.0.0
Affected packages
Package
Name: @muaththir/api
Purl: pkg:npm/%40muaththir%2Fapi
Affected ranges
Type: SEMVER
Events:
