MAL-2026-12178

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fb-cards-form-no-resident-information/MAL-2026-12178.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12178
Published
2026-08-05T09:09:00Z
Modified
2026-08-05T10:06:08.717558713Z
Summary
Malicious code in fb-cards-form-no-resident-information (npm)
Details

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

Source: amazon-inspector (0f5f533e1e08aafbda3bd64998ad984e90345592ecc1a9fd14f6d449413e6c87)

On require() of the package, index.js loads adapter.js which reconstructs Cloudflare Workers hostnames from split string fragments (e.g. 'oob-worker' + '.cf101-a' + 'df.workers.dev') and downloads a platform-specific binary via https.get. A DNS TXT resolver fallback against subdomains of dl.well1.site retrieves a base64-chunked payload across numbered subdomains as an out-of-band channel. The fetched bytes are written to /tmp or %TEMP% under disguised names (.cache<rnd>, dotnetdiag<rnd>.exe), chmod 0755, and spawned detached via spawn('/bin/sh', ['-c', fp+' &'], {detached:true}) or spawn('cmd',...). No hash or signature verification is performed; the destinations are unrelated to the package's stated purpose and are not publisher-owned infrastructure. An opt-out environment variable check is present as a cover story.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "0f5f533e1e08aafbda3bd64998ad984e90345592ecc1a9fd14f6d449413e6c87",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T09:28:26.204735404Z",
            "modified_time": "2026-08-05T09:09:00Z",
            "versions": [
                "20.4.4"
            ],
            "id": "IN-MAL-2026-014566"
        }
    ]
}
References
Credits

Affected packages

npm / fb-cards-form-no-resident-information

Package

Name
fb-cards-form-no-resident-information
View open source insights on deps.dev
Purl
pkg:npm/fb-cards-form-no-resident-information

Affected ranges

Affected versions

20.*
20.4.4

Database specific

indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha1": "e18d0243cb86fa3ed97fc139cce1c4bf526bcb6a",
                "sha512_sri": "sha512-L94bErSy9uChCZnHXkslINUKbvHjwphleIWZqr9vksy0erDRD0O0qlk7bhLZFegBIrAL6DQq6LYTDtSEFl5REA=="
            },
            "filename": "fb-cards-form-no-resident-information-20.4.4.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_adapter.js",
            "sha256": "cc1ab7e681bf91678197420594306901ee5993b3c195000efce70db9d2a9b486",
            "tlsh": "8fb1856a15a570184bb0dbe1cb17541af65af663738081d4fb9ca49c5fb2224c2f2efc"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fb-cards-form-no-resident-information/MAL-2026-12178.json"