Just Pin It: Can Coding Agents Be Trusted to Choose Dependency Versions?

计算机科学 要价 编码(社会科学) Python(编程语言) 人工智能 掷硬币 任务(项目管理) 计算机安全 机器学习 多项选择 自然语言处理 训练集 诬告 分类器(UML) 数据挖掘 稳健性
作者
Leonardo Leite,Caio Barbosa,Elvys Soares,Baldoíno Fonseca
出处
期刊:Research Square
标识
DOI:10.21203/rs.3.rs-10549928/v1
摘要

Large language model (LLM) coding agents increasingly manage softwaredependencies. Adding one means choosing a package and a specific version to pin,and because the agent answers from knowledge frozen at a training cutoff, it makesthat security-relevant choice from memory rather than from a package index or avulnerability database. To measure the decision where it occurs, we reconstruct 50dependency-introducing commits from 29 open-source Python repositories at theirparent state, ask six Claude models to perform the same task under tool and networkisolation, and score each choice on a time-bounded, multidimensional correctnessvector rather than a single pass or fail. We then challenge every choice in a secondconversational turn, with a neutral prompt, a true defect, or a false alarm,separating genuine repair from sycophantic capitulation. Across 1{,}128 runs, newermodels rarely name nonexistent versions but are no better at avoidingknown-vulnerable ones, and they pin six to nine releases behind the newest releasethey could have known; their security-and-existence performance does not beat arandom eligible draw. Under a false vulnerability alarm, agents abandoned averified-secure pin in 98.5% of cases and never improved it, and even a contentlessrequest to reconsider overturned 63.7% of good pins; naming a true defect did notmeasurably outperform that nudge. Suggesting a pin is worth delegating only withdownstream verification, and an agent's agreement under challenge carries noinformation about whether it is right.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
徐诗承完成签到 ,获得积分10
刚刚
幽月发布了新的文献求助10
刚刚
脑洞疼的应助被水星采纳,获得10
刚刚
酷波er的应助被科研通管家采纳,获得10
2秒前
简单老师的应助被科研通管家采纳,获得10
2秒前
2秒前
JamesPei的应助被科研通管家采纳,获得10
2秒前
秋风的应助被科研通管家采纳,获得10
2秒前
星辰大海的应助被科研通管家采纳,获得10
2秒前
坚强冰枫的应助被科研通管家采纳,获得10
2秒前
2秒前
英俊的铭的应助被科研通管家采纳,获得10
3秒前
英俊的铭的应助被科研通管家采纳,获得10
3秒前
秋风的应助被科研通管家采纳,获得50
3秒前
彭于晏的应助被科研通管家采纳,获得10
3秒前
充电宝的应助被科研通管家采纳,获得10
3秒前
渡人舟的应助被科研通管家采纳,获得10
3秒前
科目三的应助被科研通管家采纳,获得10
3秒前
丘比特的应助被科研通管家采纳,获得10
4秒前
CodeCraft的应助被科研通管家采纳,获得10
4秒前
我是老大的应助被科研通管家采纳,获得10
4秒前
852的应助被科研通管家采纳,获得10
4秒前
迷人的老黑完成签到 ,获得积分10
4秒前
作业本的应助被科研通管家采纳,获得20
4秒前
英姑的应助被科研通管家采纳,获得10
4秒前
4秒前
4秒前
4秒前
研友_VZG7GZ的应助被科研通管家采纳,获得10
5秒前
顾矜的应助被科研通管家采纳,获得10
5秒前
5秒前
7秒前
8秒前
Kiyye发布了新的文献求助10
9秒前
9秒前
10秒前
11秒前
11秒前
yjw发布了新的文献求助10
11秒前
11秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Martian climate revisited : atmosphere and environment of a desert planet 600
Sleisenger and Fordtran's Gastrointestinal and Liver Disease - 2 Volume Set Pathophysiology, Diagnosis, Management 500
[Radiotherapy of prostatic cancer at the loco-regional stage: therapeutic results and prognostic factors] 500
[Experiences with intensive radiotherapy of prostatic cancer in conjunction with surgery (transurethral resection, pelvic lymph node excision)] 500
Prior transurethral resection does not increase morbidity following real-time ultrasound-guided prostate seed implantation 500
Orthognathic Surgery - 2 Volume Set 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8219829
求助须知:如何正确求助?哪些是违规求助? 9600215
关于积分的说明 21992084
捐赠科研通 7828503
什么是DOI,文献DOI怎么找? 3446133
关于科研通互助平台的介绍 2567257
邀请新用户注册赠送积分活动 2494853