Agent Config Directory Access
- Category
- Agent Snooping
- Confidence
- 93% confidence
- Finding
This section directs modification of
~/.codex/config.toml, a sensitive agent configuration file in the user's home directory. Even though it says to show a diff and ask permission, instructions targeting privileged config locations can persistently alter agent behavior, reroute future model traffic to a third-party endpoint, and create long-lived security impact beyond the current task.- Content
md ## Codex on OceanToken Add a provider and a profile to `~/.codex/config.toml` so the user's default setup stays untouched and OceanToken is one flag away. Pick the model with `search_models` (type `chat`, capability `tools`); OpenAI GPT-5 family models are the safe choice for Codex.
