MAL-2026-14219

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/setup-codex/MAL-2026-14219.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14219
Published
2026-08-19T03:05:07Z
Modified
2026-08-19T03:30:15.399595709Z
Summary
Malicious code in setup-codex (npm)
Details

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

Source: amazon-inspector (957e8b8d535ccc5e5d7e84e99a51695f7a50a4417bfca5f3582ae2817ca75846)

The package's lib/report.js requires child_process, fs, https, and os at the top of the module and constructs an HTTPS POST to a hardcoded destination at hooks.zapier.com (see line 12). The report body includes host identity fields collected via os.hostname() and os.userInfo() (lines 160, 168), the output of execSync() shell commands (line 20), and filesystem reads via fs.readFileSync() (lines 31, 72). The combination of installer-side host identity, shell-command output, and file contents shipped to a hardcoded third-party webhook is the credential- and host-reconnaissance exfiltration shape rather than any documented setup behavior for a legitimate 'codex' helper.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-19T03:24:21.881909158Z",
            "source": "amazon-inspector",
            "modified_time": "2026-08-19T03:05:07Z",
            "sha256": "957e8b8d535ccc5e5d7e84e99a51695f7a50a4417bfca5f3582ae2817ca75846",
            "id": "IN-MAL-2026-018321",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / setup-codex

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/setup-codex/MAL-2026-14219.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "0046a51ccd82a86175301dc0bf8c358ebf9ca7673ae1270024bcb104f16080b9",
            "tlsh": "adc1c69b2afa11341e6365b8f74f10327952e2173e09ec60b8bc531d0f87e6845b79da",
            "path": "lib/report.js"
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]