No concrete credential exfiltration or other malicious attack was confirmed. However, agent sync automatically writes synced content into Codex’s global instructions by default, giving that content influence over future runs; classify this as a warning-level agent capability risk.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
A sync-runner pass for an agent identity, unless HQ_AGENT_CODEX_MATERIALIZE is set to exactly 0.
Impact
Synced content can change instructions applied to future Codex runs across projects for that user account.
Mechanism
Reads the HQ tree’s agent profile and capability markdown, then writes the combined content to ~/.codex/AGENTS.md, which Codex loads on every run.
Evidence
dist/bin/sync-runner.jsdist/bin/sync-runner-post-sync-flags.jsdist/agent-codex-instructions.js~/.codex/AGENTS.md