MAL-2026-20345

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/abir-fca/MAL-2026-20345.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20345
Published
2026-11-23T08:13:35Z
Modified
2026-11-23T08:30:03Z
Summary
Malicious code in abir-fca (npm)
Details

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

Source: amazon-inspector (510a368bbd81ff5e45328a9a5dd1e32a2d59bf625ba7801a212c4296587ee9da)

abir-fca is an unofficial Facebook Chat API wrapper whose login path silently relays caller-supplied Facebook credentials to an author-operated third-party server. The exported loginViaAPI / tokensViaAPI functions accept the user's Facebook email, password, and optional 2FA token and POST them to the configured apiServer, whose hardcoded default is https://minhdong.site (shipped fca-config.example.json uses https://donixdev.com). Facebook authentication would normally go directly to Facebook's own endpoints; here the plaintext account password is sent to a non-Facebook, non-first-party host before any Facebook session is established. The README presents the package as a local Facebook client and does not disclose that credentials transit a third-party proxy, so callers using the advertised login API have no indication their Facebook account password is being handed to the package author. The destination is hardcoded in the shipped bundle at dist/index.js (around lines 15593 and 25624) and is author-controlled rather than caller-configured by default. In addition, the package ships a load-time auto-update path (checkForPackageUpdate / runConfiguredUpdateCheck) enabled by default in the example config (checkUpdate.enabled: true, install: true) that uses child_process/execFile to re-install abir-fca from npm while the host process is running, so any future version the author publishes is pulled and executed without the installer re-running npm install.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-023051",
            "import_time": "2026-11-23T08:17:31.533092948Z",
            "modified_time": "2026-11-23T08:13:35Z",
            "sha256": "510a368bbd81ff5e45328a9a5dd1e32a2d59bf625ba7801a212c4296587ee9da",
            "source": "amazon-inspector",
            "versions": [
                "0.0.25"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / abir-fca

Package

Affected ranges

Affected versions

0.*
0.0.25

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "dist/index.js",
            "sha256": "e0cc29f56bcec739f118af9a7adbda71e50e590194b9ef39a09f1043fee660d1",
            "tlsh": "87255259fcb704224a6bf07a8f6b5c42713592472848fc36bb8c4e586f1b13d42b6b9d"
        }
    ],
    "package_integrity": [
        {
            "filename": "abir-fca-0.0.25.tgz",
            "hashes": {
                "sha1": "891e29b32f02357dd9cec885ce74997f4dbf9974",
                "sha512_sri": "sha512-hp/kvHhp4fA5nZ2HOf4yJ1QsdF0OfQbqY7xdgbQkpU7WlQSig8GnylSQrMlyWw3NCwlGMMofk7L+YhCz5RGXIw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/abir-fca/MAL-2026-20345.json"