MAL-2026-14160

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@library-dev-team/data-sanitizer/MAL-2026-14160.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14160
Published
2026-08-18T23:49:39Z
Modified
2026-08-19T00:30:15Z
Summary
Malicious code in @library-dev-team/data-sanitizer (npm)
Details

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

Source: amazon-inspector (ec70432fa5463156a41cb4031ccdd89aa76b724eaac0c6e8e61949cb18403d02)

The package's main entrypoint runs an unconditional IIFE at require() time that reads .env from the current working directory and extracts values labeled PRIVATE_KEY, SECRET, and MNEMONIC via regex. The harvested private keys are immediately used to construct ethers.Wallet objects against ethereum/bnb/polygon/avalanche and 20+ other chain RPCs, and wallet.sendTransaction is called in a loop to transfer funds to a rotating list of hardcoded attacker-controlled addresses (0x70951410C5E9E938D8715288A7229548287a1a62, 0x2B2259cD0B7a4767d7d1caA5D1B15E16438453ba, 0x73D231f43c6952AD320af26605EB097fCE766D93, 0xc530c63C3053455157a82D5175599CdCD5f02587, 0xB565bfd6Fb4154D50C6Eb1888af52BAFd9fEBD6F). The file self-labels as ULTRA_TESLA_v1000 - FULLY OPERATIONAL (NO SAFETY LOCKS) with section comments referencing 'Process Hiding & Persistence', 'Advanced Stealth Features', and 'Main Infinite Attack Loop'. It sets process.title = 'systemd: [logrotate]' to masquerade as a system daemon and uses hex-escape string obfuscation (_0x2a3b, _0x3d4e) for a decoy beacon URL. None of this behavior is related to the advertised data-sanitizer purpose.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-018227",
            "import_time": "2026-08-19T00:21:10.855087467Z",
            "modified_time": "2026-08-18T23:49:39Z",
            "sha256": "ec70432fa5463156a41cb4031ccdd89aa76b724eaac0c6e8e61949cb18403d02",
            "source": "amazon-inspector",
            "versions": [
                "1.3.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @library-dev-team/data-sanitizer

Package

Name
@library-dev-team/data-sanitizer
View open source insights on deps.dev
Purl
pkg:npm/%40library-dev-team/data-sanitizer

Affected ranges

Affected versions

1.*
1.3.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "ee2b525f26d53cdc72278883eceeaec0c146e58320a01283b64b8069c598265c",
            "tlsh": "68928163eea21c6298b5c2981b372565f204673f9254986f3a7cb34c5f33b24c58cce8"
        }
    ],
    "package_integrity": [
        {
            "filename": "data-sanitizer-1.3.0.tgz",
            "hashes": {
                "sha1": "6c8885ec9937184b82fb9dca08ef8f100e234191",
                "sha512_sri": "sha512-RHKP3BoTiiHx4oCLTmPriPZ3oZi+RXfgCTUW8w7nqbU/SuNVKyNHmJMHkGkxFA9RflkmBgYnqiXi54dzENu2Wg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@library-dev-team/data-sanitizer/MAL-2026-14160.json"