The sync CLI, not an install hook, default-writes the global Codex AGENTS.md for agent identities from local overlay files. That is a guarded first-party agent control-surface mutation, not hidden install-time hijack or credential theft.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
User or fleet invocation of the hq-sync-runner bin after a sync, when custom:entityType is agent and HQ_AGENT_CODEX_MATERIALIZE is not exactly 0.
Impact
Later Codex sessions on that machine follow the written overlay. A human identity does not take this path, and install does not write the file.
Mechanism
The runner reads personal overlay markdown and atomically replaces ~/.codex/AGENTS.md, which Codex merges on later runs.
Evidence
dist/bin/sync-runner.jsdist/bin/sync-runner-post-sync-flags.jsdist/agent-codex-instructions.jspackage.json~/.codex/AGENTS.md