Warn by default; block when configured. An agent using that workspace configuration may start the added server without the user explicitly requesting its installation.
AI security review
scanned · by lpm-firewall-ai
The default postinstall automatically modifies existing workspace-level AI-agent MCP configuration without user consent. This is install-time AI-agent control-surface hijacking under the review rules.
npm postinstall during a local install when the current workspace already has a supported MCP configuration; CI and GRAPHFLOW_SKIP_POSTINSTALL=1 bypass the script.
Impact
An agent using that workspace configuration may start the added server without the user explicitly requesting its installation.
Mechanism
The script edits an existing workspace MCP JSON file to add a GraphFlow entry that launches graphflow-mcp via npx.
Policy narrative
During npm postinstall, a default local-install path detects supported MCP configuration in the current workspace and writes a GraphFlow server entry into it. This changes agent configuration without a separate user request, enabling the workspace’s agent to launch the package’s MCP server.
Avoid installing @roarpeng/graphflow@1.9.16. Remove it from direct dependencies and check your lockfile for transitive copies.
Choose an independently verified alternative or release. This report does not establish that other versions are safe.
If this version ran, check your AI agents' configuration and instruction files (the files this report lists) for changes you did not make, and remove them. This finding does not by itself establish malware intent.