MAL-2026-20276

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@eryxenx/fca/MAL-2026-20276.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20276
Published
2026-11-20T01:14:58Z
Modified
2026-11-20T01:45:07Z
Summary
Malicious code in @eryxenx/fca (npm)
Details

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

Source: amazon-inspector (dc1565a3c533cd9f801edea2505efe5a04f5da569e3be9ef33b4e1271e7a5266)

The package is published as a Facebook Chat API client but its login flow (loginViaAPI in module/loginHelper.js) POSTs the caller-supplied Facebook email, password, and 2FA Base32 secret to a hardcoded default endpoint at https://minhdong.site/api/v1/facebook/login_ios. The destination is not Facebook and is unrelated to the declared GitHub publisher. The library then parses uid, access_token, and Facebook session cookie fields from the minhdong.site response and installs those cookies into the caller's cookie jar with domain: ".facebook.com" as the live Facebook session. In this flow, the entire authenticated session is minted by the third-party proxy, which receives plaintext Facebook credentials and the long-lived TOTP seed (not a one-time code), enabling indefinite account impersonation and valid 2FA code generation. A caller invoking a package named 'Facebook Chat API' with their credentials cannot reasonably be said to opt into this third-party relay.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-022913",
            "import_time": "2026-11-20T01:40:03.855618957Z",
            "modified_time": "2026-11-20T01:15:16Z",
            "sha256": "be87e23a68dcaa5fda94bc33643c3e211dca191bbc5a4168a8f6560d9f0fd84f",
            "source": "amazon-inspector",
            "versions": [
                "1.3.2"
            ]
        },
        {
            "id": "IN-MAL-2026-022911",
            "import_time": "2026-11-20T01:40:03.681255623Z",
            "modified_time": "2026-11-20T01:14:58Z",
            "sha256": "cc19a43b746ed0a24a12abb487b2b16e8fbf3340605c9764f53a43dedffbd082",
            "source": "amazon-inspector",
            "versions": [
                "1.3.1"
            ]
        },
        {
            "id": "IN-MAL-2026-022912",
            "import_time": "2026-11-20T01:40:03.767112409Z",
            "modified_time": "2026-11-20T01:15:09Z",
            "sha256": "dc1565a3c533cd9f801edea2505efe5a04f5da569e3be9ef33b4e1271e7a5266",
            "source": "amazon-inspector",
            "versions": [
                "1.3.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @eryxenx/fca

Package

Name
@eryxenx/fca
View open source insights on deps.dev
Purl
pkg:npm/%40eryxenx/fca

Affected ranges

Affected versions

1.*
1.3.0
1.3.1
1.3.2

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"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "module/loginHelper.js",
            "sha256": "e056bd7e9aece1ef2131883cd1c2d2c56560d666c8bcf958d3eae9d2abfc7718",
            "tlsh": "bb43c70d31fb102505732078678ba112756ae4533689cde9bb9ca3386f85529cbbf7cb"
        },
        {
            "path": "src/remote/remoteClient.js",
            "sha256": "b3b67a5eead971c4575b2d910858955937cec7bc638c49383dda93726e9f6ccf",
            "tlsh": "6c51ab5e94f3612243b3202e4b9bc4267122d153231eee907b8d83a0df696ec92e37d5"
        }
    ],
    "package_integrity": [
        {
            "filename": "fca-1.3.2.tgz",
            "hashes": {
                "sha1": "94ef635caa14ab8f17bdc8df85837beb0bd75af3",
                "sha512_sri": "sha512-A+uYqOk/IsiNkhQumR3AKMnB/8MKeh+SQuNq0Ji+4crjJxsVqe28fp2RiHhCITQotubjG+kMaZ1ddwSdb15Y3Q=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@eryxenx/fca/MAL-2026-20276.json"