← Reddit

I rolled out Claude Tag in Slack. A stale session survived a full reinstall, so we rebuilt the security model.

Reddit · jch254 · July 9, 2026
A Claude Tag integration in Slack retained a six-day-old connector configuration even after the app was uninstalled and reinstalled, with new tokens and changed allowlists failing to reset the cached state. The incident prompted a security model redesign treating AI assistants in company systems as production infrastructure, incorporating service-account identity, read-only credentials by default, channel-scoped access, spend limits, and comprehensive audit trails. The core principle established is that credentials form the security boundary for AI systems connected to company infrastructure, rather than prompts alone.

Detailed Analysis

A Reddit post detailing a hands-on rollout of Claude Tag—Anthropic's integration allowing Claude to be invoked directly within Slack channels—surfaced a notable security issue: a stale connector session persisted across what should have been a complete reset. The author reports that rotating tokens, changing allowlists, removing connectors, and even fully uninstalling and reinstalling the Slack app failed to clear a six-day-old session configuration tied to a specific channel. This is a meaningful finding because it suggests that the session state governing an AI assistant's access to a workspace can live outside the normal credential lifecycle that administrators assume controls it, meaning standard incident-response steps (rotate keys, reinstall app) do not necessarily terminate an active session's permissions.

The significance here extends well beyond a single bug report. As AI assistants like Claude move from being conversational tools into being wired directly into company communication and workflow systems—Slack, calendars, ticketing systems, internal databases—they begin to function less like chatbots and more like service accounts with standing access to sensitive infrastructure. The author's core takeaway, "the prompt is not the boundary, the credential is the boundary," captures a security principle that is increasingly urgent as enterprises adopt agentic AI: no amount of prompt engineering, instruction-following, or safety training within the model itself substitutes for hard access controls at the infrastructure layer. If a connector session can survive a reinstall, then organizations cannot rely on the assumption that "removing the app" or "changing the API key" fully revokes access—the underlying session or token binding needs its own independent kill switch.

The remediation steps outlined—treating the AI integration as production infrastructure with a dedicated service-account identity, defaulting to read-only credentials, scoping access to specific channels, disabling DMs where they bypass channel-level trust boundaries, imposing hard spend limits, and building an audit trail before widening any permissions—reflect an emerging best-practices playbook that mirrors how organizations have historically hardened third-party integrations, OAuth apps, and CI/CD service accounts. What's notable is that this playbook is now being applied specifically to conversational AI agents, which historically were treated as low-risk, sandboxed tools rather than privileged system actors. As Claude and similar models gain tool use, connector ecosystems, and persistent memory across sessions, the attack surface begins to resemble that of any other automated system with write access to internal platforms—arguably more so, given the unpredictability introduced by natural-language instructions and the potential for prompt injection from untrusted channel content.

This incident is a microcosm of a broader industry tension: enterprises are racing to deploy agentic AI deeply into daily workflows (Slack, email, codebases, CRMs) faster than their security models are maturing to handle the risk. Anthropic and competitors like OpenAI and Google have pushed connector ecosystems and "agentic" capabilities as key differentiators, but the operational security tooling—session invalidation, credential scoping, audit logging—often lags behind the feature rollout. Incidents like this one are likely to accelerate calls for standardized security frameworks specifically for AI agent integrations, potentially pushing Anthropic and other vendors to build more robust, auditable session-management and revocation mechanisms directly into their enterprise offerings, rather than leaving these safeguards entirely to ad hoc, customer-side engineering as described in this writeup.

Read original article →