Incident report
Slack AI Private Channel Data Exfiltration via Indirect Prompt Injection in Public Messages
Disclosed by PromptArmor and patched by Slack on August 20, 2024, an indirect prompt injection vulnerability in Slack AI allowed an attacker in a public workspace channel (or an external Slack Connect guest) to steal sensitive data from private channels they could not access. By posting a crafted adversarial message into a public channel indexed by Slack AI, the attacker poisoned retrieval results returned when a privileged colleague searched or summarized related topics. Slack AI followed the injected instructions, pulled confidential API keys or messages from the victim's private channels, and rendered a disguised markdown link encoding the stolen text in URL query parameters pointing to an attacker-controlled server. Slack patched link rendering and hardened retrieval prompt isolation on August 20, 2024.
Incident record
- Reported
- Severity
- High
- Vector
- Indirect Prompt Injection
- Affected system type
- Multi-Channel Enterprise Workspace RAG Assistants
- Reference URI
https://slack.com/blog/news/slack-security-update-august-2024
Defensive lesson
Propagate channel ACL labels into generation policies, disable dynamic arbitrary external URL construction in RAG summaries, and allowlist verified workspace permalinks.
Research citation
Referenced techniques
- LLM Prompt Injection: Indirect AML.T0051.001
- Retrieval Content Crafting AML.T0066
- RAG Poisoning AML.T0070
- LLM Response Rendering AML.T0077
- Data from AI Services: RAG Databases AML.T0085.000
- Exfiltration via AI Agent Tool Invocation AML.T0086
- Prompt Infiltration via Public-Facing Application AML.T0093