MAL-2026-12380

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fb-forms-form-boilerplate-contacts/MAL-2026-12380.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12380
Aliases
  • GHSA-rrc5-66g2-j59f
Published
2026-08-05T12:50:30Z
Modified
2026-08-20T01:15:13Z
Summary
Malicious code in fb-forms-form-boilerplate-contacts (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (23bb3ca46733a388c550c5a1f6514c78b026447f355fcc669d1dfa0d58e8963a)

Package 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, dotnet_diag_.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.

Source: ghsa-malware (d546f2df713ade6ba1071876558030a29c7fa7c7f3b4bb2390f3eb7251a0da82)

Any 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.

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"
        }
    ]
}
References
Credits

Affected packages

npm / fb-forms-form-boilerplate-contacts

Package

Name
fb-forms-form-boilerplate-contacts
View open source insights on deps.dev
Purl
pkg:npm/fb-forms-form-boilerplate-contacts

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

20.*
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=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fb-forms-form-boilerplate-contacts/MAL-2026-12380.json"