The inspected lifecycle behavior is consistent with installing this package’s pinned, platform-specific CLI binary. The caller-controlled binary override is conditional on explicitly setting its environment variable, and no concrete attack behavior was found.
Static reason
One or more suspicious static signals were detected.
Trigger
Package installation runs the postinstall script; the wrapper runs when the user invokes nikcli.
Impact
The observed behavior supports normal CLI installation and invocation; no confirmed harmful effect was established.
Mechanism
The installer resolves or fetches the release-matched platform package with dependency scripts disabled, copies its binary beside the wrapper, and checks its version. The wrapper can dispatch to a caller-configured binary path.
Evidence
package.jsonpostinstall.mjsbin/nikcli