@openai/codex@0.21.0

Codex CLI is a coding agent from OpenAI that runs locally on your computer.

  • latest version

    0.150.1

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    2 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @openai/codex package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Arbitrary Code Injection

    @openai/codex is a

    OpenAI Codex CLI

    Lightweight coding agent that runs in your terminal

    Affected versions of this package are vulnerable to Arbitrary Code Injection via the automatic loading of .env and .codex/config.toml files when executing the CLI in a compromised repository. An attacker can execute arbitrary commands by embedding malicious payloads in these configuration files.

    How to fix Arbitrary Code Injection?

    Upgrade @openai/codex to version 0.23.0 or higher.

    <0.23.0