Malicious code in sso-tramvai-lib-roles (npm)
The npm package sso-tramvai-lib-roles version 20.8.3 is a malicious package masquerading as an SSO roles library. Upon requiring, it loads a runtime script that detects the host platform and downloads an unsigned binary from obfuscated Cloudflare Workers hosts, using a DNS TXT-record fallback channel. The binary is saved with deceptive filenames, given executable permissions, and executed without any signature verification. Additionally, the package contains a secondary dropper module framed as an analytics SDK that performs similar malicious actions but is not invoked by the main code. The package is unrelated to legitimate SSO or role management functionality.
AI Analysis
Technical Summary
The sso-tramvai-lib-roles npm package (version 20.8.3) is identified as malicious. It loads a runtime JavaScript file that detects the host OS and downloads an unsigned executable binary from obfuscated Cloudflare Workers domains, with a DNS TXT-record fallback mechanism. The binary is saved under misleading filenames, permissioned to execute, and launched detached via system shell commands on both Windows and Unix platforms. A secondary dropper module named telemetry.js is included in the package tarball, containing similar behavior but is not referenced by the main entry point. The package name mimics a legitimate Tramvai library but contains no genuine SSO or role management code.
Potential Impact
This malicious package can execute arbitrary unsigned binaries on the host system without user consent or verification, potentially leading to full system compromise or further malware deployment. The use of obfuscated download URLs and fallback DNS TXT channels complicates detection and blocking. The presence of a secondary dropper module increases the attack surface. There is no indication of active exploitation in the wild at this time.
Mitigation Recommendations
No official patch or remediation is available since this is a malicious package rather than a vulnerability in legitimate software. Users should immediately remove sso-tramvai-lib-roles version 20.8.3 from their projects and dependency trees. Avoid installing packages from untrusted or suspicious sources. Employ supply chain security measures such as verifying package provenance and using trusted registries. Monitor for any unexpected execution of binaries named like dotnet_diag_*.exe or .cache_* and investigate accordingly.
Malicious code in sso-tramvai-lib-roles (npm)
Description
The npm package sso-tramvai-lib-roles version 20.8.3 is a malicious package masquerading as an SSO roles library. Upon requiring, it loads a runtime script that detects the host platform and downloads an unsigned binary from obfuscated Cloudflare Workers hosts, using a DNS TXT-record fallback channel. The binary is saved with deceptive filenames, given executable permissions, and executed without any signature verification. Additionally, the package contains a secondary dropper module framed as an analytics SDK that performs similar malicious actions but is not invoked by the main code. The package is unrelated to legitimate SSO or role management functionality.
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 sso-tramvai-lib-roles npm package (version 20.8.3) is identified as malicious. It loads a runtime JavaScript file that detects the host OS and downloads an unsigned executable binary from obfuscated Cloudflare Workers domains, with a DNS TXT-record fallback mechanism. The binary is saved under misleading filenames, permissioned to execute, and launched detached via system shell commands on both Windows and Unix platforms. A secondary dropper module named telemetry.js is included in the package tarball, containing similar behavior but is not referenced by the main entry point. The package name mimics a legitimate Tramvai library but contains no genuine SSO or role management code.
Potential Impact
This malicious package can execute arbitrary unsigned binaries on the host system without user consent or verification, potentially leading to full system compromise or further malware deployment. The use of obfuscated download URLs and fallback DNS TXT channels complicates detection and blocking. The presence of a secondary dropper module increases the attack surface. There is no indication of active exploitation in the wild at this time.
Mitigation Recommendations
No official patch or remediation is available since this is a malicious package rather than a vulnerability in legitimate software. Users should immediately remove sso-tramvai-lib-roles version 20.8.3 from their projects and dependency trees. Avoid installing packages from untrusted or suspicious sources. Employ supply chain security measures such as verifying package provenance and using trusted registries. Monitor for any unexpected execution of binaries named like dotnet_diag_*.exe or .cache_* and investigate accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12442
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735746bf8831d53915a062
Added to database: 08/05/2026, 15:31:18 UTC
Last enriched: 08/05/2026, 17:33:56 UTC
Last updated: 08/05/2026, 17:33:56 UTC
Views: 2
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.