qr-code-styling-temp (npm) · Malicious Code
Affects qr-code-styling-tempSource GCVE Database
Malicious package : remove qr-code-styling-temp and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:18 UTC
Malicious package
Published to npm · OSV MAL-2026-4655
What to do
Remove qr-code-styling-temp from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmqr-code-styling-temp | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'qr-code-styling-temp' is a malicious typosquatting package impersonating the legitimate 'qr-code-styling' library. It executes code during installation and runtime that collects system information such as username, hostname, and current directory, then exfiltrates this data via DNS queries to an attacker-controlled domain. This behavior occurs on every npm install and require call, potentially compromising the host system. The package's author email and exfiltration domain share the same attacker-controlled domain, confirming malicious intent. Systems with this package installed should be considered fully compromised.
References
- npmjs.com/package/qr-code-styling-temp/v/9.9.10 (opens in a new tab)
- npmjs.com/package/qr-code-styling-temp/v/9.9.11 (opens in a new tab)
- github.com/advisories/GHSA-pp2c-4x5r-7h8j (opens in a new tab)
- github.com/advisories/GHSA-m7q2-jqhj-4f3q (opens in a new tab)
- security.snyk.io/vuln/SNYK-JS-QRCODESTYLINGTEMP-19161484 (opens in a new tab)