The postinstall hook automatically installs the package’s own agent skills and registers shell completion by modifying the user’s shell rc file. This is an install-time extension and shell setup risk, but the reviewed behavior does not show unrelated payload execution or credential theft.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
npm installation runs the postinstall hook.
Impact
User shell configuration and agent skill directories are modified without a separate install command.
Mechanism
The hook invokes `skill install`, which installs the CLI’s skills and appends a marked completion block to the detected shell rc file.
Evidence
package.jsonscripts/postinstall.jsdist/commands/skill.jsdist/services/completion-installer.js~/.zshrc~/.bashrc~/.bportal/skills/