Source inspection confirms an automatic, default-on write of synced content to Codex’s global instruction file, creating a residual agent-configuration risk. The package has no install hook, and the credential-related source shows machine authentication flow rather than confirmed credential 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 successful sync by an agent identity, unless the operator sets HQ_AGENT_CODEX_MATERIALIZE to exactly 0.
Impact
Synced content can influence Codex behavior across projects for that OS user.
Mechanism
The runner copies regular files from the synced agent profile and capability overlay into ~/.codex/AGENTS.md.
Evidence
dist/bin/sync-runner.jsdist/bin/sync-runner-post-sync-flags.jsdist/agent-codex-instructions.js~/.codex/AGENTS.md