The install hook automatically installs the package's own skill into project or global agent directories and deletes any existing qgrid skill directory first. This is an agent-extension lifecycle risk, but the inspected skill is product guidance and does not show broader control hijacking.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
The npm postinstall hook runs during package installation when it finds a project root, or for a global install targets the configured Codex and Claude homes.
Impact
Agent sessions may pick up the installed Qgrid guidance, and any existing contents in those qgrid skill directories are removed.
Mechanism
It recursively removes the existing qgrid skill directory at each target, then links or copies the package's bundled skill there.
Evidence
package.jsonpostinstall.mjsskills/qgrid/SKILL.md<project>/.agents/skills/qgrid<project>/.claude/skills/qgrid<CODEX_HOME>/skills/qgrid<CLAUDE_HOME>/skills/qgrid