The source establishes a default-on, post-sync write to a global agent instruction file from synced content, leaving a meaningful control-surface risk. The credential flow inspected sends machine credentials to the configured HQ API base for token minting and does not establish an unrelated recipient or concrete theft.
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 completes on an agent identity while the default-enabled feature flag remains on.
Impact
The synced instructions can affect later Codex runs for that user account; the behavior is scoped to agent identities and can be disabled with an environment setting.
Mechanism
The runner reads the synced personal agent profile and capability documents, then writes their contents to ~/.codex/AGENTS.md, replacing an existing regular file.
Evidence
dist/bin/sync-runner.jsdist/bin/sync-runner-post-sync-flags.jsdist/agent-codex-instructions.js~/.codex/AGENTS.md