8-fetchsight-web
Affected
- Versions:
1.0.0,1.0.1
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in 8-fetchsight-web (npm)
---
_-= 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.
Not rated by the source.
1.0.0, 1.0.1None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0