custom-plugins-request-factory (npm) · Malicious Code
Affects custom-plugins-request-factorySource GCVE Database
Malicious package : remove custom-plugins-request-factory and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 16:22 UTC
Malicious package
Published to npm · OSV MAL-2026-12668
What to do
Remove custom-plugins-request-factory 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 |
|---|---|---|
| npmcustom-plugins-request-factory | 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 custom-plugins-request-factory version 35.5.4 contains malicious code that executes an attacker-controlled binary on the host upon installation or require. The package auto-loads a setup script that downloads a platform-specific executable from obfuscated Cloudflare Workers endpoints, writes it to a temporary directory under disguised names, sets executable permissions, and runs it detached. If the primary HTTPS download fails, it uses DNS TXT records as a covert channel to reconstruct and execute a base64-encoded payload. The package is disguised as an analytics/telemetry SDK, with similar malicious behavior also present in its telemetry.js component.