Malicious code in hubert-application-get-document-preview-am (npm)
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.
AI Analysis
Technical Summary
This malicious npm package, identified as 'hubert-application-get-document-preview-am' version 20.4.6, contains code that upon require() loads a setup script which selects a platform key and downloads a native binary from one of four hardcoded workers.dev endpoints. It uses a DNS-TXT fallback channel over *.well1.site domains to covertly receive base64-encoded payload chunks when HTTPS is blocked. The payload is saved to temporary directories under deceptive names, permissions are set to executable, and it is spawned detached via shell commands. The package also includes a second self-contained dropper in lib/telemetry.js that duplicates this behavior, providing an alternate execution path. No integrity verification of the downloaded payload is performed, and the external endpoints are unrelated to any legitimate package publisher. This results in full compromise of any host running the package.
Potential Impact
Any computer with this package installed or running is considered fully compromised. The attacker gains the ability to execute arbitrary native code on the host, potentially leading to complete system takeover. All secrets, keys, and sensitive information stored on the compromised system are at risk and should be rotated immediately from a secure environment. Removal of the package alone does not guarantee elimination of all malicious artifacts or backdoors introduced by the payload.
Mitigation Recommendations
Immediate removal of the 'hubert-application-get-document-preview-am' package version 20.4.6 is recommended. All secrets and credentials stored on the affected system should be rotated from a different, trusted machine. Due to the nature of the compromise, a full system forensic analysis and potential reimaging may be necessary to ensure complete remediation. No official patch or fix is available for this malicious package as it is not a legitimate software update but a supply chain compromise. Avoid using this package and audit dependencies for similar malicious inclusions.
Malicious code in hubert-application-get-document-preview-am (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This malicious npm package, identified as 'hubert-application-get-document-preview-am' version 20.4.6, contains code that upon require() loads a setup script which selects a platform key and downloads a native binary from one of four hardcoded workers.dev endpoints. It uses a DNS-TXT fallback channel over *.well1.site domains to covertly receive base64-encoded payload chunks when HTTPS is blocked. The payload is saved to temporary directories under deceptive names, permissions are set to executable, and it is spawned detached via shell commands. The package also includes a second self-contained dropper in lib/telemetry.js that duplicates this behavior, providing an alternate execution path. No integrity verification of the downloaded payload is performed, and the external endpoints are unrelated to any legitimate package publisher. This results in full compromise of any host running the package.
Potential Impact
Any computer with this package installed or running is considered fully compromised. The attacker gains the ability to execute arbitrary native code on the host, potentially leading to complete system takeover. All secrets, keys, and sensitive information stored on the compromised system are at risk and should be rotated immediately from a secure environment. Removal of the package alone does not guarantee elimination of all malicious artifacts or backdoors introduced by the payload.
Defensive Guidance
Immediate removal of the 'hubert-application-get-document-preview-am' package version 20.4.6 is recommended. All secrets and credentials stored on the affected system should be rotated from a different, trusted machine. Due to the nature of the compromise, a full system forensic analysis and potential reimaging may be necessary to ensure complete remediation. No official patch or fix is available for this malicious package as it is not a legitimate software update but a supply chain compromise. Avoid using this package and audit dependencies for similar malicious inclusions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-11540
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-7c6g-rhc6-239f"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cfadbf8831d5391b22de
Added to database: 08/06/2026, 18:17:17 UTC
Last enriched: 08/06/2026, 19:28:50 UTC
Last updated: 08/06/2026, 20:30:21 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.