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
Aliases
  • GHSA-9pwr-3vg2-xwcw
Published
2026-08-05T12:26:25Z
Modified
2026-08-20T13:45:12Z
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.), writes the binary to /var/tmp or %TEMP% under cover-story names such as.cache / dotnet_diag_, 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.

Source: ghsa-malware (073a4183e030c0cb3f018ebcca1337d32157bbacf0008153583cac75cc7936a1)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-014656",
            "import_time": "2026-08-05T13:08:34.414938006Z",
            "modified_time": "2026-08-05T12:26:25Z",
            "sha256": "a6b673dd1185ee4ae8ee19ec605dc7f25eebf55c0583be7c5cb878d331e70db3",
            "source": "amazon-inspector",
            "versions": [
                "20.4.6"
            ]
        },
        {
            "id": "GHSA-9pwr-3vg2-xwcw",
            "import_time": "2026-08-20T13:33:26.046441051Z",
            "modified_time": "2026-08-20T12:53:10Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "073a4183e030c0cb3f018ebcca1337d32157bbacf0008153583cac75cc7936a1",
            "source": "ghsa-malware"
        }
    ]
}
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

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

20.*
20.4.6

Database specific

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "_init.js",
            "sha256": "5438ff271de893579f9888765aeb1cb8a3cccf3dffac0e0de867a2627d67339c",
            "tlsh": "6ab1765a1266701c4fb097e5c70b8426f65af6533780c294f7ac69945f7252883b1efc"
        }
    ],
    "package_integrity": [
        {
            "filename": "hubert-verify-primary-email-am-20.4.6.tgz",
            "hashes": {
                "sha1": "23051dc43f14d1f628de226fd1449ea06ddce09d",
                "sha512_sri": "sha512-cRWXTLnddzrARVAtZ/Wf9QBqEZoAx3JTF1pO7cuDbrXwK1pnsYsdeW0htuGp+eD11TgOIfG9rdlcUH1Sv/VmqA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/hubert-verify-primary-email-am/MAL-2026-12391.json"