VDB
KO

MAL-2026-14366

Malicious code in 8-fetchsight-web (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (d0e6a4c6ee9a60609bc1a9e9f1eccfa2166aaf106ba50c35d51aac34ecb3f549) 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / 8-fetchsight-web

No fixed version published yet for 8-fetchsight-web (npm). Pin to a known-safe version or switch to an alternative.

References