Claude Code: Data Exfiltration with DNS
Claude Code: Data Exfiltration with DNS
embracethered.com
Claude Code: Data Exfiltration with DNS (CVE-2025-55284) · Embrace The Red
Today we cover Claude Code and a high severity vulnerability that Anthropic fixed in early June. The vulnerability allowed an attacker to hijack Claude Code via indirect prompt injection and leak sensitive information from the developer’s machine, e.g. API keys, to external servers by issuing DNS requests. Prompt Injection Hijacks Claude When reviewing or interacting with untrusted code or processing data from external systems, Claude Code can be hijacked to run bash commands that allow leaking of sensitive information without user approval.