npm · Malicious package advisory
Malware2-loadsight-web
GHSA-4f5v-fg99-x9xc
Malicious code in 2-loadsight-web (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: amazon-inspector (cae23fe6221515577f9b639185cc745675d9711daad4da9fd6d5851aa27c08b5) The package consists of a minimal HTML wrapper (index.html) whose only behavior is to fetch content from a hardcoded, unpinned URL at https://bitbucket.org/p2p-alt-public/p2p-emis/raw/main/GameWebSight, parse the returned HTML, and re-create every <script> element from the response as a live script tag in the host document, causing the fetched JavaScript to execute in the consuming page's origin. The 'raw/main/...' reference is a mutable branch with no commit pin, no hash check, and no signature verification, so the Bitbucket account 'p2p-alt-public' can substitute arbitrary code at any time. package.json has an empty author field and a generic 'Website loader for remote HTML content' description, and main points directly at the wrapper HTML. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/51911d234a84078e05bdf54c4b86161625e68d64/osv/malicious/npm/2-loadsight-web/MAL-2026-14363.json)) **References:** - https://github.com/ossf/malicious-packages/blob/51911d234a84078e05bdf54c4b86161625e68d64/osv/malicious/npm/2-loadsight-web/MAL-2026-14363.json - https://www.npmjs.com/package/2-loadsight-web/v/1.0.0 - https://www.npmjs.com/package/2-loadsight-web/v/1.0.1 - https://github.com/advisories/GHSA-4f5v-fg99-x9xc
Compromised versions (1)
- = 1.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.