Skip to main content

Malicious code in sso-tramvai-lib-roles (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 12:36:37 UTC)
Source: GCVE Database
Product: sso-tramvai-lib-roles

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (66e65dc1bddf00bff70eb22b92e6ef1ad03aca2e1ab5f4c02b93d248d307f149) The package advertises itself as an SSO roles library but on require() loads _runtime.js, which detects the host platform, downloads an unsigned binary from obfuscated Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf102-baf.workers.dev — assembled via array-joined string fragments), with a DNS TXT-record fallback channel over subdomains of dl.well1.site (base64-reassembled chunks under c.<domain> and N.<domain>). The fetched bytes are written to disk under deceptive names (dotnet_diag_*.exe,.cache_*), chmod'd 0755, and executed detached via cmd.exe /c start /b on Windows or /bin/sh -c on Unix, with no hash or signature verification. A second parallel dropper module lib/telemetry.js (~81 KB) ships in the tarball framed as an 'analytics SDK' and contains the same base64-decode + chmod 0755 + sh -c <file> & pattern; it is not referenced from index.js in this version but is present in the published artifact. The package name resembles a Tramvai-family library; the code has no relationship to SSO or role management. ## Source: ghsa-malware (1d6b7aa323f498f3e3e40f671dcfecfc329d6f84b2815cf14df82980d5779a25) 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
sso-tramvai-lib-roles
Affected versions
=20.8.3

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/05/2026, 17:33:56 UTC

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.

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-12442
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735746bf8831d53915a062

Added to database: 08/05/2026, 15:31:18 UTC

Last enriched: 08/05/2026, 17:33:56 UTC

Last updated: 09/07/2026, 22:14:24 UTC

Views: 19

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