
AI Tools Like Claude Code and GitHub Copilot Vulnerable to Zero-Click Prompt Attacks
The increasing integration of AI tools in software development has brought to light significant security concerns. Cybersecurity expert Johann Rehberger has warned about the vulnerabilities of AI agents, particularly those powered by large language models (LLMs) such as Claude Code and GitHub Copilot. These tools are susceptible to zero-click prompt attacks, where an attacker can compromise the system without any user interaction. This type of attack involves manipulating the input prompts to make the AI perform unintended actions, potentially leading to the generation of harmful code or the disclosure of sensitive information. Rehberger recommends treating LLMs as untrusted actors and adopting an "assume breach" mindset, which involves planning for the possibility that an attacker has already compromised the system. This approach underscores the importance of implementing robust security measures, including input validation, output sanitization, and continuous monitoring. The growing use of AI tools in software development expands the attack surface for prompt injection, necessitating heightened awareness and proactive security practices among developers and organizations.