The automatic postinstall setup installs the package’s own agent skills and registers a Claude hook in the consuming project, which warrants a warning under the agent-extension lifecycle rule. The hook serves Opus checks, and the install path is gated to projects that declare the package; no malicious behavior was identified in the reviewed paths.
Static reason
One or more suspicious static signals were detected.
Trigger
The npm postinstall runs automatically when installed, unless OPUS_SKIP_INIT is set; setup proceeds only for a detected consumer project that declares @softize/opus.
Impact
This installs agent extensions and hooks without a separate setup command, creating an agent-extension lifecycle risk.
Mechanism
initProject materializes Opus skills and agent configuration, including a Stop hook that runs Opus checks for changed apps.
Evidence
package.jsonbin/lib/postinstall.mjsbin/lib/init.mjsbin/lib/materialize.mjsregistry/hooks/opus-check-on-stop.mjs.agents/skills/.claude/skills/.claude/hooks/opus-check-on-stop.mjs.claude/settings.jsonAGENTS.md