The postinstall hook skips ordinary local installs and CI, and its global-install path invokes the package's own kit setup. The flagged process execution and web server support package functions, and the reviewed sources show no malicious data flow.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
The setup runs only on global, non-CI installs unless DIA_NO_POSTINSTALL=1; the graph web server runs when its command is invoked.
Impact
The observed behavior is package setup and local graph viewing; no malicious collection, credential transfer, or unrelated execution was identified.
Mechanism
The hook launches the package CLI's postinstall command, which installs its bundled dia-msg kit. The web helper binds to loopback and uses a tokenized URL.