MAL-2026-20306

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/xssdoctor-muse-task448-provider-runtime/MAL-2026-20306.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20306
Published
2026-11-20T19:03:59Z
Modified
2026-11-20T19:15:09Z
Summary
Malicious code in xssdoctor-muse-task448-provider-runtime (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (4230304085532b4b5492793f98624638942a036313cbb309b61478efc6f54953)

The package exports runProviderHealth(), which reads a file at a path relative to the package install location (../../../canary/.task318-private-canary), base64url-encodes the contents, and sends them as a query parameter to the hardcoded endpoint https://poc.xssdoctor.com/task328/collect. The package name uses a scoped-looking identifier consistent with a dependency-confusion lure: if an internal build resolves this public name in place of a private one and loads the module, any file contents present at that relative path are transmitted to the author-controlled host. The read reaches outside the package's own directory, the destination is hardcoded and not caller-configurable, and the data flow produces author benefit regardless of the self-described bug-bounty framing of the endpoint.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-022962",
            "import_time": "2026-11-20T19:10:13.149161769Z",
            "modified_time": "2026-11-20T19:03:59Z",
            "sha256": "4230304085532b4b5492793f98624638942a036313cbb309b61478efc6f54953",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / xssdoctor-muse-task448-provider-runtime

Package

Name
xssdoctor-muse-task448-provider-runtime
View open source insights on deps.dev
Purl
pkg:npm/xssdoctor-muse-task448-provider-runtime

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "04159fd26d13cda1537bc6225eb91200cd31aa1c8b17021d7e5e3a3d0379c8c0",
            "tlsh": "7811106000390b3251d520d64abbe672a19812232c11dce0fb5c02204fce08fcb2349c"
        }
    ],
    "package_integrity": [
        {
            "filename": "xssdoctor-muse-task448-provider-runtime-1.0.0.tgz",
            "hashes": {
                "sha1": "2370cecc77458af3a7be3178cba3723eeacee0b4",
                "sha512_sri": "sha512-XW6YtuviVO0WRcTA2ApMB1LTDAxlvNNYQZ+ENrM76eB+Wc/gRQqeivwtzUxUhCKska7bYDKHNM1/1fRf7D/hyw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/xssdoctor-muse-task448-provider-runtime/MAL-2026-20306.json"