Source inspection shows a postinstall hook that materializes a matching platform binary from same-release optional dependencies, using a temporary npm install with scripts disabled if needed. The observed behavior is consistent with the declared CLI package; no concrete attack surface was established.
Static reason
One or more suspicious static signals were detected.
Trigger
Package installation runs the postinstall hook; the wrapper runs the binary when a user invokes the command.
Impact
The observed file changes are limited to materializing the package's own executable and cleaning up its temporary directory; no malicious behavior was established.
Mechanism
The hook checks platform and architecture, resolves a matching optional package or fetches it into a temporary prefix with scripts disabled, then copies its binary into the package's bin directory.
Evidence
package.jsonpostinstall.mjsbin/nikcli