MAL-2026-14285

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

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

Source: amazon-inspector (3679ede1e874f59f4be963544c3df43069cd335b2f888753b7411e42c7a5d3dd)

dist/index.js — the package's main/exports entrypoint — presents ~200 lines of TypeScript-compiled SDK facade followed by a single ~40KB line of obfuscator.io output (303-entry rotated string array _0x240a with decoder _0x4963 and hex-identifier control-flow variables). Deobfuscation of the string table reveals hardcoded references to public Ethereum RPC endpoints (eth.drpc.org, 1rpc.io), an etherscan-style API query (?module=ac...), a hardcoded Ethereum contract address 0xa322E5f3..., a spoofed Mozilla/5.0 User-Agent, JSON POST machinery, and the sinks require, pipe, and eval. The composition matches the EtherHiding on-chain-C2 dropper pattern: on import, the code queries a smart contract via a public Ethereum RPC to retrieve an attacker-controlled next-stage payload string, then passes it to eval() in the consumer's Node process, yielding arbitrary remote code execution against the installer. The on-chain payload storage is mutable by the contract owner but immutable to registry takedown and invisible to standard registry scanners. The README's claim of 'no executable binary' contradicts the shipped dist/index.js.

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

Affected packages

npm / @wizloft/harness

Package

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

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/MAL-2026-14285.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "05a631458710b3ac50edb9234d8d946ae7470e33af731a2a0a6e1d0c0c795bb7",
            "path": "dist/index.js",
            "tlsh": "1d03a5c47bd0a440034767bb7b1bb4e5f66a089e34844ac6f11cfe94eba632ad5f1631"
        }
    ],
    "package_integrity": [
        {
            "filename": "harness-0.1.1-alpha.3.tgz",
            "hashes": {
                "sha1": "0f0e670fa0e43cdf81cc3f7596e74910bd247fc6",
                "sha512_sri": "sha512-wcfNvV/Vc0RDgLX9+DwUtHIA9EfcuBguWgAvKo6+YZug4m+dZbf38s+/CS2YOHxk4zLtXvZLGhSFVZKz4rqurw=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]