计算机科学
要价
编码(社会科学)
Python(编程语言)
人工智能
掷硬币
任务(项目管理)
计算机安全
机器学习
多项选择
自然语言处理
训练集
诬告
分类器(UML)
数据挖掘
稳健性
作者
Leonardo Leite,Caio Barbosa,Elvys Soares,Baldoíno Fonseca
出处
期刊:Research Square
日期:2026-11-25
标识
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.
科研通智能强力驱动
Strongly Powered by AbleSci AI