Skip to main content
MalwarePublished

sso-tramvai-lib-roles (npm) · Malicious Code

Affects sso-tramvai-lib-rolesSource GCVE Database

0

Malicious package : remove sso-tramvai-lib-roles and rotate any secrets on hosts that installed it.

Data as of 6 Aug 2026, 18:24 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12442

What to do

Remove sso-tramvai-lib-roles from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmsso-tramvai-lib-rolesAffected
  • =20.8.3
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…