The automatic postinstall hook performs project mutation and a global package installation through shell execution, creating a real install-time risk. The inspected behavior does not meet the policy threshold for blocking, so warn pending review of the intended installer scope.
Static reason
One or more suspicious static signals were detected.
Trigger
Package installation triggers the postinstall command `yk init`.
Impact
The consumer project manifest can be changed and a global package install attempted without a separate user command.
Mechanism
The initializer reads and rewrites the consumer package.json to add an image script, then invokes a shell command to install cross-env globally.
Evidence
package.jsoncli/index.js../../package.json