Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in qr-code-styling-temp (npm)

0
Critical
Published: 05/19/2026 (05/19/2026, 18:45:27 UTC)
Source: GCVE Database
Product: qr-code-styling-temp

Description

The npm package 'qr-code-styling-temp' is a malicious typosquatting package impersonating the legitimate 'qr-code-styling' library. It contains code that exfiltrates user and system information via DNS queries to an attacker-controlled domain during installation and runtime. Installing or running this package can lead to full system compromise, requiring immediate secret and key rotation and package removal.

Affected software

npmghsa
qr-code-styling-temp
Affected versions
=9.9.10=9.9.11

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/21/2026, 14:28:34 UTC

Technical Analysis

The 'qr-code-styling-temp' npm package includes malicious code that executes during its install lifecycle script and whenever it is required. It collects the username, hostname, and current working directory basename from the host system and encodes this information into a subdomain of 'oob.sl4x0.xyz'. It then performs a DNS resolve4 lookup to this subdomain, effectively leaking sensitive environment details to an attacker-controlled domain. The package uses obfuscation techniques such as hiding module names and the command-and-control domain in character code arrays and dynamically loading modules to evade static detection. The package name mimics a popular library to lure victims, and the author email domain matches the exfiltration domain, confirming attacker control. The package versions 9.9.10 and 9.9.11 are affected. According to the source, any system with this package installed should be considered fully compromised.

Potential Impact

Systems with this package installed or running are at high risk of full compromise. Sensitive information such as usernames, hostnames, and working directory names are exfiltrated to an attacker-controlled domain. The compromise may allow attackers to gain persistent access and control over the affected system. Secrets and keys stored on the compromised system should be considered exposed and require immediate rotation from a secure environment. Removal of the package alone does not guarantee eradication of all malicious artifacts.

Defensive Guidance

Remove the 'qr-code-styling-temp' package immediately from all affected systems. Rotate all secrets, credentials, and keys that were stored or used on the compromised system from a different, trusted environment. Because the package may have allowed full system compromise, conduct a thorough incident response and forensic analysis to identify and remediate any additional persistence mechanisms or malware. No official patch or fix is available; the package itself is malicious and should be avoided entirely.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-4655
Osv Schema Version
1.7.4
Aliases
["GHSA-pp2c-4x5r-7h8j"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a885f1aacd9273b493f7916

Added to database: 08/21/2026, 14:22:18 UTC

Last enriched: 08/21/2026, 14:28:34 UTC

Last updated: 08/21/2026, 22:24:28 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses