The package automatically installs its own agent integrations during qualifying lifecycle runs, without requiring the separate manual mode. The behavior supports an agent extension lifecycle warning, while the inspected source does not establish a block-eligible attack.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
A global npm installation outside CI, unless SPRAG_POSTINSTALL=0; other package managers may also run the hook when they permit it.
Impact
Later agent sessions may invoke Sprag commands on startup, tool use, or prompt submission. This is a guarded first-party integration setup, with no confirmed credential theft or unrelated payload execution in the inspected path.
Mechanism
The lifecycle script launches sprag install, whose default mode registers package-owned skills, statusline settings, and event hooks. Codex setup can also add global harness rules; Codex hook execution requires a separate trust action.
Evidence
package.jsonbin/postinstall.jssrc/postinstall.jssrc/commands/install.jssrc/installer.js~/.claude/settings.json