read-codex-history
Pass
Audited by Gen Agent Trust Hub on Nov 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: Executes local binaries including
git,grep, andripgrepto determine repository status and search history files (Evidence:subprocess.Popeninscripts/_core/text.pyandsubprocess.runinscripts/read_codex_session.py). These tools are used for their intended purpose within the skill's scope. - [INDIRECT_PROMPT_INJECTION]: Processes local conversation history files and prompt ledgers which can contain untrusted user-supplied instructions (Ingestion: rollout JSONL and history.jsonl). It lacks formal boundary markers for this data in its output. It has the capability to execute subprocesses like git and ripgrep based on search parameters (Capability: subprocess.run in analyze_sessions.py). While it implements some filtering for noise text, it does not fully sanitize the history content before presentation (Sanitization: partial via is_noise_text).
- [DYNAMIC_EXECUTION]: Uses
exec()andimportlibfor verification and dynamic loading within test files (Evidence:tests/test_find_codex_session.pyandtests/test_reader_metadata_lookup.py). This capability is restricted to the development test environment.
Audit Metadata