OpenSSF/OSV advisory MAL-2026-14366 confirms this npm version as malicious. index.js and index.html contain a top-level IIFE that fetches https://bitbucket.org/p2p-alt-public/p2p-emis/raw/main/GameWebSight, parses the response as HTML, replaces the current document, and re-creates every <script> tag so both inline and remote-src scripts from the fetched document execute in the page context...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in 8-fetchsight-web (npm)
Details
index.js and index.html contain a top-level IIFE that fetches https://bitbucket.org/p2p-alt-public/p2p-emis/raw/main/GameWebSight, parses the response as HTML, replaces the current document, and re-creates every <script> tag so both inline and remote-src scripts from the fetched document execute in the page context. The URL is pinned to the mutable `main` branch of a Bitbucket workspace unrelated to the npm publisher, so whoever controls that Bitbucket path can substitute arbitrary JavaScript at any time and have it executed in every page that loads this package. The advertised 'website loader for remote HTML content' purpose is served by an arbitrary-code-execution mechanism with no integrity check, no pinning, and no publisher-controlled source.
Decision reason
OpenSSF Malicious Packages via OSV confirms 8-fetchsight-web@1.0.1 as malicious (MAL-2026-14366): Malicious code in 8-fetchsight-web (npm)