cd /news/ai-agents/trust-but-verify-uncovering-the-secu… · home topics ai-agents article
[ARTICLE · art-59882] src=arxiv.org ↗ pub= topic=ai-agents verified=true sentiment=↓ negative

Trust but Verify? Uncovering the Security Debt of Autonomous Coding Agents

A large-scale empirical study of 4,022 pull requests generated by autonomous coding agents found that 38.9% contain security smells, with supply chain issues accounting for 82.3% of all detected smells and hard-coded credentials making up 99.6% of critical-severity issues. Human collaborators introduced 67.6% of leaked secrets, and existing review processes failed to detect 81.1% of credentials before integration, highlighting urgent security risks in agent-assisted software development.

read2 min views1 publishedJul 15, 2026
Trust but Verify? Uncovering the Security Debt of Autonomous Coding Agents
Image: source
[Submitted on 14 Jul 2026]


[View PDF](/pdf/2607.12428)

[HTML (experimental)](https://arxiv.org/html/2607.12428v1)

Abstract:The increasing adoption of autonomous coding agents accelerates software development but also introduces scoped security risks within high-impact file paths that can outpace traditional human review capacity. While prior research has primarily evaluated these systems in terms of functional correctness and productivity, this paper presents a large-scale empirical study using the AIDev dataset to systematically characterize security code smells in agent-generated pull requests (PRs). Through a combination of a validated LLM-as-a-judge framework and manual qualitative analysis, we identify and classify security misconfigurations across 16,112 file changes spanning 4,022 pull requests. Our results reveal that 38.9% of agent-generated PRs contain at least one security smell, with supply chain integrity issues accounting for 82.3% of all detected security smells. Furthermore, hard-coded credentials constitute 99.6% of all critical-severity security smells. Crucially, we find that human collaborators are responsible for introducing 67.6% of genuine leaked secrets within these agent-assisted workflows, while existing automated and human review processes fail to detect 81.1% of these credentials prior to integration. These findings highlight substantial security risks in agent-assisted software development workflows and suggest a potential reduction in developer vigilance. They also underscore the urgent need for context-aware security guardrails implemented directly at the point of human-AI collaboration.

Submission history #

From: A H M Nazmus Sakib [[view email](/show-email/b7b90099/2607.12428)]

**[v1]** Tue, 14 Jul 2026 06:59:41 UTC (4,354 KB)

References & Citations

...

Bibliographic Explorer

(What is the Explorer?) Connected Papers

(What is Connected Papers?) Litmaps

(What is Litmaps?) scite Smart Citations

(What are Smart Citations?)# Code, Data and Media Associated with this Article alphaXiv

(What is alphaXiv?) CatalyzeX Code Finder for Papers

(What is CatalyzeX?) DagsHub

(What is DagsHub?) Gotit.pub

(What is GotitPub?) Hugging Face

(What is Huggingface?) ScienceCast

(What is ScienceCast?)# Demos Influence Flower

(What are Influence Flowers?) CORE Recommender

(What is CORE?)# arXivLabs: experimental projects with community collaborators arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

── more in #ai-agents 4 stories · sorted by recency
── more on @aidev dataset 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/trust-but-verify-unc…] indexed:0 read:2min 2026-07-15 ·