Advisory

MAL-2026-6348

Also known as: None

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

Summary

Malicious code in buffer-wrap-67d7 (npm)

Details

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

Source: amazon-inspector (a0192c1f2bf35c50a401e2df63f505564880339f5329c0ffcfdb8748cd6d48e3)
The package declares a postinstall hook ("postinstall": "node run.js") that executes run.js automatically on npm install. run.js imports os, fs, http, https, and child_process, and collects host and user identity signals including os.hostname(), os.userInfo(), os.platform(), process.env.USER, and process.cwd(), alongside filesystem reads (fs.existsSync, fs.readFileSync). Collected data is base64-encoded (Buffer.from(...).toString('base64')) and POSTed out via http/https calls (multiple POST sites at run.js lines 131, 339, 346). The composition — automatic lifecycle trigger, system/user reconnaissance, base64 packaging, and outbound POSTs — is the canonical install-time exfiltration shape and produces direct attacker benefit (host fingerprinting and credential-adjacent data leaving the installer's machine).

Severity

Not rated by the source.

Dates

Published
2026-06-23 21:40 UTC
Modified
2026-06-23 22:46 UTC

Affected packages and fixes

buffer-wrap-67d7

npm · All systems

Affected

  • Versions: 1.0.0

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