@openai/codex@0.1.2504172304

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

  • latest version

    0.151.0

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    1 hours 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
    • L
    Inclusion of Functionality from Untrusted Control Sphere

    @openai/codex is a

    OpenAI Codex CLI

    Lightweight coding agent that runs in your terminal

    Affected versions of this package are vulnerable to Inclusion of Functionality from Untrusted Control Sphere due to auto-approving ripgrep execution even when the --pre, --hostname-bin, --search-zip, or -z flags are used. An attacker can execute unauthorized commands by leveraging these flags to trigger unintended command execution.

    How to fix Inclusion of Functionality from Untrusted Control Sphere?

    Upgrade @openai/codex to version 0.9.0 or higher.

    <0.9.0