Malicious code in auth-state-service (npm)
The npm package 'auth-state-service' contains malicious code that performs a silent, unpinned remote installation of another package ('ssr-auth-sync') at require time. This secondary package executes code within the consumer's process, representing a supply-chain attack. The package disguises itself with misleading metadata and includes evasion techniques such as obfuscated error messages. Systems with this package installed or running should be considered fully compromised, and all secrets and keys on those systems should be rotated immediately from a separate, trusted environment.
AI Analysis
Technical Summary
The 'auth-state-service' npm package, when required, attempts to load 'ssr-auth-sync'. If this dependency is missing, it silently executes 'npm install ssr-auth-sync' without warnings or saving it to package files, then requires it. The 'ssr-auth-sync' package is unpinned and unverified, allowing arbitrary code execution within the consumer's process. The primary package uses obfuscation and a misleading package identity unrelated to its actual functionality, indicating a supply-chain attack. This behavior effectively compromises any system using the package, as the malicious payload is dynamically fetched and executed.
Potential Impact
Any computer with 'auth-state-service' installed or running is considered fully compromised. The malicious package can execute arbitrary code within the process, potentially leading to complete system compromise. All secrets and keys stored on the affected system are at risk and should be rotated immediately. Removal of the package alone does not guarantee eradication of the malicious software, as the attacker may have established persistent control.
Mitigation Recommendations
There is no official patch or fix available for this malicious package. The recommended mitigation is to immediately remove 'auth-state-service' from all systems. Additionally, all secrets and keys stored on affected systems must be rotated from a separate, trusted environment. Due to the severity and nature of the compromise, affected systems should be considered fully compromised and may require comprehensive incident response and remediation.
Malicious code in auth-state-service (npm)
Description
The npm package 'auth-state-service' contains malicious code that performs a silent, unpinned remote installation of another package ('ssr-auth-sync') at require time. This secondary package executes code within the consumer's process, representing a supply-chain attack. The package disguises itself with misleading metadata and includes evasion techniques such as obfuscated error messages. Systems with this package installed or running should be considered fully compromised, and all secrets and keys on those systems should be rotated immediately from a separate, trusted environment.
Affected software
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
Technical Analysis
The 'auth-state-service' npm package, when required, attempts to load 'ssr-auth-sync'. If this dependency is missing, it silently executes 'npm install ssr-auth-sync' without warnings or saving it to package files, then requires it. The 'ssr-auth-sync' package is unpinned and unverified, allowing arbitrary code execution within the consumer's process. The primary package uses obfuscation and a misleading package identity unrelated to its actual functionality, indicating a supply-chain attack. This behavior effectively compromises any system using the package, as the malicious payload is dynamically fetched and executed.
Potential Impact
Any computer with 'auth-state-service' installed or running is considered fully compromised. The malicious package can execute arbitrary code within the process, potentially leading to complete system compromise. All secrets and keys stored on the affected system are at risk and should be rotated immediately. Removal of the package alone does not guarantee eradication of the malicious software, as the attacker may have established persistent control.
Mitigation Recommendations
There is no official patch or fix available for this malicious package. The recommended mitigation is to immediately remove 'auth-state-service' from all systems. Additionally, all secrets and keys stored on affected systems must be rotated from a separate, trusted environment. Due to the severity and nature of the compromise, affected systems should be considered fully compromised and may require comprehensive incident response and remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6655
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-53ph-27qg-w52c"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a42ed5727e9c79719936c26
Added to database: 06/29/2026, 22:10:31 UTC
Last enriched: 07/10/2026, 13:05:16 UTC
Last updated: 07/30/2026, 10:39:14 UTC
Views: 46
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.