Malicious code in authsessionbridge (npm)
The npm package 'authsessionbridge' contains malicious code that executes arbitrary commands on the host system. Upon requiring the package, it fetches remote code from obfuscated URLs and executes it via eval(), exposing all environment variables and host identifiers to an attacker. The package impersonates the legitimate 'pino' logger to deceive users into installing it. Any system with this package installed should be considered fully compromised, and all secrets should be rotated immediately.
AI Analysis
Technical Summary
The 'authsessionbridge' npm package performs a remote fetch of JavaScript code from base64- and hex-obfuscated URLs hosted on jsonkeeper.com. This fetched code is executed directly using eval(), with access to an object containing the full process environment variables, OS platform, hostname, username, and MAC addresses. The package disguises itself as the 'pino' logger by including similarly named files and keywords to lure installations. This design grants the remote operator arbitrary code execution and full access to sensitive host information, effectively compromising any system that installs or runs this package.
Potential Impact
Systems with 'authsessionbridge' installed are fully compromised, allowing attackers arbitrary code execution and access to all environment variables and host identifiers. This can lead to theft of secrets, credentials, and other sensitive data. The compromise is severe enough that removing the package alone does not guarantee eradication of all malicious artifacts or backdoors. Immediate secret rotation is required to mitigate ongoing risk.
Mitigation Recommendations
No official patch or fix is available. The package should be immediately removed from all systems. All secrets and keys stored on compromised systems must be rotated from a different, trusted machine. Because the attacker may have persistent access, further forensic analysis and remediation are recommended to ensure complete removal of malicious code and backdoors.
Malicious code in authsessionbridge (npm)
Description
The npm package 'authsessionbridge' contains malicious code that executes arbitrary commands on the host system. Upon requiring the package, it fetches remote code from obfuscated URLs and executes it via eval(), exposing all environment variables and host identifiers to an attacker. The package impersonates the legitimate 'pino' logger to deceive users into installing it. Any system with this package installed should be considered fully compromised, and all secrets should be rotated immediately.
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 'authsessionbridge' npm package performs a remote fetch of JavaScript code from base64- and hex-obfuscated URLs hosted on jsonkeeper.com. This fetched code is executed directly using eval(), with access to an object containing the full process environment variables, OS platform, hostname, username, and MAC addresses. The package disguises itself as the 'pino' logger by including similarly named files and keywords to lure installations. This design grants the remote operator arbitrary code execution and full access to sensitive host information, effectively compromising any system that installs or runs this package.
Potential Impact
Systems with 'authsessionbridge' installed are fully compromised, allowing attackers arbitrary code execution and access to all environment variables and host identifiers. This can lead to theft of secrets, credentials, and other sensitive data. The compromise is severe enough that removing the package alone does not guarantee eradication of all malicious artifacts or backdoors. Immediate secret rotation is required to mitigate ongoing risk.
Mitigation Recommendations
No official patch or fix is available. The package should be immediately removed from all systems. All secrets and keys stored on compromised systems must be rotated from a different, trusted machine. Because the attacker may have persistent access, further forensic analysis and remediation are recommended to ensure complete removal of malicious code and backdoors.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6657
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-m936-8h93-fqm9"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a42ed5727e9c79719936c23
Added to database: 06/29/2026, 22:10:31 UTC
Last enriched: 07/10/2026, 13:05:01 UTC
Last updated: 07/29/2026, 12:29:32 UTC
Views: 38
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.