hubert-application-get-document-preview-am (npm) · Malicious Code
Affects hubert-application-get-document-preview-amSource GCVE Database
Malicious package : remove hubert-application-get-document-preview-am and rotate any secrets on hosts that installed it.
Data as of 6 Aug 2026, 19:28 UTC
Malicious package
Published to npm · OSV MAL-2026-11540
What to do
Remove hubert-application-get-document-preview-am from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmhubert-application-get-document-preview-am | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'hubert-application-get-document-preview-am' version 20.4.6 contains malicious code that downloads and executes a native binary from hardcoded external endpoints. It uses obfuscation techniques such as runtime hostname reconstruction and a DNS-TXT fallback channel to evade detection. The payload is written to temporary directories with deceptive filenames, given executable permissions, and executed detached from the main process. A secondary dropper in the package provides an alternate execution path. Any system with this package installed should be considered fully compromised, and all secrets on that system should be rotated immediately.