This package’s postinstall automatically installs its own shell completions into user directories, which is a documented but unsolicited install-time setup and warrants a warning. The reviewed evidence does not show credential theft, unrelated network contact, or malicious execution.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
npm install, through the postinstall lifecycle hook.
Impact
Adds Loki completion files to detected user shell completion directories without a separate command from the user.
Mechanism
The hook invokes the Loki CLI completion command, which writes completion files unless CI or LOKI_NO_COMPLETIONS=1 disables it.
Evidence
package.jsonbin/loki-postinstall.jsloki-ts/dist/loki.js~/.local/share/bash-completion/completions/loki~/.config/fish/completions/loki.fishdetected zsh fpath directory/_loki