The global-install postinstall hook automatically force-installs the package’s bundled kit into the user data directory. This is an automatic setup of the package’s own agent-related extension, so it warrants a warning; the inspected graph-web server is loopback-bound and authorization-protected.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Package installation when npm_config_global is true or 1, except in CI or when DIA_NO_POSTINSTALL=1.
Impact
Automatic setup writes the package’s own agent-related kit outside the package directory without a separate user command.
Mechanism
The postinstall hook launches the CLI’s postinstall command, which force-installs the bundled kit under the user data directory’s kits folder.
Evidence
package.jsonscripts/postinstall.mjsdist/cli.jsuser data directory: kits/<kit-id>/<version>