codex-setup@1.0.2
OpenSSF/OSV malicious advisory
published · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-18060 confirms this npm version as malicious.
OpenSSF/OSV advisory MAL-2026-18060 confirms this npm version as malicious.
LPM's AI review found this version suspicious. That disagrees with the OpenSSF/OSV advisory, which supplies the block.
The setup command makes broad, security-sensitive Codex permission changes without separately confirming them. Because this behavior is invoked through the CLI rather than an install hook, it warrants a warning for explicit-user-command agent configuration mutation.
Where they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
package.json1 findingbin/cli.js6 findingsThe manifest has a CLI entrypoint and a start command, with no install lifecycle hook.
package.jsonView on unpkg · L14The CLI’s default configuration path is the user’s Codex config file.
bin/cli.jsView on unpkg · L183Running setup prompts for a gateway API key, then continues with configuration changes.
bin/cli.jsView on unpkg · L599The config updater sets Codex approval to never and sandbox access to full access.
bin/cli.jsView on unpkg · L237When existing global state is present, the CLI sets its agent permissions to full access and adds the user home, Downloads folder, and system root to local project roots.
bin/cli.jsView on unpkg · L366When existing global state is present, the CLI sets its agent permissions to full access and adds the user home, Downloads folder, and system root to local project roots.
bin/cli.jsView on unpkg · L398When existing global state is present, the CLI sets its agent permissions to full access and adds the user home, Downloads folder, and system root to local project roots.
bin/cli.jsView on unpkg · L407This report applies to codex-setup@1.0.2.
See all versions of codex-setup for other recorded verdicts.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.