MAL-2026-14366

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/8-fetchsight-web/MAL-2026-14366.json
JSON Data
https://api.test.osv.dev/v1/vulns/MAL-2026-14366
Published
2026-08-23T03:21:18Z
Modified
2026-08-23T03:30:17.356591526Z
Summary
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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-018576",
            "sha256": "d0e6a4c6ee9a60609bc1a9e9f1eccfa2166aaf106ba50c35d51aac34ecb3f549",
            "modified_time": "2026-08-23T03:21:18Z",
            "versions": [
                "1.0.1"
            ],
            "import_time": "2026-08-23T03:25:56.873066446Z",
            "source": "amazon-inspector"
        },
        {
            "id": "IN-MAL-2026-018578",
            "sha256": "f8c9c836d052e62ba469fedd5a0e0d64563f15ee95b70f2b295bcfe5f7a68371",
            "modified_time": "2026-08-23T03:21:37Z",
            "versions": [
                "1.0.0"
            ],
            "import_time": "2026-08-23T03:25:57.052834728Z",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / 8-fetchsight-web

Package

Affected ranges

Affected versions

1.*
1.0.0
1.0.1

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "0bd895c55a890dbfcb9ca36ef255d88682e1ed12561db7c68379211f8f102278",
            "path": "index.js",
            "tlsh": "f221ed2c0dab43371b2724a6437bda85753260073009d9d97a8ccb855f04b58cc57fc9"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-Wc4OizwAFdaR9A8oDAke4OBzuF2MKD8p4MSjhSLN18xsxWwi4M3nMO0ilUbe5SVh8kh7XcCpHgWTWZgSFHlp6Q==",
                "sha1": "e7964d24ebe0bed657ad4c0619f22212b52c15fd"
            },
            "filename": "8-fetchsight-web-1.0.1.tgz"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/8-fetchsight-web/MAL-2026-14366.json"
cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]