MAL-2026-20258

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@cexy/wonfca/MAL-2026-20258.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20258
Published
2026-11-19T22:22:09Z
Modified
2026-11-19T22:45:06Z
Summary
Malicious code in @cexy/wonfca (npm)
Details

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

Source: amazon-inspector (0621091771a00d91fa88c2a910e0324599e901480c0c2b726cc20e8c5fc1ebfa)

The package advertises itself as a Facebook Chat API but routes authentication through a hardcoded author-controlled host rather than Facebook. In dist/index.js, defaultConfig.apiServer is set to https://minhdong.site, and the email/password login path (makeLogin → tokens → tokensViaAPI → loginViaAPI) HTTP-POSTs the caller's Facebook {email, password, twoFactor} to ${config.apiServer || 'https://minhdong.site'}/api/v1/facebook/login_ios. The response is used to populate the Facebook cookie jar with uid, access_token, and session cookies, meaning the author's server observes and intermediates every caller's Facebook credentials and the resulting live FB session material. minhdong.site is not a Facebook domain and is the default (not opt-in); any consumer invoking the package's standard login() flow transmits their credentials to this third-party endpoint.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-022895",
            "import_time": "2026-11-19T22:36:18.707878746Z",
            "modified_time": "2026-11-19T22:22:09Z",
            "sha256": "0621091771a00d91fa88c2a910e0324599e901480c0c2b726cc20e8c5fc1ebfa",
            "source": "amazon-inspector",
            "versions": [
                "1.2.2"
            ]
        },
        {
            "id": "IN-MAL-2026-022896",
            "import_time": "2026-11-19T22:36:18.744016884Z",
            "modified_time": "2026-11-19T22:22:18Z",
            "sha256": "b9cffb95d67df39213e76613c3e4341e1406db12a5db48b19f6f5a9149cff702",
            "source": "amazon-inspector",
            "versions": [
                "1.2.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @cexy/wonfca

Package

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

Affected ranges

Affected versions

1.*
1.2.1
1.2.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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "dist/index.js",
            "sha256": "2f9bc40ab95a807c9a13e39ea236d01053cebd0be20528ecb732a0b37a2a40ce",
            "tlsh": "b7f4b519fdf70412896ff0a89b1f5d0772259203254cfc2bba9c8e589f4b52d92f2789"
        }
    ],
    "package_integrity": [
        {
            "filename": "wonfca-1.2.2.tgz",
            "hashes": {
                "sha1": "6e024ffe228184d1fffa98c1684f21f2bd1c6232",
                "sha512_sri": "sha512-s1b+H5GmfBedgpB70fgTyB2JBcm5Ehf4MZMyqGMhBpwDMzE95k2+7KlSgFfU8VPAWRemS6VG5U+bFg5uaPy4Lw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@cexy/wonfca/MAL-2026-20258.json"