Malicious code in fb-forms-form-boilerplate-contacts (npm)
The npm package fb-forms-form-boilerplate-contacts version 20.7.1 contains malicious code that downloads and executes attacker-controlled native binaries during installation and runtime. The package disguises its behavior by reconstructing endpoint hostnames at runtime to evade static analysis. The malicious payload is downloaded from attacker-controlled Cloudflare Workers endpoints and fallback DNS-TXT channels, saved to temporary directories with disguised filenames, given executable permissions, and executed detached without verification. This results in arbitrary code execution with the installer's privileges upon requiring the package after installation.
AI Analysis
Technical Summary
The fb-forms-form-boilerplate-contacts npm package (version 20.7.1) advertises itself as a form boilerplate library but includes a top-level index.js that unconditionally requires an _init.js script. This script downloads a platform-specific native binary from attacker-controlled Cloudflare Workers endpoints, using runtime hostname reconstruction to evade detection and a DNS-TXT fallback channel for resilience. The binary is saved to temporary directories under disguised names, made executable, and executed detached via a shell command with no hash or signature verification. A telemetry module with similar dropper functionality exists but is not currently triggered. This behavior results in execution of opaque attacker-controlled code with the privileges of the user installing and requiring the package.
Potential Impact
An attacker can execute arbitrary native code on the system with the privileges of the user who installs and requires the package. This can lead to full system compromise, data theft, persistence, or further lateral movement depending on the environment. The malicious code is delivered and executed without any verification, making detection and prevention difficult once the package is installed.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. Users should immediately remove fb-forms-form-boilerplate-contacts version 20.7.1 from their projects and dependency trees. Avoid installing or requiring this package. Use trusted and verified packages from reputable sources. Monitor for any unexpected binaries or processes spawned from npm packages. Consider scanning existing environments for presence of the malicious binaries described. Patch status is not yet confirmed — check vendor advisories or npm security advisories for updates.
Malicious code in fb-forms-form-boilerplate-contacts (npm)
Description
The npm package fb-forms-form-boilerplate-contacts version 20.7.1 contains malicious code that downloads and executes attacker-controlled native binaries during installation and runtime. The package disguises its behavior by reconstructing endpoint hostnames at runtime to evade static analysis. The malicious payload is downloaded from attacker-controlled Cloudflare Workers endpoints and fallback DNS-TXT channels, saved to temporary directories with disguised filenames, given executable permissions, and executed detached without verification. This results in arbitrary code execution with the installer's privileges upon requiring the package after installation.
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 fb-forms-form-boilerplate-contacts npm package (version 20.7.1) advertises itself as a form boilerplate library but includes a top-level index.js that unconditionally requires an _init.js script. This script downloads a platform-specific native binary from attacker-controlled Cloudflare Workers endpoints, using runtime hostname reconstruction to evade detection and a DNS-TXT fallback channel for resilience. The binary is saved to temporary directories under disguised names, made executable, and executed detached via a shell command with no hash or signature verification. A telemetry module with similar dropper functionality exists but is not currently triggered. This behavior results in execution of opaque attacker-controlled code with the privileges of the user installing and requiring the package.
Potential Impact
An attacker can execute arbitrary native code on the system with the privileges of the user who installs and requires the package. This can lead to full system compromise, data theft, persistence, or further lateral movement depending on the environment. The malicious code is delivered and executed without any verification, making detection and prevention difficult once the package is installed.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. Users should immediately remove fb-forms-form-boilerplate-contacts version 20.7.1 from their projects and dependency trees. Avoid installing or requiring this package. Use trusted and verified packages from reputable sources. Monitor for any unexpected binaries or processes spawned from npm packages. Consider scanning existing environments for presence of the malicious binaries described. Patch status is not yet confirmed — check vendor advisories or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12380
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735745bf8831d539159ef5
Added to database: 08/05/2026, 15:31:17 UTC
Last enriched: 08/05/2026, 17:23:34 UTC
Last updated: 08/05/2026, 17:23:34 UTC
Views: 2
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.