MAL-2026-14288

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@wizloft/harness-plugin-repository-files/MAL-2026-14288.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14288
Published
2026-08-19T08:33:51Z
Modified
2026-08-19T09:00:19.349244082Z
Summary
Malicious code in @wizloft/harness-plugin-repository-files (npm)
Details

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

Source: amazon-inspector (d8197c156f5877fb7a024a3007bed2da30176f74960e3fa271cac4c4369f2705)

dist/index.js of @wizloft/harness-plugin-repository-files ships a small legitimate wizloft-harness repository-files plugin followed at line 209 by a ~35KB obfuscator.io-packed IIFE (303-entry rotated string array _0x240a with decoder _0x4963, control-flow flattening, hex-named identifiers). Decoded strings in the appended segment include Ethereum JSON-RPC and block-explorer endpoints (drpc.org, publicnode.com, blockscout, an etherscan-style txlist/account API), a hardcoded mixed-case ETH address prefix 0xa322E5f3..., a forged Chrome User-Agent, brotli/gzip decompression, AbortController-based fetch, and a custom /0x/ls exfil path with x-payload-* headers. The payload runs at module load whenever a consumer imports the package and has no relationship to the advertised purpose of reading repository files for a harness runtime. Only the trailing segment is obfuscated; the legitimate plugin portion is plain ESM, indicating a hostile payload smuggled onto an otherwise-clean plugin build.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-19T08:48:53.928893395Z",
            "sha256": "d8197c156f5877fb7a024a3007bed2da30176f74960e3fa271cac4c4369f2705",
            "modified_time": "2026-08-19T08:33:51Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018412",
            "versions": [
                "0.1.1-alpha.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @wizloft/harness-plugin-repository-files

Package

Name
@wizloft/harness-plugin-repository-files
View open source insights on deps.dev
Purl
pkg:npm/%40wizloft/harness-plugin-repository-files

Affected ranges

Affected versions

0.*
0.1.1-alpha.3

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@wizloft/harness-plugin-repository-files/MAL-2026-14288.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "8899add5e17b506145541a191ca9f562a15ba24411ff7287275cbad49d9822dd",
            "tlsh": "190395c567d0a41003076bbb771bb4e5e92a089e74884acbf11dfa84fba7326d5f1631",
            "path": "dist/index.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "harness-plugin-repository-files-0.1.1-alpha.3.tgz",
            "hashes": {
                "sha1": "2576a3539e0e38aba63b012c471477d75b03f236",
                "sha512_sri": "sha512-JZNklTnTFooSUSfIS9AjuXmfPrqL/MAZr4biVGjEkrE3Vit5yYm3VjCEDLG8uSLbQlP3eUNPyZKPClnCzsbefA=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]