The transitive @threenative/core postinstall modifies project-scoped agent configuration to register ThreeNative MCP servers by default. This matches the warning category for automatic registration of a package’s own MCP server; the reviewed code preserves existing entries and provides an opt-out, so the evidence supports a warning rather than a block.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
During installation, through the @threenative/core dependency’s postinstall hook, unless THREENATIVE_SKIP_MCP_SETUP is set.
Impact
AI agents may discover and use the added ThreeNative tools without a separate setup command.
Mechanism
The hook adds ThreeNative MCP server entries to detected project configuration files while retaining existing entries.
Evidence
.lpm-dependency-evidence-80ccf710-4be3-44bb-8199-8c7888445342/1/npm-linux/scripts/postinstall.mjs.lpm-dependency-evidence-80ccf710-4be3-44bb-8199-8c7888445342/1/npm-linux/scripts/ensure-mcp.mjs.lpm-dependency-evidence-80ccf710-4be3-44bb-8199-8c7888445342/1/npm-linux/mcp/install.mjs.mcp.json.codex/config.toml