
AI Coding Agent Access: 5 Fixes From BlueFlag's 2026 Report
BlueFlag's 2026 developer risk report found 99% of repo access tokens never expire and agents in 83% of orgs lack approval. Here are 5 practical fixes.
The fastest way to make AI coding agents safer is not exotic tooling. It is good old access hygiene, applied to a new kind of identity. That is the clear message from The State of Developer Risk 2026, the first research report from BlueFlag Security, published November 3 and covered by Help Net Security on November 6. The report measured real production data across a subset of large enterprises, and its findings double as a practical to-do list for any security team.
- 99% of measured repository access tokens had no expiration date, and 84% allowed code changes
- Non-human identities with repository access outnumbered human developers eight to one
- Organizations used about seven AI coding tools on average, and 83% had unapproved agents
- 81% of the identities agents operated under lacked behavioral monitoring
What Did the BlueFlag Developer Risk Report Find?
The theme is accumulated access. The average developer had not used 61% of their granted permissions, and four in five organizations had developer accounts inactive for more than 90 days that still held administrator rights. Tokens told a similar story: beyond the 99% that never expire, 47% had sat unused for over 90 days without being revoked.
AI coding agents amplify this. Coding assistants inherit the permissions of the developer they work under, while autonomous agents act as their own identities and can write, review and merge code. According to the report, 68% of the identities agents operated under held administrator permissions, and in six in ten organizations with AI activity, agents used tokens able to clone every repository. Without commit tags, human and AI changes can be hard to tell apart. BlueFlag says that in its experience, most attacks on the software development lifecycle start with identities and tools rather than with the code itself.
How Can Teams Secure AI Coding Agent Access?
The good news is that every finding maps to a fix you can start this week:
- Set expiration dates on every repository token, and revoke any unused for 90 days
- Give agents their own scoped identities, with read-only or single-repository tokens by default
- Publish an approved list of AI coding tools so unapproved agents become visible
- Tag agent commits so reviewers can see which changes came from AI
- Protect main branches and keep code review mandatory, including for administrators
Watching for Unusual Repository Activity
The report also highlights signals worth monitoring. Half of the organizations had at least one identity whose code cloning spiked compared with its usual pattern, and in 28% an identity cloned 100 or more repositories it had never touched before. As Help Net Security notes, these patterns warrant a look but do not prove misuse. Behavioral baselines for both human and non-human identities turn that noise into an early warning system.
The Bigger Picture for AI Agent Security
AI agents are becoming some of the most productive teammates in software development, and treating them as first-class identities lets organizations enjoy the speed safely. For hands-on pipeline guidance, see our guide to securing AI coding agents in CI pipelines, and our look at GitHub's AI secret detection with push protection covers another layer of defense. More defensive tooling is in our AI security section.
Sources: Help Net Security — November 6, 2026; BlueFlag Security — November 3, 2026 (vendor research).
More Ai Security Stories

PyPI Security Tab: How to Check a Python Package's Origin
PyPI's new Security tab shows whether every file in a release carries a digital attestation, plus four warning types that flag provenance changes.

CrowdStrike AI Kill Switch: Human Control for Rogue Agents
CrowdStrike's AI Kill Switch in Falcon Guardian lets admins stop an agent, block relaunch and cut network access, with every action in the audit trail.

GPT-6 Cyber Explained: OpenAI's New Bug-Hunting Model
GPT-6 Cyber found 81 high-severity Firefox bugs and helped validate 948 Linux kernel flaws with candidate patches. Here's who can use OpenAI's new model.
