The postinstall hook automatically installs the package’s own shell completions, which the review rules treat as suspicious install-time setup. The telemetry paths reviewed are disclosed and opt-outable, and the skill-link helper only repoints an existing Loki link under guarded conditions.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Impact
Changes the user’s shell-completion configuration without a separate user command; the package’s own skill-link repair is limited to an existing Loki skill symlink.
Mechanism
The hook calls loki completion --postinstall, which installs completion files in supported shell-completion directories and records the installed version.
Evidence
package.jsonbin/loki-postinstall.jsloki-ts/dist/loki.jsautonomy/lib/skill-link-heal.shautonomy/telemetry.sh~/.local/share/bash-completion/completions/loki~/.config/fish/completions/loki.fish~/.zfunc/_loki~/.loki/completions-version