MAL-2026-12442

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sso-tramvai-lib-roles/MAL-2026-12442.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12442
Aliases
  • GHSA-pp46-jh43-q79f
Published
2026-08-05T12:36:37Z
Modified
2026-08-06T01:21:14.717959482Z
Summary
Malicious code in sso-tramvai-lib-roles (npm)
Details

-= 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 (dotnetdiag_*.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.

Database specific
{
    "malicious-packages-origins": [
        {
            "versions": [
                "20.8.3"
            ],
            "import_time": "2026-08-05T13:08:41.399922169Z",
            "sha256": "66e65dc1bddf00bff70eb22b92e6ef1ad03aca2e1ab5f4c02b93d248d307f149",
            "id": "IN-MAL-2026-014727",
            "modified_time": "2026-08-05T12:36:37Z",
            "source": "amazon-inspector"
        },
        {
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "1d6b7aa323f498f3e3e40f671dcfecfc329d6f84b2815cf14df82980d5779a25",
            "id": "GHSA-pp46-jh43-q79f",
            "import_time": "2026-08-06T00:58:53.425643731Z",
            "modified_time": "2026-08-05T20:04:49Z",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / sso-tramvai-lib-roles

Package

Name
sso-tramvai-lib-roles
View open source insights on deps.dev
Purl
pkg:npm/sso-tramvai-lib-roles

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

20.*
20.8.3

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "sso-tramvai-lib-roles-20.8.3.tgz",
            "hashes": {
                "sha512_sri": "sha512-Hu7MTh5fXgc7WdfNpySCUmE0szugA/cLEkzL5ARjNVGfBEDda/UxK8TWIkj3H4/U2tNl9vjgzHqnSp46NmQ5Yg==",
                "sha1": "48e87b694b68b89fc5f331262683a45c81f56773"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "bfb1e7a5066670198bb0ebe4c71b8815f65bf2633781c2d4f79c69885fb20248372efc",
            "sha256": "d4ba9e2a62b8967c9debc9aa5da051e86f3cebc5b401a7973237ed7d9d4bab77",
            "path": "_runtime.js"
        },
        {
            "path": "lib/telemetry.js",
            "sha256": "3c3ac7f06777b6b77a7fb0b8a873656727b2c678b6e95348c0b4cac9e0af6859",
            "tlsh": "f7835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sso-tramvai-lib-roles/MAL-2026-12442.json"