MAL-2026-12391

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/hubert-verify-primary-email-am/MAL-2026-12391.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12391
Published
2026-08-05T12:26:25Z
Modified
2026-08-05T13:35:31.833599267Z
Summary
Malicious code in hubert-verify-primary-email-am (npm)
Details

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

Source: amazon-inspector (a6b673dd1185ee4ae8ee19ec605dc7f25eebf55c0583be7c5cb878d331e70db3)

hubert-verify-primary-email-am@20.4.6 presents itself as an email-verification library but on require of index.js loads init.js, which reconstructs remote hostnames from split string arrays (joining to oob-worker.cf103-070.workers.dev and subdomains of dl.well1.site) to evade static inspection. It selects a platform-specific asset, downloads bytes over HTTPS with a DNS-TXT-record chunked-fetch fallback (base64 chunks assembled from TXT records under c.<domain>), writes the binary to /var/tmp or %TEMP% under cover-story names such as.cache / dotnetdiag, chmods it 0755, and detached-spawns it via spawn('/bin/sh', ['-c', fp+' &'], {detached:true}) (or cmd on Windows). There is no hash or signature verification, the destinations are unrelated to the declared email-verification purpose, and the delivery hosts are attacker-mutable. Requiring the package yields arbitrary native code execution on the installer's machine under the installer's user account.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "sha256": "a6b673dd1185ee4ae8ee19ec605dc7f25eebf55c0583be7c5cb878d331e70db3",
            "versions": [
                "20.4.6"
            ],
            "import_time": "2026-08-05T13:08:34.414938006Z",
            "modified_time": "2026-08-05T12:26:25Z",
            "id": "IN-MAL-2026-014656"
        }
    ]
}
References
Credits

Affected packages

npm / hubert-verify-primary-email-am

Package

Name
hubert-verify-primary-email-am
View open source insights on deps.dev
Purl
pkg:npm/hubert-verify-primary-email-am

Affected ranges

Affected versions

20.*
20.4.6

Database specific

indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha1": "23051dc43f14d1f628de226fd1449ea06ddce09d",
                "sha512_sri": "sha512-cRWXTLnddzrARVAtZ/Wf9QBqEZoAx3JTF1pO7cuDbrXwK1pnsYsdeW0htuGp+eD11TgOIfG9rdlcUH1Sv/VmqA=="
            },
            "filename": "hubert-verify-primary-email-am-20.4.6.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_init.js",
            "sha256": "5438ff271de893579f9888765aeb1cb8a3cccf3dffac0e0de867a2627d67339c",
            "tlsh": "6ab1765a1266701c4fb097e5c70b8426f65af6533780c294f7ac69945f7252883b1efc"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/hubert-verify-primary-email-am/MAL-2026-12391.json"