PulseAugur
实时 01:20:15
English(EN) Security of LLM-generated Code: A Comparative Analysis

尽管提示技术先进,AI 生成代码的安全性仍令人担忧

新研究表明,虽然先进的提示技术可以影响 AI 生成代码中存在的安全漏洞的类型,但它们并不能可靠地减少这些问题的总体数量或严重性。对多种编程语言的多个 LLM 进行的评估研究发现,生成的代码经常包含关键漏洞,例如弱加密和不当的输入验证。虽然一些方法改变了常见漏洞枚举 (CWE) 的分布,但它们并未消除固有风险,这表明仅靠提示工程不足以确保安全的代码生成。 AI

影响 LLM 生成代码的先进提示技术并不能可靠地减少漏洞,这凸显了除了提示工程之外,还需要更强大的安全措施。

排序理由 arXiv 上发表的多篇学术论文提出了用于改进 LLM 生成代码安全性的实证评估和新框架。

在 arXiv cs.AI 阅读 →

AI 生成摘要 · Google Gemini · 来自 4 个来源。 我们如何撰写摘要 →

尽管提示技术先进,AI 生成代码的安全性仍令人担忧

报道来源 [4]

  1. arXiv cs.AI TIER_1 English(EN) · Mohammed Kharma, Ahmed Sabbah, Mohammad Alkhanafseh, Mohammad Hammoudeh, David Mohaisen ·

    不同提示方法下大语言模型生成代码的安全性的实证评估

    arXiv:2605.24298v1 Announce Type: cross Abstract: The growing use of Large Language Models (LLMs) for automated code generation has enhanced software development efficiency, but often at the cost of security. Generated code frequently overlooks critical concerns, leaving it vulne…

  2. arXiv cs.AI TIER_1 English(EN) · Mohammed F. Kharma, Mohammad Alkhanafseh, Ahmed Sabbah, David Mohaisen ·

    增强基于LLM的安全代码生成的可靠性

    arXiv:2605.24300v1 Announce Type: cross Abstract: Large language models (LLMs) are widely used for code generation, but their security reliability remains inconsistent across languages and prompting strategies. Existing prompt engineering improves functional correctness but rarel…

  3. arXiv cs.AI TIER_1 English(EN) · Pratyush Desai, Luoxi Tang, Yuqiao Meng, Zhaohan Xi ·

    SafeGPT:防止企业LLM使用中的数据泄露和不道德输出

    arXiv:2601.06366v3 Announce Type: replace-cross Abstract: Large Language Models (LLMs) are transforming enterprise workflows but introduce security and ethics challenges when employees inadvertently share confidential data or generate policy-violating content. This paper proposes…

  4. arXiv cs.AI TIER_1 English(EN) · Srivathsan G Morkonda, Mahmoud Selim, Hala Assal ·

    LLM生成代码的安全性:一项比较分析

    arXiv:2605.23091v1 Announce Type: cross Abstract: The majority of software developers use or are planning to use Artificial Intelligence (AI) tools in their development processes. Their top reasons include improving productivity and faster learning. In fact, Large Language Model …