The global npm postinstall automatically runs setup that writes Claude Code instructions, hooks, and settings, and may configure Codex as well. Those agent-control changes occur without a separate consent prompt, so the package should be blocked under the install-time agent-configuration rule.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
Installing globally with npm outside CI, unless postinstall is explicitly skipped.
Impact
Agent behavior and persistent user-level configuration are changed during package installation without the user separately approving those changes.
Mechanism
The postinstall runs `sprag install`, which registers Claude Code skills, hooks, and statusline settings, appends global Claude instructions, and configures Codex when present. These steps do not require an interactive confirmation in the postinstall path.
Policy narrative
A global npm install can trigger postinstall, which launches `sprag install` without an interactive prompt. That setup registers Claude Code skills and hooks, writes global Claude instructions, and configures Codex when detected. Because these install-time changes affect AI-agent instructions and settings outside the package without separate consent, this meets the install-time agent-control-hijack rule.
Evidence
package.jsonbin/postinstall.js