The default postinstall can add the package’s own skills, instructions, and a Claude Stop hook to the consuming project, which is an automatic agent-extension write. The hook and instructions inspected support the package’s project-check workflow and show no broader agent hijack, so this is warning-level rather than a malicious block.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Package installation when postinstall runs; OPUS_SKIP_INIT=1 disables this setup.
Impact
Changes the consumer project’s agent configuration and installs the package’s own lifecycle integration without a separate setup command.
Mechanism
postinstall calls initProject for a detected consumer; materialization updates project agent artifacts and .claude/settings.json to invoke .claude/hooks/opus-check-on-stop.mjs.
Evidence
package.jsonbin/lib/postinstall.mjsbin/lib/init.mjsbin/lib/materialize.mjsregistry/instructions/opus.mdregistry/hooks/opus-check-on-stop.mjsregistry/skills/<consumer>/.claude/settings.json<consumer>/.claude/hooks/opus-check-on-stop.mjs