The postinstall hook automatically changes agent setup by adding Basinfy’s own skill and MCP integration, which warrants a warning for first-party agent extension lifecycle risk. The inspected source does not establish a broader control hijack or data export, so a block is not supported.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
The npm postinstall hook runs after installation and detects a global install or a project that directly depends on Basinfy.
Impact
Agents may follow Basinfy-specific tool preferences and workflow restrictions without a separate setup command.
Mechanism
The hook copies the package-owned skill into a user or project skills directory and configures the MCP server for detected agents.
Evidence
package.jsonscripts/postinstall.jsskill/SKILL.mddist/cli/mcp-config.js