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
Aliases
  • GHSA-5gv5-4q77-jc7x
Published
2026-08-05T09:09:00Z
Modified
2026-08-20T01:15:13Z
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, dotnet_diag_.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.

Source: ghsa-malware (413c08aba4c90d7a74310b09d779e3281ad4c5b00ef1933183c3e506976381ba)

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-014566",
            "import_time": "2026-08-05T09:28:26.204735404Z",
            "modified_time": "2026-08-05T09:09:00Z",
            "sha256": "0f5f533e1e08aafbda3bd64998ad984e90345592ecc1a9fd14f6d449413e6c87",
            "source": "amazon-inspector",
            "versions": [
                "20.4.4"
            ]
        },
        {
            "id": "GHSA-5gv5-4q77-jc7x",
            "import_time": "2026-08-20T01:06:54.053077852Z",
            "modified_time": "2026-08-19T15:41:00Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "413c08aba4c90d7a74310b09d779e3281ad4c5b00ef1933183c3e506976381ba",
            "source": "ghsa-malware"
        }
    ]
}
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

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

Affected versions

20.*
20.4.4

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": "_adapter.js",
            "sha256": "cc1ab7e681bf91678197420594306901ee5993b3c195000efce70db9d2a9b486",
            "tlsh": "8fb1856a15a570184bb0dbe1cb17541af65af663738081d4fb9ca49c5fb2224c2f2efc"
        }
    ],
    "package_integrity": [
        {
            "filename": "fb-cards-form-no-resident-information-20.4.4.tgz",
            "hashes": {
                "sha1": "e18d0243cb86fa3ed97fc139cce1c4bf526bcb6a",
                "sha512_sri": "sha512-L94bErSy9uChCZnHXkslINUKbvHjwphleIWZqr9vksy0erDRD0O0qlk7bhLZFegBIrAL6DQq6LYTDtSEFl5REA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fb-cards-form-no-resident-information/MAL-2026-12178.json"