The lifecycle hook performs platform-specific binary setup and constrains the fallback npm install to a temporary prefix with scripts disabled. The inspected source supports ordinary package setup, with no concrete attack behavior established.
Static reason
One or more suspicious static signals were detected.
Trigger
Package installation triggers postinstall.
Impact
This supports the package's command-line operation; no credential access, unrelated mutation, or exfiltration was identified.
Mechanism
The hook resolves or fetches a platform-specific optional dependency, disables that dependency's install scripts, then copies and verifies its binary beside the wrapper.
Evidence
postinstall.mjspackage.jsonbin/nikcli