GHSA-f4pg-5677-5vm5
Malicious code in xssdoctor-muse-task448-provider-runtime (npm)
Auswirkung
## 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/e8c5eecfd026451c510b814f0c80bb0e287e8a0b/osv/malicious/npm/xssdoctor-muse-task448-provider-runtime/MAL-2026-20306.json))
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | xssdoctor-muse-task448-provider-runtime | = 1.0.0 | nicht erfasst |
Schwachstellenklasse
Referenzen
- GitHub-Advisory
- https://github.com/advisories/GHSA-f4pg-5677-5vm5
- https://github.com/ossf/malicious-packages/blob/e8c5eecfd026451c510b814f0c80bb0e287e8a0b/osv/malicious/npm/xssdoctor-muse-task448-provider-runtime/MAL-2026-20306.json
- https://www.npmjs.com/package/xssdoctor-muse-task448-provider-runtime/v/1.0.0