The global postinstall automatically provisions Pi extensions and registers a harness startup entry, creating an agent-extension lifecycle risk without a separate setup command. The reviewed code does not show credential theft, unrelated data collection, or another concrete attack.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
npm postinstall during a global install.
Impact
The extension becomes available to the harness host at startup without a separate user setup command.
Mechanism
The hook calls setup, which invokes harness setup for Pi packages and registers the workflows entry.
Evidence
package.jsonscripts/postinstall.jsdist/setup.jsharness entries.jsonPi extension registrations: @vzlentin/pi-agents and @vzlentin/pi-workflows
Network endpoints1
raw.githubusercontent.com