MAL-2026-20306
Malicious code in xssdoctor-muse-task448-provider-runtime (npm)
Auswirkung
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.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | xssdoctor-muse-task448-provider-runtime | unbekannt | nicht erfasst |