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 ssr-auth-sync (npm)

0
Critical
Published: 06/16/2026 (06/16/2026, 22:20:18 UTC)
Source: GCVE Database
Product: ssr-auth-sync

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (7fe43338279cb894ffacc18ef9ec757d4b4fa8b603672b0bedcb4c00d9f8a806) On require('ssr-auth-sync'), index.js loads lib/writer.js, which immediately fetches a base64-hidden URL (https://www.jsonkeeper.com/b/PJNZP, an anonymous pastebin-style host) via axios and passes the response body to eval. Just before the fetch, writer.js assembles an object containing the full process.env spread plus os.hostname(), os.userInfo().username, os.platform(), package version, and MAC addresses; this object is in lexical scope when eval runs, giving the attacker-served code a ready-to-exfiltrate payload of every secret in the installer's or CI's environment (AWS keys, npm tokens, CI secrets, etc.). A second covert channel is also present: a hex-decoding helper g() and an array hl containing hex-encoded strings that decode to 'axios', 'get', 'https://www.jsonkeeper.com/b/HY6M6', and 'then' — a parallel dropper hidden from string scanners. The package falsely advertises itself as an 'SSR auth sync' module while exporting a pino-shaped API and shipping pino-*.png brand assets, impersonating the popular pino logger to attract installs. Any project that adds this package to its dependency tree executes attacker-controlled code in its Node process the moment the module is required. ## Source: ghsa-malware (750b87dabb4a7421fb2a09f0e0f7b75b4a251f6c7c0d40c88055d44e2682c3cf) 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.

Affected software

npmghsa
ssr-auth-sync
Affected versions
=1.6.16

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: 07/11/2026, 12:35:14 UTC

Technical Analysis

The 'ssr-auth-sync' npm package (version 1.6.16) includes malicious functionality in its index.js and lib/writer.js files. Upon requiring the package, it loads a script that fetches a base64-encoded payload from an anonymous pastebin URL and executes it via eval. Before execution, it collects a comprehensive object containing environment variables, hostname, username, platform, package version, and MAC addresses, exposing sensitive secrets to the attacker. Additionally, a covert secondary payload is fetched using obfuscated hex-encoded strings to evade detection. The package falsely brands itself as an SSR authentication sync module while mimicking the 'pino' logger's API and assets to increase installs. This results in immediate remote code execution and secret exfiltration on any system that includes this package in its dependency tree.

Potential Impact

Systems with 'ssr-auth-sync' version 1.6.16 installed are subject to immediate remote code execution upon requiring the package. Sensitive environment secrets, including AWS credentials, npm tokens, and CI secrets, are exfiltrated to attacker-controlled servers. The full compromise of the host environment is likely, and any stored secrets should be considered exposed. Removal of the package does not guarantee eradication of all malicious artifacts due to potential persistence mechanisms.

Mitigation Recommendations

No official patch or fix is currently available. Immediate removal of the 'ssr-auth-sync' package version 1.6.16 from all projects and systems is strongly recommended. All secrets and credentials stored on affected systems should be rotated immediately using a secure, uncompromised environment. Due to the high likelihood of full system compromise, a thorough incident response and forensic analysis should be conducted to identify and remediate any additional malicious presence.

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-5934
Osv Schema Version
1.7.4
Aliases
["GHSA-5xwj-q4j9-v44q"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a42ed2327e9c79719933af4

Added to database: 06/29/2026, 22:09:39 UTC

Last enriched: 07/11/2026, 12:35:14 UTC

Last updated: 07/23/2026, 10:41:47 UTC

Views: 6

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