Advisory

MAL-2026-3769

Also known as: GHSA-8558-w8j5-67wq

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

Summary

Malicious code in prettier-lint-lenz (npm)

Details

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

Source: amazon-inspector (28f7035dda69170600724a31f4b3543e02ac23c9153f3a62c35f2ee5264eef44)
Package impersonates the popular prettier formatter — README and description are copied verbatim from the real Prettier project, but the package ships no formatter code. Instead, package.json declares "postinstall": "node index.mjs", which on Windows POSTs an install beacon to a hardcoded bare-IP C2 (http://204.10.194.64:5000/api/nonce), copies a bundled prettier-lint/ directory to %LOCALAPPDATA%\prettier-lint, and executes ctll.mjs from the deployed location. ctll.mjs writes a hidden VBScript runner and registers a Windows Scheduled Task named CdllProtect with a LogonTrigger (schtasks /Create /XML) that relaunches cdll.mjs via wscript.exe //nologo in a hidden window on every user logon, with 999 retries and no execution time limit. The deployed cdll.mjs polls the clipboard every ~250ms via powershell.exe Get-Clipboard -Raw and POSTs the raw clipboard text as JSON to the same hardcoded endpoint over plain HTTP on every change, exfiltrating passwords, 2FA codes, wallet addresses, and any copied text. All three components (install-time beacon, deployed worker, persistence) share the attacker-controlled endpoint 204.10.194.64:5000.

Source: ghsa-malware (999f12054e9fb865c3b9176056498b16329b0406f230b1bf23f6a1384d8cd63b)
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-05-14 19:25 UTC
Modified
2026-09-23 03:45 UTC

Affected packages and fixes

prettier-lint-lenz

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