# MAL-2026-12442: Malicious code in sso-tramvai-lib-roles (npm)


- **Type:** Malicious package
- **Package:** `sso-tramvai-lib-roles` (npm)
- **Published:** 5 Aug 2026
- **Also known as:** GHSA-pp46-jh43-q79f

## What is MAL-2026-12442?

MAL-2026-12442 is a malicious package in sso-tramvai-lib-roles, published on 5 Aug 2026. 

### Official description

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.

## What should I do about MAL-2026-12442?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-12442 is a malicious package: sso-tramvai-lib-roles (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-12442/ (Markdown: https://insights.sbomify.com/MAL-2026-12442/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-12442

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-12442/
Summaries are generated and may contain mistakes; the official description above is the record.
