1

不会主动告知风险!ChatGPT生成代码被指并不安全

 1 year ago
source link: https://news.pconline.com.cn/broadcasting/2304/16082704.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

不会主动告知风险!ChatGPT生成代码被指并不安全

2023-04-23 20:16 出处/作者:快科技 整合编辑:佚名 0

快科技4月23日消息,近日,加拿大魁北克大学的研究者发布论文,指出ChtaGPT生成的代码并不可靠,往往存在严重的安全问题。

更严重的是,

AI并不会主动告知用户代码存在风险,只有用户询问时,才会承认存在错误。

根据论文中阐述的实验方法,他们让ChatGPT生成了涉及C、C++、Java等语言的21个程序和脚本。

结果,在第一次尝试时,全部21个程序仅有5个是安全的,在进一步纠错后,也仅有7个程序是安全的。

artBtm_banner.png

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK