The runner automatically writes synced content into Codex’s global instruction file, which can affect future agent behavior, and the step is on by default. This is an intentional agent feature rather than clear malware, so it warrants a warning rather than a block.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
An agent identity completes a sync-runner pass; this is enabled unless HQ_AGENT_CODEX_MATERIALIZE is exactly 0.
Impact
The synced instructions can influence behavior in subsequent Codex runs for that OS account.
Mechanism
The runner reads the agent overlay and atomically writes its content to ~/.codex/AGENTS.md.
Evidence
dist/bin/sync-runner.jsdist/bin/sync-runner-post-sync-flags.jsdist/agent-codex-instructions.js~/.codex/AGENTS.md