The postinstall hook automatically writes the package’s own agent skills, instructions, and hook configuration into consumer projects. These writes match the package’s setup function, but install-time agent extension setup is a warning under the agent-control-surface rule.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
npm postinstall, when the consumer project depends on @softize/opus; OPUS_SKIP_INIT disables the setup.
Impact
The install changes coding-agent configuration and adds an automatically invoked package hook, creating agent-extension lifecycle risk.
Mechanism
The hook calls setup, which materializes Opus skills and instruction files, installs a Claude hook, and registers it in .claude/settings.json.
Evidence
package.jsonbin/lib/postinstall.mjsbin/lib/materialize.mjsregistry/instructions/opus.mdAGENTS.mdCLAUDE.md.agents/skills/*.claude/skills/*.claude/hooks/opus-check-on-stop.mjs.claude/settings.json.github/workflows/*