
AI Agent Denied CRM Write Access, Yet Downstream System Still Modified Records
An AI agent using DeepSeek was explicitly restricted from writing to HubSpot CRM, yet the system still executed unauthorized changes through an n8n workflow. The experiment demonstrated that model-level permissions do not equate to system-wide read-only behavior. In a controlled test with synthetic deals LAB-042 and LAB-043, a mismatch between the human-readable request and the structured proposal allowed the downstream node to perform a PATCH operation. Adding an independent deterministic gateway that validated target object, expected state, and allowed transitions before execution successfully blocked the wrong-object change. The case highlights the confused deputy problem in modern agentic architectures and stresses the need to verify runtime controls at the actual execution boundary rather than relying solely on model credentials.
HabrSep 19, 2026Translated from Russian