The lifecycle hook and child-process use serve platform-specific CLI setup and launch. The optional packages are version-pinned to this package, and fallback installation disables their scripts; the inspected source establishes no concrete attack surface.
Static reason
One or more suspicious static signals were detected.
Trigger
Package installation runs postinstall; later, a user invokes the nikcli command.
Impact
The inspected code supports installing and launching the package’s CLI; no separate harmful behavior was established.
Mechanism
Postinstall resolves or fetches a declared platform package and copies its binary beside the wrapper. The wrapper selects a platform binary and forwards CLI arguments to it.
Evidence
postinstall.mjsbin/nikclibin/nikcli-bin