npm · Malicious package advisory
Malware10-shardsight-web
GHSA-6fq4-5r9g-9gfh
Malicious code in 10-shardsight-web (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.0.1` ## Source: amazon-inspector (4c7da64238cd4a48de7b5df200b6b36734be8e33dbc21e3f34a17c7235c94555) index.js is a top-level async IIFE that fetches HTML from the hardcoded, unpinned URL https://bitbucket.org/p2p-alt-public/p2p-emis/raw/main/GameWebSight, replaces document.head and document.body with the fetched markup, and re-creates every <script> tag so the remote JavaScript executes in the consumer's page. The source is a mutable `main` branch on a personal-looking Bitbucket workspace unrelated to any declared publisher, with no integrity check, so whoever controls that repository can push arbitrary JavaScript that runs in the page context of any application that loads this package. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/51911d234a84078e05bdf54c4b86161625e68d64/osv/malicious/npm/10-shardsight-web/MAL-2026-14362.json)) **References:** - https://github.com/ossf/malicious-packages/blob/51911d234a84078e05bdf54c4b86161625e68d64/osv/malicious/npm/10-shardsight-web/MAL-2026-14362.json - https://www.npmjs.com/package/10-shardsight-web/v/1.0.0 - https://www.npmjs.com/package/10-shardsight-web/v/1.0.1 - https://github.com/advisories/GHSA-6fq4-5r9g-9gfh
Compromised versions (1)
- = 1.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.