The postinstall hook configures DevCodex-managed host adapters during a global install, creating a residual agent-extension lifecycle risk. The reviewed source does not establish credential theft, unrelated configuration abuse, or another concrete attack.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
Installing devcodex globally through npm, which runs its postinstall hook.
Impact
The setup can change how local coding agents load DevCodex instructions and hooks. The remaining concern is lifecycle-driven configuration without a separate prompt.
Mechanism
The hook invokes the global host configuration writer to deploy package-provided instructions and runtime files; it may also synchronize the package-owned Grok plugin.
Evidence
package.jsonscripts/postinstall.jsscripts/lib/npm-lifecycle-adapter.jsscripts/lib/global-host-config.jsscripts/lib/host-adapter-scope.js