This companion guide follows the 109-second walkthrough, which installs the trending Codex Security CLI at pinned version 0.10.0 on Ubuntu 24.04 and runs a first scan. The video is the starting point below, and the exact commands come from the official repository and CLI docs.
Installing version 0.10.0 globally with npm, then verifying with version and info commands
Running a dry-run scan of a repository with no sign-in, ending in Preflight complete
Signing in with cs login, running a live scan, and reading the markdown report
Before you start
You need 64-bit Ubuntu, with 24.04 used in the walkthrough
The official readme requires Node.js 22.13.0 or newer within 22.x, or Node 24.x or 26.x, plus Python 3.10 or newer
Ubuntu 24.04 ships an older Node release, so the video installs Node 24 first
Check what you have with node --version and python3 --version before installing
Signing in and running a live scan need an account on your own machine
Simulated terminal card checking Ubuntu 24.04.5 on x86_64 with Node v26.12.1 and Python 3.12.3, noting Ubuntu apt ships Node 18 which is too old (Still from the walkthrough video.)
Install the CLI and verify it
Install the pinned release globally with npm install --global @openai/codex-security@0.10.0, matching the npm package version 0.10.0 published 2026-11-12
Confirm the install with cs --version, which prints 0.10.0
Confirm the runtime details with cs info --json, which reports package, plugin, runtime, and model details
cs and codex-security run the same CLI, so codex-security --version is the identical check under its long name
If the short name conflicts with another command, or to skip the global install, use npx @openai/codex-security in place of cs
Simulated terminal card showing cs version printing 0.10.0 and cs info reporting the SDK, bundled plugin, and model with no sign-in needed (Still from the walkthrough video.)
Dry run without signing in
From your repository directory, preview a scan with cs scan . --dry-run
A dry run checks the storage location without creating a scan directory, so it needs no sign-in
The video shows the dry run ending in Preflight complete, which is the success signal to look for
Sign in and run the first scan
Sign in with cs login, which was untested here and runs on your own machine
Headless machines can use the device flow shown in the video instead, where the workspace allows it
Confirm the sign-in with cs login status before scanning
Run the live scan from the repository directory with cs scan ., also untested here
Open the markdown file at the report path printed in the terminal when the scan completes
Simulated terminal card listing the cs login browser sign-in, the device-auth option for headless machines, and cs login status (Still from the walkthrough video.)
Reading the report and a sandbox note
The report layout follows the official docs, including the scan scope and follow-up guidance linked from the readme
On locked-down hosts, the sandbox needs nested user namespaces enabled, a video note that was untested here
For the next step after a local security baseline, see more Linux guides