The default-on post-sync write into Codex instructions leaves a concrete agent configuration risk, so this warrants a warning. The manifest's prepare hook runs Husky, and the inspected Cognito transfer is machine authentication to AWS Cognito.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
A sync completes for an agent identity and the local materialization flag is not set to exactly zero.
Impact
Synced instructions can change the guidance Codex receives on that machine. The inspected source does not establish a separate credential attack or install-time attack.
Mechanism
The runner gathers the HQ agent profile and capability files, combines their contents, and writes them to the Codex home AGENTS.md file.
Evidence
dist/bin/sync-runner.jsdist/bin/sync-runner-post-sync-flags.jsdist/agent-codex-instructions.js~/.codex/AGENTS.md