The global-install hook automatically updates this package's own coding-agent skill outside its install directory, which is an agent extension lifecycle risk. The reviewed hook has no network or credential collection behavior, and the skill update logic preserves locally modified copies.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
Global npm installation when npm_config_global is true or 1.
Impact
Changes the instructions loaded by supported coding agents. The skill directs authentication through the user's explicit CLI login and prohibits transmitting the saved credential.
Mechanism
The hook detects supported harnesses and replaces an installed BoxCompute skill when it determines the copy is unmodified and package-managed.
Evidence
package.jsondist/postinstall.jsdist/skill.jsskills/boxcompute-sandbox/SKILL.md$HOME/.claude/skills/boxcompute-sandbox$CODEX_HOME/skills/boxcompute-sandbox$HOME/.agents/skills/boxcompute-sandbox$HOME/.cursor/skills/boxcompute-sandbox$HOME/.gemini/skills/boxcompute-sandbox