cvelo
P2 · HighMalware

Malicious code in xssdoctor-muse-task448-provider-runtime (npm)

  • MAL-2026-20306

Description

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.

Text from the OSV record.

Affected

  • xssdoctor-muse-task448-provider-runtimenpm

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.