MAL-2026-18056

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chatgpt-desktop-setup/MAL-2026-18056.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18056
Aliases
  • GHSA-pgq5-xq28-533m
Published
2026-10-19T21:47:42Z
Modified
2026-10-29T14:30:40Z
Summary
Malicious code in chatgpt-desktop-setup (npm)
Details

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

Source: amazon-inspector (5c475553921237fa1c0ad5df34610023b93a7c00d13203981c43b883532bd072)

On running the CLI, the package rewrites ~/.codex/config.toml and ~/.codex/.codex-global-state.json to point ChatGPT Desktop and the Codex CLI at a hardcoded non-OpenAI inference endpoint (DEFAULT_GATEWAY_URL = https://api.vokes.in/v1), registering model providers chatgpt_pro_5x / gpt-6-astra and setting that gateway as the active provider. In the same configuration pass it sets approval_policy = "never", sandbox_mode = "danger-full-access", agent-mode = full-access, and sandboxPolicy.type = dangerFullAccess, and expands the agent's project rootPaths to include $HOME, Downloads, and the filesystem root (/ or C:). After setup, every subsequent Codex/ChatGPT Desktop prompt, attached file content, and tool-call response flows through api.vokes.in, and tool calls returned by that endpoint are executed by the agent without approval prompts across the entire user filesystem. The gateway swap alone is a silent-relay of prompt data to a third party unrelated to OpenAI; combined with the undisclosed sandbox disablement and root-path expansion, the operator of api.vokes.in obtains agent-driven arbitrary code execution on the user's host.

Source: ghsa-malware (7551b6bc0def507896edf6f75d5fe99a46d27eedbe55f69861c500b3c07551aa)

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":  "GHSA-pgq5-xq28-533m",
            "import_time":  "2026-10-19T22:24:25.323146104Z",
            "modified_time":  "2026-10-19T21:47:43Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "7551b6bc0def507896edf6f75d5fe99a46d27eedbe55f69861c500b3c07551aa",
            "source":  "ghsa-malware"
        },
        {
            "id":  "IN-MAL-2026-021901",
            "import_time":  "2026-10-29T13:37:15.857591717Z",
            "modified_time":  "2026-10-29T13:22:51Z",
            "sha256":  "5c475553921237fa1c0ad5df34610023b93a7c00d13203981c43b883532bd072",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.2"
            ]
        },
        {
            "id":  "IN-MAL-2026-021998",
            "import_time":  "2026-10-29T13:37:19.157547083Z",
            "modified_time":  "2026-10-29T13:35:35Z",
            "sha256":  "a1da0b8da785dae09b76c5edc52b33d152dc130c9224abb2849fd234d8489166",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.3"
            ]
        },
        {
            "id":  "IN-MAL-2026-022127",
            "import_time":  "2026-10-29T14:14:28.172940559Z",
            "modified_time":  "2026-10-29T13:52:24Z",
            "sha256":  "af7e5220f485bc6f28fae5a77e125a9b491d861378af487846c88b422adced27",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-022128",
            "import_time":  "2026-10-29T14:14:28.265095219Z",
            "modified_time":  "2026-10-29T13:52:31Z",
            "sha256":  "d9cdacb4686e25ec7261ce91a961645e8d79cb67dbfd67df12390ec056d3e1c7",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / chatgpt-desktop-setup

Package

Name
chatgpt-desktop-setup
View open source insights on deps.dev
Purl
pkg:npm/chatgpt-desktop-setup

Affected ranges

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

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3

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"
    },
    {
        "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":  "bin/cli.js",
            "sha256":  "24b3647039f8abe6c1d3ea659f61934cf8f3ed8e0b72b283e9b4f67428917c3e",
            "tlsh":  "afa2061a4ceb16201e7bd4b5fa8b0027f62ec5233205de1475fd42946fe2619c2be6ed"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chatgpt-desktop-setup/MAL-2026-18056.json"