The postinstall automatically installs the package's own agent skills and registers a Claude hook that changes agent behavior by running checks and blocking turn completion on failures. Its behavior serves the SDK's development workflow and I found no evidence of data theft or permission bypass, so this warrants a warning for agent-extension lifecycle risk rather than a block.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
Package installation, unless OPUS_SKIP_INIT is set; setup proceeds only when the consumer declares this package and the installed copy resolves from that project.
Impact
Agent behavior and project settings are changed without a separate setup command. The hook can block the agent from ending a turn when checks fail; no data transmission was identified in the reviewed install path.
Mechanism
Postinstall invokes project setup, which materializes managed files and registers a Claude Stop hook to run the package's own project check.
Evidence
package.jsonbin/lib/postinstall.mjsbin/lib/init.mjsbin/lib/materialize.mjsregistry/hooks/opus-check-on-stop.mjsregistry/instructions/opus.md.claude/settings.json