Codex Auth
ReviewAudited by ClawScan on May 10, 2026.
Overview
The skill mostly matches its Codex OAuth purpose, but it handles OpenAI auth tokens and stores pending OAuth state in /tmp while modifying/restarting OpenClaw auth components, so it should be reviewed carefully before use.
Use this only if you specifically need the deprecated Codex auth shim. Prefer the maintained codex-profiler replacement, do not paste or share full callback URLs except into the intended finish command, and verify file permissions around /tmp/openclaw and ~/.openclaw before running it on a shared machine.
Findings (4)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Installing or running this skill can change which OpenAI Codex account/profile the local OpenClaw agent uses.
The script stores OpenAI Codex OAuth access and refresh tokens in the local auth profile. This is expected for an auth skill, but it is sensitive account access material.
"access": credentials["access"], "refresh": credentials["refresh"], "expires": credentials["expires"],
Run it only for intended profiles, avoid sharing callback URLs, and prefer the maintained replacement if available.
On shared or less-trusted systems, pending OAuth flow material may be more exposed than users expect.
Pending OAuth verifier/state is written to a shared temporary path. The provided save path uses normal file creation and does not show restrictive permissions or cleanup/expiry controls.
PENDING_PATH = "/tmp/openclaw/codex-auth-pending.json"
...
pending[profile_id] = {
"verifier": verifier,
"state": state,Store pending OAuth state in a user-private directory with restrictive permissions, remove it after completion, and avoid running this on shared machines unless permissions are verified.
Using queued apply may temporarily interrupt the local gateway and modify active auth/config state.
The optional apply path can stop and start the OpenClaw gateway. This is disclosed and purpose-aligned, but it affects local service state.
stop = run_cmd(["openclaw", "gateway", "stop"]) ... start = run_cmd(["openclaw", "gateway", "start"])
Use queued apply only when ready for a gateway restart, and keep the generated backups/revert command available.
Users have less external provenance to rely on when deciding whether to trust this auth-handling skill.
The registry metadata does not provide a source repository or homepage, which reduces provenance clarity for a skill that handles auth credentials.
Source: unknown Homepage: none
Prefer the maintained codex-profiler path mentioned by the skill, or independently inspect the included script before using it.
