Malicious code in 8-fetchsight-web (npm)
The 8-fetchsight-web npm package versions 1.0.0 and 1.0.1 contain malicious code that fetches and executes arbitrary JavaScript from a mutable Bitbucket URL. This design allows an attacker controlling the remote Bitbucket path to execute arbitrary code in any page that loads this package, due to lack of integrity checks or source pinning.
AI Analysis
Technical Summary
The 8-fetchsight-web npm package includes a top-level Immediately Invoked Function Expression (IIFE) in index.js and index.html that fetches HTML content from a Bitbucket URL pinned to the mutable 'main' branch of an unrelated workspace. The fetched HTML replaces the current document and re-creates all <script> tags, causing both inline and remote scripts from the fetched document to execute in the page context. Because the Bitbucket path is mutable and not controlled by the npm package publisher, an attacker with control over that Bitbucket repository can substitute arbitrary JavaScript at any time, resulting in arbitrary code execution in all pages loading this package. There are no integrity checks or source pinning mechanisms to prevent this.
Potential Impact
Any user loading the affected versions of the 8-fetchsight-web package may execute arbitrary JavaScript controlled by an attacker who can modify the Bitbucket repository content. This can lead to full compromise of the web page context, including data theft, session hijacking, or further client-side attacks. The vulnerability arises from the package's design that blindly executes remote code without validation.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using versions 1.0.0 and 1.0.1 of 8-fetchsight-web. Until a fix is available, do not load this package from untrusted sources. Monitor the vendor or repository for updates or advisories addressing this issue. Consider removing or replacing this package with alternatives that do not execute remote code without integrity verification.
Malicious code in 8-fetchsight-web (npm)
Description
The 8-fetchsight-web npm package versions 1.0.0 and 1.0.1 contain malicious code that fetches and executes arbitrary JavaScript from a mutable Bitbucket URL. This design allows an attacker controlling the remote Bitbucket path to execute arbitrary code in any page that loads this package, due to lack of integrity checks or source pinning.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 8-fetchsight-web npm package includes a top-level Immediately Invoked Function Expression (IIFE) in index.js and index.html that fetches HTML content from a Bitbucket URL pinned to the mutable 'main' branch of an unrelated workspace. The fetched HTML replaces the current document and re-creates all <script> tags, causing both inline and remote scripts from the fetched document to execute in the page context. Because the Bitbucket path is mutable and not controlled by the npm package publisher, an attacker with control over that Bitbucket repository can substitute arbitrary JavaScript at any time, resulting in arbitrary code execution in all pages loading this package. There are no integrity checks or source pinning mechanisms to prevent this.
Potential Impact
Any user loading the affected versions of the 8-fetchsight-web package may execute arbitrary JavaScript controlled by an attacker who can modify the Bitbucket repository content. This can lead to full compromise of the web page context, including data theft, session hijacking, or further client-side attacks. The vulnerability arises from the package's design that blindly executes remote code without validation.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using versions 1.0.0 and 1.0.1 of 8-fetchsight-web. Until a fix is available, do not load this package from untrusted sources. Monitor the vendor or repository for updates or advisories addressing this issue. Consider removing or replacing this package with alternatives that do not execute remote code without integrity verification.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14366
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8af9a3acd9273b49f32ed5
Added to database: 08/23/2026, 13:46:11 UTC
Last enriched: 08/23/2026, 13:49:00 UTC
Last updated: 08/23/2026, 23:11:14 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.