The automatic post-sync write to a global agent instruction file leaves a guarded configuration risk, warranting a warning. The manifest’s prepare hook is Husky setup, and inspected credential flows do not establish exfiltration.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
A sync-runner cycle for an agent identity when the post-sync feature flag is enabled.
Impact
Synced instructions can affect later Codex runs for that OS user.
Mechanism
The runner projects content from the agent’s personal overlay into ~/.codex/AGENTS.md, which Codex reads globally.
Evidence
dist/bin/sync-runner.jsdist/agent-codex-instructions.js~/.codex/AGENTS.md