Advisory

MAL-2026-6101

Also known as: GHSA-q7qm-cfrq-fg6g

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

Summary

Malicious code in type-check-816d (npm)

Details

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

Source: amazon-inspector (6bd3f7912317a2b9465a4c22ea948951f70aaa8c0d12f152572d43febc5667dd)
The package declares a postinstall hook ("postinstall": "node run.js") that runs run.js automatically on npm install. run.js imports os, https, http, and child_process, reads host identifiers and environment data (process.env.USER, os.hostname(), os.platform(), process.cwd()), base64-encodes the payload (Buffer.from(...).toString('base64')), and exfiltrates it via outbound HTTP/HTTPS requests (multiple POST calls and a GET). The package name appears to be a numeric-suffixed lure with no legitimate documented purpose, and the postinstall behavior is a credential/host-recon exfiltration pattern rather than any build or setup task. Installing this package causes immediate, unattended exfiltration of installer host data to an attacker-controlled endpoint.

Source: ghsa-malware (61d6a8d969f423b926400caee1087849fe0475b8ca302176004bfd5574e50e3d)
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-18 03:27 UTC
Modified
2026-06-18 06:01 UTC

Affected packages and fixes

type-check-816d

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