The global-install hook automatically configures first-party agent integrations, including enabling the plugin in Codex user configuration, without a separate agent-plugin confirmation. This leaves a concrete lifecycle extension risk, but the inspected source does not establish a broader control-surface attack or credential theft.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; source fingerprint signature matched known malicious package; routed for review
Trigger
Installing the package globally, or setting its explicit force-install environment flag; CI and the explicit skip flag suppress the hook.
Impact
The package’s own agent extension may become active for supported user-level agents without a separate plugin-install command.
Mechanism
The postinstall script runs the bundled CLI’s plugin-install command, which defaults to all supported agents and enables the package plugin in Codex user configuration.
Evidence
package.jsonscripts/postinstall.mjscli.jsplugins/codex/.codex-plugin/plugin.json