Malicious code in custom-plugins-request-factory (npm)
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.
AI Analysis
Technical Summary
The malicious npm package custom-plugins-request-factory (version 35.5.4) contains obfuscated code that, upon loading, fetches and executes a platform-specific binary from attacker-controlled Cloudflare Workers endpoints. The binary is saved under disguised filenames in temporary directories with executable permissions and launched detached from the main process. If the HTTPS fetch fails, the package uses DNS TXT records as a covert fallback channel to reconstruct and execute a base64-encoded payload. The package's network destinations and child process invocations are assembled dynamically from split string fragments to evade detection. The package masquerades as an analytics/telemetry SDK, but its lib/telemetry.js also contains a parallel dropper with the same obfuscation and execution pattern. Installing or requiring this package results in execution of opaque, attacker-controlled code on the host system.
Potential Impact
Installation or requiring of this package results in execution of attacker-controlled binaries on the host system, potentially allowing arbitrary code execution. The malicious payload is fetched dynamically and executed with elevated permissions, which can lead to full system compromise depending on the environment and privileges of the user running the package. The use of covert DNS channels as a fallback increases stealth and persistence capabilities.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users should immediately avoid installing or requiring custom-plugins-request-factory version 35.5.4. Remove the package from any affected systems and audit for any unauthorized binaries or processes spawned by it. Use trusted sources and verify package integrity before installation. Monitor for suspicious network activity related to the described Cloudflare Workers endpoints and DNS TXT record queries as indicators of compromise.
Malicious code in custom-plugins-request-factory (npm)
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.
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
The malicious npm package custom-plugins-request-factory (version 35.5.4) contains obfuscated code that, upon loading, fetches and executes a platform-specific binary from attacker-controlled Cloudflare Workers endpoints. The binary is saved under disguised filenames in temporary directories with executable permissions and launched detached from the main process. If the HTTPS fetch fails, the package uses DNS TXT records as a covert fallback channel to reconstruct and execute a base64-encoded payload. The package's network destinations and child process invocations are assembled dynamically from split string fragments to evade detection. The package masquerades as an analytics/telemetry SDK, but its lib/telemetry.js also contains a parallel dropper with the same obfuscation and execution pattern. Installing or requiring this package results in execution of opaque, attacker-controlled code on the host system.
Potential Impact
Installation or requiring of this package results in execution of attacker-controlled binaries on the host system, potentially allowing arbitrary code execution. The malicious payload is fetched dynamically and executed with elevated permissions, which can lead to full system compromise depending on the environment and privileges of the user running the package. The use of covert DNS channels as a fallback increases stealth and persistence capabilities.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users should immediately avoid installing or requiring custom-plugins-request-factory version 35.5.4. Remove the package from any affected systems and audit for any unauthorized binaries or processes spawned by it. Use trusted sources and verify package integrity before installation. Monitor for suspicious network activity related to the described Cloudflare Workers endpoints and DNS TXT record queries as indicators of compromise.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12668
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735736bf8831d5391445d3
Added to database: 08/05/2026, 15:31:02 UTC
Last enriched: 08/05/2026, 16:22:52 UTC
Last updated: 09/07/2026, 22:09:10 UTC
Views: 19
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.