A 1.1 million-post study says AI coding assistants fail developers on security and privacy — by default, not by exception

Researchers from York University and the University of Calgary mined 1.1 million Reddit posts and built a taxonomy of security and privacy failures in AI coding assistants like Claude Code, Cursor, GitHub Copilot and Replit — and the single biggest issue, at 43% of security complaints, is unauthorised file operations.

A study published 8 August 2026 by researchers at York University and the University of Calgary put real numbers behind something founders and CTOs running AI-assisted development have mostly had to go on instinct about. The team mined 1.1 million Reddit posts, isolating 446 posts and over 6,000 comments describing concrete security and privacy problems with LLM-based coding tools — Claude Code, Cursor, GitHub Copilot, OpenAI’s Codex, and Replit all named.

The security breakdown: 43.1% of complaints were unauthorised file operations — unwanted directory or file deletion, edits made without consent, or the tool reaching outside the intended workspace. Operational safety failures came next at 23.9%, including cases of Replit deleting a production database and Cursor deploying code straight to production without being asked. Unsafe code generation (18.2%) and tools ignoring explicit user controls like allow-lists and .ignore files (16.5%) rounded out the picture. On the privacy side, 194 posts flagged problems, nearly half of them (45.9%) about a basic lack of transparency into what the tool was actually doing with a codebase.

What’s notable is what developers are doing about it in the absence of vendor fixes: 13 distinct ad hoc workarounds, split roughly evenly between manually managing configuration, enforcing code review as a backstop, isolating projects, and protecting sensitive data by hand. Lead researcher Gias Uddin’s conclusion is blunt: “secure defaults would be one of the most important improvements these tools could make.” Right now, safety is opt-in, not built in.

So what

This lands two days after Black Hat researchers demonstrated matching RCE flaws across Claude Code, Gemini CLI and Codex — the pattern is now well past anecdotal. If your team runs AI coding agents against real codebases, the takeaway isn’t to wait for vendors to ship better defaults; it’s to build the guardrails yourself now — scoped permissions, workspace isolation, and mandatory review before anything the agent writes reaches production. That’s the baseline we build to when we bring AI-assisted development into a client’s workflow, or get in touch if you want a second pair of eyes on your current setup.

← All research

More research.

GitHub AI usage API now returns per-model token counts, so Copilot spend can finally be traced to models

GitHub's AI credit usage REST API now returns six raw token counts per model for enterprises, organisations and individuals, giving Copilot cost tracking a real audit trail.

Read ›

Claude Code 2.1.335: add remote MCP servers from the terminal, a new Interrupt hook, and a harness audit for older models

Claude Code 2.1.335 adds a one-line command to register remote MCP servers as claude.ai connectors, an Interrupt hook event and a /claude-api harness-audit command for agent code written for older models.

Read ›

GitHub Copilot model controls shift: Claude Opus 4.8 (fast) retired, targeted model rules end 12 January 2027

GitHub retired Claude Opus 4.8 (fast) in Copilot on 30 November and is closing the targeted organisation model rules preview, with migration on 12 January 2027.

Read ›

Claude Code 2.1.334: REVIEW.md now works at folder level, plus a model search box and a visible auto-compact setting

Claude Code 2.1.334 extends REVIEW.md so AI code reviews follow rules held in folders, adds a search box for long model lists and shows the auto-compact window in settings.

Read ›

GitHub Copilot for JetBrains adds scheduled automations in preview and drops support for IDE 2025.2

GitHub Copilot for JetBrains can now run automated tasks on a schedule (preview), adds Microsoft Foundry and Azure OpenAI models to its agent, and no longer supports JetBrains IDEs 2025.2.

Read ›

Claude Code 2.1.333: REVIEW.md shapes AI code reviews, and you can stop one workflow agent

Claude Code 2.1.333 lets teams write their code review rules in a REVIEW.md file, lets one running agent in a workflow be stopped without halting the rest, and changes how permission lists are passed in scripts.

Read ›

Start a project

Building with AI? Let's talk.

Tell us what you are building. We'll give you an honest view of the right approach.

Start a projectSee our work