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 a native binary from attacker-controlled Cloudflare Workers endpoints. This binary is saved to temporary directories with disguised names, given execute permissions, and run detached without any signature verification. The package effectively acts as a dropper, allowing arbitrary code execution with the privileges of the installer. 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
The fb-forms-form-boilerplate-contacts npm package (version 20.7.1) masquerades as a form boilerplate library but includes malicious code in its top-level index.js that unconditionally requires an initialization script. This script downloads a platform-specific native executable from attacker-controlled Cloudflare Workers endpoints, using runtime hostname reconstruction and DNS-TXT fallback channels to evade static analysis. The executable is saved to temporary directories under disguised filenames, permissions are set to executable, and it is launched detached via a shell command without any hash or signature verification. A sibling telemetry.js file contains similar dropper functionality prepared for future use. Upon npm install and require, the attacker-controlled native executable runs with the installer's privileges, leading to full system compromise.
Potential Impact
Systems that install and run this package are fully compromised, as the package downloads and executes attacker-controlled native code with the installer's privileges. This can lead to complete control over the affected system, including potential theft or manipulation of secrets and keys stored on the machine. Removal of the package alone does not guarantee elimination of all malicious artifacts or persistence mechanisms.
Mitigation Recommendations
Immediate removal of the fb-forms-form-boilerplate-contacts package version 20.7.1 is required. All secrets and keys 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 rebuild is recommended to ensure no residual malicious code remains. There is no known patch or fixed version available; users must avoid using this package version entirely.
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 a native binary from attacker-controlled Cloudflare Workers endpoints. This binary is saved to temporary directories with disguised names, given execute permissions, and run detached without any signature verification. The package effectively acts as a dropper, allowing arbitrary code execution with the privileges of the installer. 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
The fb-forms-form-boilerplate-contacts npm package (version 20.7.1) masquerades as a form boilerplate library but includes malicious code in its top-level index.js that unconditionally requires an initialization script. This script downloads a platform-specific native executable from attacker-controlled Cloudflare Workers endpoints, using runtime hostname reconstruction and DNS-TXT fallback channels to evade static analysis. The executable is saved to temporary directories under disguised filenames, permissions are set to executable, and it is launched detached via a shell command without any hash or signature verification. A sibling telemetry.js file contains similar dropper functionality prepared for future use. Upon npm install and require, the attacker-controlled native executable runs with the installer's privileges, leading to full system compromise.
Potential Impact
Systems that install and run this package are fully compromised, as the package downloads and executes attacker-controlled native code with the installer's privileges. This can lead to complete control over the affected system, including potential theft or manipulation of secrets and keys stored on the machine. Removal of the package alone does not guarantee elimination of all malicious artifacts or persistence mechanisms.
Mitigation Recommendations
Immediate removal of the fb-forms-form-boilerplate-contacts package version 20.7.1 is required. All secrets and keys 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 rebuild is recommended to ensure no residual malicious code remains. There is no known patch or fixed version available; users must avoid using this package version entirely.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12380
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735745bf8831d539159ef5
Added to database: 08/05/2026, 15:31:17 UTC
Last enriched: 08/20/2026, 16:57:14 UTC
Last updated: 09/07/2026, 22:10:22 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.