Skip to content

Review npm CLI auto-upgrade trust #65

@nisavid

Description

@nisavid

Summary

Review and tighten trust handling for automatic @openai/codex CLI upgrades.

Source

Migrated from docs/maintainers/security-backlog.md.

Maintained Docs

  • Security backlog index and review workflow: docs/maintainers/security-backlog.md
  • Threat model: docs/maintainers/threat-model.md
  • Package and runtime maintenance: docs/maintainers/package-runtime-maintenance.md

Context

The launcher/updater preflight can query npm for the latest @openai/codex version and install that exact version globally or under ~/.local. Missing CLI installation is interactive, but upgrades still trust npm latest-state.

Review Gate

Run the @codex-security workflow before treating implementation as review-ready.

Desired State

  • Upgrades require explicit user consent or an approved-version channel.
  • npm package provenance or signatures are verified where available.
  • The selected CLI version and verification result are logged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions