The automatic postinstall modifies the agent directory by installing this package's own bundled assets and setup files. This warrants a warning for agent extension lifecycle risk, but inspected source did not show an attack or broad unrelated agent-control mutation.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
The npm postinstall lifecycle runs, unless CI or PHI_SKIP_POSTINSTALL is set.
Impact
The agent configuration directory is modified during installation; inspected code did not establish unrelated control changes or data exfiltration.
Mechanism
The script copies bundled assets, creates dependency links and memory directories, and sets a default setting on first install.
Evidence
scripts/postinstall.cjs~/.phi/agent/extensions~/.phi/agent/agents~/.phi/agent/skills~/.phi/agent/settings.json