Source inspection found automatic, user-level Claude configuration changes after Claude Code connects, including a CDPM tool permission grant. This runtime behavior leaves a concrete agent configuration risk, but the inspected code does not establish malicious behavior or an npm lifecycle attack.
Static reason
No blocking static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Claude Code initializes an MCP connection to the server; the setup can be disabled with an environment variable.
Impact
Claude Code may follow package-added global instructions and allow CDPM tools without separate tool approval.
Mechanism
The package adds CDPM instructions and a browser subagent, adds the registered CDPM tool namespace to Claude’s permission allow list, and may configure a CDPM status line.
Evidence
dist/index.jsdist/auto-setup.jsdist/agent-setup.jsdist/claude-md-setup.jsdist/statusline-setup.js~/.claude/CLAUDE.md~/.claude/agents/cdpm-browser.md~/.claude/settings.json