DifyTap Bugs Let Attackers 'Wiretap' AI Chat Histories
Four vulnerabilities in the open-source AI platform Dify allow attackers to silently access and exfiltrate sensitive AI chat histories, researchers warn.

Security researchers have disclosed four vulnerabilities in Dify, an open-source platform for building and managing AI applications, that collectively enable attackers to silently access and exfiltrate sensitive AI chat histories. Dubbed 'DifyTap,' the bugs allow unauthorized 'wiretapping' of conversations processed by the platform, posing a significant risk to organizations using Dify to handle confidential data.
The vulnerabilities reside in Dify's core components, including its API endpoints and data handling mechanisms. While specific technical details remain under embargo to allow users time to patch, the attack vector involves exploiting improper access controls and insufficient input validation. An attacker who gains initial access to a Dify instance—potentially through a compromised API key or a misconfigured deployment—can silently read and extract chat logs without triggering alerts.
The impact is severe for enterprises deploying Dify for customer support, internal knowledge bases, or AI-driven analytics. Chat histories often contain proprietary business information, personal data, or trade secrets. The ability to exfiltrate these logs without detection means attackers can conduct long-term espionage, harvesting insights from ongoing AI interactions. Dify is used by thousands of organizations globally, including startups and Fortune 500 companies, amplifying the potential blast radius.
As of publication, no CVE identifiers have been assigned to the four bugs, but the vendor has been notified and is working on patches. Researchers recommend that Dify users immediately restrict network access to their Dify instances, rotate all API keys, and audit logs for signs of unauthorized access. Until patches are available, enabling strict authentication and monitoring for anomalous data access patterns are critical mitigations.
The DifyTap disclosure highlights a growing concern in the AI supply chain: as more organizations build applications on top of open-source AI platforms, the security of those platforms becomes paramount. Unlike traditional web applications, AI platforms often process and store large volumes of unstructured, sensitive data in chat logs, making them attractive targets. This incident follows a pattern of vulnerabilities in AI infrastructure, including recent flaws in LangChain and other LLM orchestration tools.
Organizations using Dify should treat this advisory with high priority. The silent nature of the attack—no file encryption, no ransomware note—means breaches could go undetected for weeks or months. Security teams should implement behavioral analytics to detect unusual data access patterns and consider deploying data loss prevention (DLP) controls around AI chat endpoints. As the vendor prepares patches, the broader lesson is clear: AI platforms require the same rigorous security posture as any other critical infrastructure.