The package writes a global Codex instruction file as a default-on post-sync step for agent identities, which is first-party agent control-surface setup rather than an install hook. The gate, empty-overlay skip, and local overlay source keep it short of a hidden install-time hijack.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
Invocation of the hq-sync-runner bin after a completed sync when custom:entityType is agent.
Impact
Later Codex runs on that host merge the written global instructions. A non-agent identity does not take this path.
Mechanism
materializeCodexAgents gathers overlay markdown and atomically renames a temp file onto ~/.codex/AGENTS.md.
Evidence
dist/bin/sync-runner.jsdist/bin/sync-runner-post-sync-flags.jsdist/agent-codex-instructions.js~/.codex/AGENTS.md