The global postinstall performs package-aligned harness setup, but it changes user-level agent and shell configuration during installation. This warrants a warning for agent extension lifecycle risk; the inspected credential-related paths perform local preflight checks rather than transfers.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
Global npm installation when NAM_SKIP_SETUP is not set to 1.
Impact
The install can alter agent behavior and command resolution for the user’s account; the inspected source does not establish credential export or another concrete attack.
Mechanism
The postinstall hook invokes the CLI setup command, which installs a package-owned skill, changes harness memory settings, and adds launcher paths to shell startup configuration.
Evidence
package.jsonscripts/postinstall.mjsdist/cli.jsdist/setup.js