CyberGuardAI 安全情报工作区
AI 安全知识情报
LJH 管理员
返回首页 学术论文

LLM辅助编程安全系统性综述

Liang Yuan、Maryam Khanian Najafabadi、Mashud Rana、Varvara Vetrova

摘要与解读

综述LLM辅助编程的安全风险、基准局限与人为因素

六维情报分析

6 个维度 · 原文可溯源

影响范围

  • 来源报告指出,LLM辅助编码中的模型会频繁生成不安全代码和错误补丁,且模型自身易受直接攻击;因此影响对象包括使用LLM生成或修补代码的开发流程、代码审查环节以及模型部署边界。后果是缺陷代码可能进入代码库,而人工监督仍是必要控制点;其有效性取决于是否保留人工审查、是否采用安全感知架构与更强基准。

    原文依据 · 1
    ndings indicate that models frequently generate insecure code and faulty patches due to training data biases. Additionally, the models themselves are susceptible to direct attacks. Current evaluation methods suffer from data contamination and lack robust security metrics. Consequently, human oversight remains essential. Safer integration of automation will require more security-aware model architectures, stronger security-specific benchmarks, and more effective human-AI collaboration frameworks to mitigate these systemic risks.
    查看原文 · v1

关联资产

  • 原文明确关联的资产类型是LLM辅助编码中的模型及其生成的代码与补丁,以及用于评估这些模型的安全基准和评估数据。适用前提是组织将LLM用于代码生成或补丁修复,并依赖现有评估方法判断安全性;摘录未列出具体产品名、模型标识或版本。未提供本地资产清单,未进行本地资产匹配。

    原文依据 · 1
    ndings indicate that models frequently generate insecure code and faulty patches due to training data biases. Additionally, the models themselves are susceptible to direct attacks. Current evaluation methods suffer from data contamination and lack robust security metrics. Consequently, human oversight remains essential. Safer integration of automation will require more security-aware model architectures, stronger security-specific benchmarks, and more effective human-AI collaboration frameworks to mitigate these systemic risks.
    查看原文 · v1

风险评估

  • 已报道的风险机制有两类:训练数据偏差导致模型频繁产出不安全代码和错误补丁;模型本身可被直接攻击。触发条件涉及将模型输出直接用于编码或补丁生成,以及缺乏稳健安全度量与人工监督。当前评估方法存在数据污染且缺少稳健安全指标,使风险识别与优先级排序受限;防护优先级应放在人工监督、安全基准与安全感知模型架构上。

    原文依据 · 1
    ndings indicate that models frequently generate insecure code and faulty patches due to training data biases. Additionally, the models themselves are susceptible to direct attacks. Current evaluation methods suffer from data contamination and lack robust security metrics. Consequently, human oversight remains essential. Safer integration of automation will require more security-aware model architectures, stronger security-specific benchmarks, and more effective human-AI collaboration frameworks to mitigate these systemic risks.
    查看原文 · v1

相关研究

  • 来源为系统文献综述(Security in LLM-Assisted Coding: A Systematic Literature Review),归纳出模型因训练数据偏差频繁生成不安全代码与错误补丁、模型易受直接攻击、现有评估受数据污染且缺乏稳健安全度量等发现,并提出安全感知模型架构、安全专用基准和更有效的人机协作框架作为缓解方向。材料仅提供综述结论,未给出各纳入研究的实验细节。

    原文依据 · 1
    ndings indicate that models frequently generate insecure code and faulty patches due to training data biases. Additionally, the models themselves are susceptible to direct attacks. Current evaluation methods suffer from data contamination and lack robust security metrics. Consequently, human oversight remains essential. Safer integration of automation will require more security-aware model architectures, stronger security-specific benchmarks, and more effective human-AI collaboration frameworks to mitigate these systemic risks.
    查看原文 · v1

验证资料

  • 来源报告以综述方式归纳现有评估,指出当前评估方法存在数据污染且缺乏稳健安全指标,因此其结论适用于对LLM辅助编码安全性的整体判断,具体实验数字未在摘录中提供。防御性核查可围绕:确认所用安全基准是否报告污染控制与安全度量定义;在代码生成与补丁流程中保留人工审查记录;观察模型输出中不安全代码与错误补丁的出现情况作为监测指标。

    原文依据 · 1
    ndings indicate that models frequently generate insecure code and faulty patches due to training data biases. Additionally, the models themselves are susceptible to direct attacks. Current evaluation methods suffer from data contamination and lack robust security metrics. Consequently, human oversight remains essential. Safer integration of automation will require more security-aware model architectures, stronger security-specific benchmarks, and more effective human-AI collaboration frameworks to mitigate these systemic risks.
    查看原文 · v1

处置建议

  • 依据来源结论,建议依次:一、在LLM生成代码与补丁的流程中保留并强化人工监督,作为当前必要控制;二、核查所用安全评估基准是否处理数据污染并定义稳健安全度量,优先采用安全专用基准;三、推动采用安全感知模型架构与更有效的人机协作框架;四、持续监测模型输出中的不安全代码与错误补丁,并回归验证上述控制是否降低系统性风险。来源未给出具体修复版本。

    原文依据 · 1
    ndings indicate that models frequently generate insecure code and faulty patches due to training data biases. Additionally, the models themselves are susceptible to direct attacks. Current evaluation methods suffer from data contamination and lack robust security metrics. Consequently, human oversight remains essential. Safer integration of automation will require more security-aware model architectures, stronger security-specific benchmarks, and more effective human-AI collaboration frameworks to mitigate these systemic risks.
    查看原文 · v1
