The guarded postinstall automatically installs the package’s own bundled skill into detected agent directories. This is an agent extension lifecycle risk, but the inspected code does not show broader agent setting changes, credential theft, or unrelated data collection.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
Supported global npm or pnpm install lifecycle, or the narrowly detected pnpm add lifecycle.
Impact
Agent tools may discover and use the installed package skill after installation; no broader agent configuration change was identified.
Mechanism
The hook copies or links the bundled skill under agent skill directories, including the canonical ~/.agents/skills location and skill folders for detected agent hosts.
Evidence
package.jsondist/bin/postinstall.jsdist/src/features/skill/installer.js~/.agents/skills/insmind-cli<detected-agent-root>/skills/insmind-cli