The install hook automatically installs the package’s own agent skill, which is an agent extension lifecycle risk. The CLI also self-updates on normal startup with an off switch; these behaviors warrant a warning, but the skill’s contents do not show broader agent control hijacking or malicious activity.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
The npm postinstall hook runs on install. The self-update check runs when the qgrid CLI starts unless --skip-update is supplied.
Impact
The install-time agent skill setup creates an unrequested agent extension surface. The self-update may change the installed CLI version without a separate update command.
Mechanism
postinstall.mjs removes the existing qgrid skill target under project or global Codex/Claude skill directories and copies or links the package’s skill there. The CLI queries npm for its latest version and installs that version globally when newer.
Evidence
package.jsonpostinstall.mjsskills/qgrid/SKILL.mddist/cli.js.agents/skills/qgrid.claude/skills/qgrid~/.codex/skills/qgrid~/.claude/skills/qgrid