模型与引文记录
模型
deepseek-flash
生成时间
记录编号
REQ-9c7664474fa44d7992d391c6168be479
分析原文
查看原文 · v1

资料档案

文献来源与参考链接

当前保存的来源版本 · v1

作者
Liang Yuan、Maryam Khanian Najafabadi、Mashud Rana、Varvara Vetrova
文献与标准标识
arxiv:2610.15482
主题分类
cs.CR、cs.AI、cs.SE
来源版本
v1
来源更新时间
2026-10-11T09:33:01+00:00
日期依据
来源明确给出发表日期
原始标题与分类记录

Security in LLM-Assisted Coding: A Systematic Literature Review

研究方向
评测治理
影响维度
待人工确认
风险类型
待人工确认
相关技术
LLM

当前为离线关键词规则模式。

分类规则与原始字段
评测治理 · benchmark
eview investigates security risks in automated coding, benchmark limitations, and the role of human developers. Findings indicate that models frequently generate in
LLM · llm
Security in LLM-Assisted Coding: A Systematic Literature Review Large Language Models accelerate software developme
{
  "ai_relevance": {
    "evidence": [
      {
        "end_offset": 15,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 12
      },
      {
        "end_offset": 85,
        "location": "title_and_content",
        "quote": "Large Language Models",
        "rule": "ai_term",
        "start_offset": 64
      }
    ],
    "matches": [
      {
        "end_offset": 15,
        "location": "title_and_content",
        "quote": "LLM",
        "rule": "ai_term",
        "start_offset": 12
      },
      {
        "end_offset": 85,
        "location": "title_and_content",
        "quote": "Large Language Models",
        "rule": "ai_term",
        "start_offset": 64
      }
    ],
    "method": "explainable_keyword_rules",
    "reason": "Matched AI topic or component evidence",
    "relevant": true
  },
  "entity_ids": [],
  "facts": [],
  "method": "source_grounded_extraction",
  "unknown_fields": [
    "affected_products",
    "affected_versions",
    "fixed_versions",
    "cvss",
    "mitigations",
    "references",
    "papers",
    "poc"
  ]
}
原始采集文本
Large Language Models accelerate software development but introduce severe security vulnerabilities. This systematic review investigates security risks in automated coding, benchmark limitations, and the role of human developers. Findings indicate that models frequently generate insecure code and faulty patches due to training data biases. Additionally, the models themselves are susceptible to direct attacks. Current evaluation methods suffer from data contamination and lack robust security metrics. Consequently, human oversight remains essential. Safer integration of automation will require more security-aware model architectures, stronger security-specific benchmarks, and more effective human-AI collaboration frameworks to mitigate these systemic risks.
采集信息与校验
完整来源元数据
{
  "authors": [
    "Liang Yuan",
    "Maryam Khanian Najafabadi",
    "Mashud Rana",
    "Varvara Vetrova"
  ],
  "content_level": "abstract",
  "date_basis": "explicit_published",
  "date_evidence": {
    "published": "2026-10-11T09:33:01Z",
    "updated": "2026-10-11T09:33:01Z"
  },
  "identifiers": [
    "arxiv:2610.15482"
  ],
  "source_updated_at": "2026-10-11T09:33:01+00:00",
  "subjects": [
    "cs.CR",
    "cs.AI",
    "cs.SE"
  ],
  "version_label": "v1"
}
原文版本历史与校验
版本入库更新时间来源发布日期校验标识
v1 · 正在查看2026-10-14 04:21 UTC2026-10-11 09:33 UTC95dea158402400b8adee9a606832cb8d4beab2a20374c1955ab236dbe08ca472
可引用分片 · 1 段

CHK-f4dce901b928060f483f5e5a

Large Language Models accelerate software development but introduce severe security vulnerabilities. This systematic review investigates security risks in automated coding, benchmark limitations, and the role of human developers. Findings indicate that models frequently generate insecure code and faulty patches due to training data biases. Additionally, the models themselves are susceptible to direct attacks. Current evaluation methods suffer from data contamination and lack robust security metrics. Consequently, human oversight remains essential. Safer integration of automation will require more security-aware model architectures, stronger security-specific benchmarks, and more effective human-AI collaboration frameworks to mitigate these systemic risks.
处理记录
补充资料

中文译文

正文译文暂缺,以下仅为中文摘要。

中文摘要

综述LLM辅助编程的安全风险、基准局限与人为因素

已采集原文

访问来源网页

Large Language Models accelerate software development but introduce severe security vulnerabilities. This systematic review investigates security risks in automated coding, benchmark limitations, and the role of human developers. Findings indicate that models frequently generate insecure code and faulty patches due to training data biases. Additionally, the models themselves are susceptible to direct attacks. Current evaluation methods suffer from data contamination and lack robust security metrics. Consequently, human oversight remains essential. Safer integration of automation will require more security-aware model architectures, stronger security-specific benchmarks, and more effective human-AI collaboration frameworks to mitigate these systemic risks.

原文依据