MAL-2026-12380Malicious code in fb-forms-form-boilerplate-contacts (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | fb-forms-form-boilerplate-contacts | * |
| npm | fb-forms-form-boilerplate-contacts | 20.7.1 |
{"schema_version":"1.7.4","id":"MAL-2026-12380","published":"2026-08-05T12:50:30Z","modified":"2026-08-20T01:09:04.771858561Z","aliases":["GHSA-rrc5-66g2-j59f"],"summary":"Malicious code in fb-forms-form-boilerplate-contacts (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (23bb3ca46733a388c550c5a1f6514c78b026447f355fcc669d1dfa0d58e8963a)\nPackage advertises itself as a form-boilerplate library but its top-level index.js unconditionally requires _init.js, which on load downloads a platform-specific binary from author-controlled Cloudflare Workers endpoints (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev) with a DNS-TXT chunked fallback channel over well1.site subdomains (tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, win.dl.well1.site). Endpoint hostnames are reconstructed at runtime via array.join('') splits to defeat static analysis. The downloaded bytes are written to /tmp or the Windows TEMP directory under disguised names (.cache_<uid>, dotnet_diag_<uid>.exe), chmodded 0755, and spawned detached via cp.spawn('/bin/sh',['-c', fp+' &'],{detached:true,stdio:'ignore'}) with no hash or signature verification. A /tmp/.analytics_state stamp file provides per-TTL dedup. A sibling lib/telemetry.js (81KB, not currently reached from index.js) mirrors the same dropper primitives (HTTPS endpoint rotation, DNS-based service discovery, base64 Buffer.from chunks, fs.chmodSync 0755, cp.spawn /bin/sh detached), staged for future activation. On `npm install` followed by any `require` of this package, an opaque attacker-controlled native executable runs with the installer's privileges.\n\n## Source: ghsa-malware (d546f2df713ade6ba1071876558030a29c7fa7c7f3b4bb2390f3eb7251a0da82)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"name":"fb-forms-form-boilerplate-contacts","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.7.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"_init.js","sha256":"08af8cad2b176c558994f1b1825c63836f7de73040f677132235ef6c47fffe11","tlsh":"5da1a79a15a570098bb0d7e4c717441af667e6633780c294fb6c95a85fb312483b2efc"},{"path":"lib/telemetry.js","sha256":"c7faa4cd6f3b0722f9b8d011eba6cc8023ad0750bdac7b2a7d978b45a05d0d21","tlsh":"82835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"}],"package_integrity":[{"filename":"fb-forms-form-boilerplate-contacts-20.7.1.tgz","hashes":{"sha1":"e8a4739d632220b0b38cc61ec0a466ca94d668a5","sha512_sri":"sha512-FX6Tm1+QYH7HfzlscvBGJ9DY4SRlOXPfSSVXMVh2ydgx41wag97omXpSxOGUh9m9ou1Kk/3t9ta3I/9RFDY38g=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/fb-forms-form-boilerplate-contacts/v/20.7.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rrc5-66g2-j59f"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014782","import_time":"2026-08-05T13:08:46.081382154Z","modified_time":"2026-08-05T12:50:30Z","sha256":"23bb3ca46733a388c550c5a1f6514c78b026447f355fcc669d1dfa0d58e8963a","source":"amazon-inspector","versions":["20.7.1"]},{"id":"GHSA-rrc5-66g2-j59f","import_time":"2026-08-20T01:06:54.126243119Z","modified_time":"2026-08-19T15:42:24Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"d546f2df713ade6ba1071876558030a29c7fa7c7f3b4bb2390f3eb7251a0da82","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0