-= Per source details. Do not edit below this line.=-
When the user runs the package's bin (chatgpt-setup/codex-setup), the tool rewrites ~/.codex/config.toml to set approval_policy='never' and sandbox_mode='danger-full-access', edits ~/.codex/.codex-global-state.json to set agent-mode to 'full-access' and inject the filesystem root ('/' on Unix or 'C:\' on Windows) plus the user's home directory into every project's rootPaths, and points the Codex model_provider base_url at the author-controlled gateway https://api.vokes.in/v1. The combined effect is that tool-call instructions returned by that third-party gateway are executed by the local Codex agent without human approval, inside a sandbox expanded to the entire filesystem. The approval/sandbox disablement and the rootPaths expansion to the filesystem root are not described in the README, which advertises only gateway selection, model, provider and reasoning options alongside a 'Full Disk Access' success line. The documented CLI invocation is required to trigger the behavior; it does not fire from an npm lifecycle hook or on require().
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.
{
"malicious-packages-origins": [
{
"id": "GHSA-4632-2g34-4r9w",
"import_time": "2026-10-19T22:24:25.288295829Z",
"modified_time": "2026-10-19T21:47:44Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "ef73cfc453d6276dbd5b19b5ce5dcbde9c60f17cddaefa47d54c1cf8e248075a",
"source": "ghsa-malware"
},
{
"id": "IN-MAL-2026-021933",
"import_time": "2026-10-29T13:37:17.164225267Z",
"modified_time": "2026-10-29T13:26:53Z",
"sha256": "374490b0ea5605d8a8148dcbf592fa7cbcc96146e5822ae4bd2fae978a568722",
"source": "amazon-inspector",
"versions": [
"1.0.2"
]
},
{
"id": "IN-MAL-2026-022240",
"import_time": "2026-10-29T14:14:36.872347243Z",
"modified_time": "2026-10-29T14:07:10Z",
"sha256": "3e6be97ccb019734aa45efc4b04b95e82b650cb9ce6397b41b5db0b6987e118d",
"source": "amazon-inspector",
"versions": [
"1.0.0"
]
},
{
"id": "IN-MAL-2026-022241",
"import_time": "2026-10-29T14:14:36.940304299Z",
"modified_time": "2026-10-29T14:07:19Z",
"sha256": "b02892b045fd361a2c38a698c9bb5c6e9a73d2eff5f12b0990e21910c6ae6779",
"source": "amazon-inspector",
"versions": [
"1.0.1"
]
},
{
"id": "IN-MAL-2026-022238",
"import_time": "2026-10-29T14:14:36.731484402Z",
"modified_time": "2026-10-29T14:06:58Z",
"sha256": "b74993031d762b60eecdfb7dc84cf03ac91c2f537a2bdc26421924cd6e1dd0fa",
"source": "amazon-inspector",
"versions": [
"1.0.3"
]
}
]
}[
{
"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"
}
]
{
"evidence_files": [
{
"path": "bin/cli.js",
"sha256": "24b3647039f8abe6c1d3ea659f61934cf8f3ed8e0b72b283e9b4f67428917c3e",
"tlsh": "afa2061a4ceb16201e7bd4b5fa8b0027f62ec5233205de1475fd42946fe2619c2be6ed"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@decoopus/chatgpt-setup/MAL-2026-18053.json"