VDB
KO

MAL-2026-12391

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_ / 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / hubert-verify-primary-email-am
Introduced in: 0

No fixed version published yet for hubert-verify-primary-email-am (npm). Pin to a known-safe version or switch to an alternative.

References