Malware in postcss-minify-selector
Malware discovered in the npm package postcss-minify-selector. The package is considered to provide full system compromise to any computer where it is installed or running.
- Disclosed
- Last updated
- Blast radius
- Any system with the package installed or running
- Ecosystems
- Attack vectors
- Affected entities
- postcss-minify-selector
A critical malware incident has been identified in the npm package postcss-minify-selector. According to the GitHub Advisory (GHSA-gwv6-f7j6-4xc8), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory recommends that all secrets and keys stored on affected computers be rotated immediately from a different, uncompromised system. While the package should be removed, there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the package installation, given the potential for full system compromise.\n\nAffected systems should be treated as potentially under the control of an external threat actor and handled accordingly.
Indicators of compromise
- Packages
- postcss-minify-selector
Remediation
- Immediately isolate any computer with postcss-minify-selector installed from the network
- Rotate all secrets, API keys, and credentials from a different, uncompromised computer
- Remove the postcss-minify-selector package from all systems
- Perform a full security audit and malware scan of affected systems
- Consider full system reimaging if the package was installed on production or sensitive systems
- Review all access logs and activity on affected systems for signs of unauthorized access or data exfiltration
Sources
- GitHub Advisory GHSA-gwv6-f7j6-4xc8 · GitHub Advisory Database
Cite this entry
"Malware in postcss-minify-selector." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 24, 2026; last updated June 24, 2026. https://supplychainattack.org/incident/malware-in-postcss-minify-selector-1u44s0
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- containedcritical
Malware in fetch-runtime
Malware was discovered in the npm package fetch-runtime. Any system with this package installed or running should be considered fully compromised. All secrets and keys must be rotated immediately from a different computer.
npmCompromised package - resolvedcritical
Malicious code in ghazaly (npm)
The npm package ghazaly version 99.9.0 contained malicious code that executed a postinstall hook to collect system information (hostname, current user, IP addresses) and exfiltrate it to a Burp Collaborator domain. The package exhibited dependency-confusion characteristics with a high version number and nonsense dependencies.
npmCompromised packageDependency confusion - containedcritical
Malicious code in base65-13x (npm)
base65-13x@5.0.2 on npm contains malicious obfuscated code disguised as a legitimate base-x library. The decode() function executes a ~123KB VM-style payload with dynamic code construction and network I/O capabilities.
npmCompromised package - containedcritical
Malicious code in kit-vim-map (npm)
The npm package kit-vim-map contained malicious code that executes a remote-controlled Linux ELF binary on installation, providing the attacker with arbitrary RCE, persistence, and file exfiltration capabilities. The binary beacons to C2 server 217.60.77.63 and establishes persistence via systemd user units.
npmCompromised packageMalicious commit