NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

sso-tramvai-lib-rolesnpm

Advisory published Updated

sso-tramvai-lib-roles is a confirmed malicious npm package (MAL-2026-12442) that executes malicious code on install (malicious version 20.8.3). Do not install it — remove it immediately and rotate any exposed credentials.

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

MAL-2026-12442
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall sso-tramvai-lib-roles

What this malware does

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.

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.

Malicious versions

1 flagged
20.8.3

Indicators of compromise (SHA-256)

66e65dc1bddf00bff70eb22b92e6ef1ad03aca2e1ab5f4c02b93d248d307f149
1d6b7aa323f498f3e3e40f671dcfecfc329d6f84b2815cf14df82980d5779a25

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for sso-tramvai-lib-roles (version 20.8.3).

  2. If you installed it — respond

    Remove sso-tramvai-lib-roles from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If sso-tramvai-lib-roles was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. sso-tramvai-lib-roles on npm has been identified as a malicious package (version 20.8.3 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-014727GHSA-pp46-jh43-q79f

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks sso-tramvai-lib-roles-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

sso-tramvai-lib-roles (npm) malicious package — MAL-2026-12442 | O3 Security