Advisory

MAL-2026-6328

Also known as: GHSA-vxx9-pq69-m5rh

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in @muaththir/api (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

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.

Severity

Not rated by the source.

Dates

Published
2026-06-23 16:11 UTC
Modified
2026-06-26 21:46 UTC

Affected packages and fixes

@muaththir/api

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences