codex-session-restore
Pass
Audited by Gen Agent Trust Hub on Aug 24, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [SAFE]: The skill implements best practices for local data modification, including a mandatory dry-run mode (requiring
--applyto write) and automated timestamped backups of all modified files. Database operations use standard parameterization to ensure data integrity. - [COMMAND_EXECUTION]: The skill instructs the agent to execute a bundled Python script (
restore_codex_sessions.py) to automate session recovery tasks. - [DATA_EXPOSURE]: The script accesses sensitive local application data in the
~/.codexdirectory, which is necessary to perform its stated purpose of repairing session metadata and thread history.
Audit Metadata