Advisory

MAL-2026-12417

Also known as: GHSA-f5h9-q436-8chv

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

Summary

Malicious code in post-css-transfer (npm)

Details

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

Source: amazon-inspector (f62ccc235772a34a28d870f349489698c167e3d636a196f310fe24c1ce1d4ef4)
post-css-transfer is a typosquat of postcss whose main entry lib/postcss.js has an obfuscated IIFE appended after the legitimate module code. On require/import, the appended block resolves a command-and-control IP by reading transactions of Ethereum address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a via public Ethereum RPC endpoints and the eth.blockscout.com API, decodes two IPv4 addresses from the transaction recipient bytes, fetches an XOR-encrypted payload over HTTP from those hosts (delivered in an x-payload-b64 header), and executes the decrypted payload via eval() and a detached node -e child process. Network, execution, and identifier primitives (http, child_process, spawn, the Ethereum address, method and header names) are written as \uXXXX escapes and hidden behind ~1KB of whitespace padding after module.exports = postcss; to evade casual review.

Source: ghsa-malware (3e35af1cb71e17048626ceebf0ea0022262f7bfbbfd82cedf4c9ee5c19bfaa76)
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-08-05 12:46 UTC
Modified
2026-08-11 00:50 UTC

Affected packages and fixes

post-css-transfer

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