The postinstall hook automatically installs package-owned agent assets and can set a global Claude default without a separate setup command. Its scope and overwrite guards reduce risk, and the inspected source does not establish malicious behavior, but the automatic agent configuration change warrants a warning.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
Installing the package with npm, which runs its postinstall hook.
Impact
Changes user-level agent configuration and can affect later Claude sessions; inspected source does not establish credential theft or remote execution.
Mechanism
The hook installs bundled agent assets and, if no nonempty outputStyle is configured, writes the package's Peaks style as the Claude default.
Evidence
package.jsonscripts/install-skills.mjsscripts/install-skills-output-style-default.mjsscripts/install-skills-bundles.mjsoutput-styles/peaks-skill-swarm.md~/.claude/settings.json