CRITICAL npm Malware

Malicious code in hubert-verify-primary-email-am (npm)

MAL-2026-12391 · GHSA-9pwr-3vg2-xwcw

Published · Modified

Dependency scanning

Check whether hubert-verify-primary-email-am is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes