The global-install postinstall automatically writes or refreshes this package’s own skill in external AI-agent directories, which warrants a warning for install-time agent extension setup. The inspected flow preserves locally modified skills and shows no unrelated network contact or credential exfiltration.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
The package is installed globally with npm and the postinstall script runs.
Impact
This makes install-time changes outside the package directory to its own agent skill, without a separate user command; local edits are preserved.
Mechanism
The hook calls syncManagedSkills, which examines installed harness skill directories, writes a management manifest for matching packaged skills, and refreshes copies identified as unmodified and managed by this package.
Evidence
package.jsondist/postinstall.jsdist/skill.jsskills/boxcompute-sandbox/SKILL.md$HOME/.claude/skills/boxcompute-sandbox/.boxcompute-managed.json$CODEX_HOME/skills/boxcompute-sandbox/.boxcompute-managed.json$HOME/.agents/skills/boxcompute-sandbox/.boxcompute-managed.json