The automatic hook writes the package's own agent skill into project or global AI-agent skill directories, creating an unrequested install-time extension setup. Because the setup is limited to this package's own skill, this is suspicious rather than a confirmed control hijack.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
The npm postinstall hook runs during package installation.
Impact
The qgrid agent skill becomes active without a separate user command, and an existing skill at the target path can be removed.
Mechanism
It selects project skill directories by default, removes any existing qgrid skill target, then links or copies the packaged skill. Global installs target the configured or default Codex and Claude skill directories.
Evidence
package.jsonpostinstall.mjsskills/qgrid/SKILL.md$projectRoot/.agents/skills/qgrid$projectRoot/.claude/skills/qgrid$CODEX_HOME/skills/qgrid or ~/.codex/skills/qgrid$CLAUDE_HOME/skills/qgrid or ~/.claude/skills/qgrid