Research teams from the University of York and the University of Calgary conducted a large-scale analysis of posts related to AI programming on Reddit, finding that AI programming agents are frequently causing problems due to excessive permissions: overwriting files, deleting important data, and even generating malicious code. The research team used a crawler to collect 3,801 posts tagged with large language models between February 2023 and March 2026, from which they selected 446 posts about the safety of programming AI and analyzed more than 6,000 user comments below the posts.

image.png

Looking at the time distribution, posts about AI programming on Reddit reached a peak around the summer of 2025, with the highest number of questions in July 2025, which coincides closely with the widespread adoption of AI programming tools. As more developers hand over code generation, modification, and even execution tasks to AI agents, security issues have also emerged.

Cursor leads in accident reports, different tools face different challenges

According to the tools, the most reported issues were from Cursor, followed by Claude, Codex, Copilot, Windsurf, VSCode, Replit, and Cline, among other mainstream tools. Notably, different tools expose different types of issues: Cursor faced the most "runtime security issues" and "unauthorized data access," affecting production environments, meaning that AI agents might access sensitive data or cause damage to online systems without the user's knowledge; while Claude encountered more risks related to integration with third-party tools, focusing on security issues when connecting with external services.

This study reveals a deeper contradiction behind the popularity of AI programming assistants: the more powerful the tool, the higher its permissions, and the greater its potential for destruction. When AI agents are granted the ability to read and write code repositories, execute terminal commands, or operate production environments, any misunderstanding or failure in security boundaries could lead to losses far exceeding those caused by human coding errors. For developers, this is both a clear understanding of the limits of tool capabilities and a practical reminder about permission management and manual review mechanisms—AI programming assistants can improve efficiency, but "giving it all the keys" is clearly not a wise choice.