The postinstall hook automatically removes legacy agent hooks and skills, an agent configuration mutation that warrants a warning under the uninstall-only policy. Its matching and deletion scope is constrained, with no evidence of exfiltration, remote execution, or broad control-surface changes.
Static reason
One or more suspicious static signals were detected.
Trigger
Installing the package with its postinstall lifecycle enabled.
Impact
Existing Ethos agent integration state may be removed without a separate cleanup command. The inspected behavior is limited to those retired entries; no broader control hijack was identified.
Mechanism
The hook imports a cleanup module that removes the matching legacy eager-open hook from Claude Code and Codex settings and removes named legacy skills recorded in a lockfile.
Evidence
package.jsonpostinstall.cjsdist/scripts/cleanup-agent-state.jsdist/lib/hooks-installer.jsdist/skills-installer/install.js