The default postinstall can add the package’s own skills and hook to the consumer’s agent setup, which meets the warning criteria for agent extension lifecycle risk. The hook serves the package’s project-check function, and the reviewed source does not show broader agent permission changes or data collection.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
npm postinstall, unless OPUS_SKIP_INIT is set; setup proceeds only for a detected consumer project that resolves this package instance.
Impact
Changes the consumer project’s agent configuration and adds an automatic check to Claude sessions; this is an agent-extension lifecycle risk.
Mechanism
The setup materializes package-owned skills and hook files, then registers the hook in .claude/settings.json. The hook runs opus check on changed apps and can block the session end on violations.
Evidence
package.jsonbin/lib/postinstall.mjsbin/lib/materialize.mjsregistry/hooks/opus-check-on-stop.mjsbase.jsonopus.json.agents/skills/*.claude/skills/*.claude/hooks/opus-check-on-stop.mjs