← 返回首页
大洋洲 · 综合新闻 · iTWire

Claude Code approval files found exposing company secrets on GitHub, says Apirro researchers

来源:iTWire · 澳大利亚 1 小时前
Security
Security · iTWire

详细摘要

Apiiro researchers say remembered commands are carrying credentials into public repositories, exposing a gap between approving an agent’s work and controlling what it leaves...

Apiiro researchers say remembered commands are carrying credentials into public repositories, exposing a gap between approving an agent’s work and controlling what it leaves behind.

You ask your AI coding assistant to check a database connection. It proposes a command, asks permission, and offers to stop interrupting you for that command in future. You approve it and get on with your work.

What you may not realise is that the approval itself can become another copy of your database password.

That is the problem examined in research published on 5 November by Apiiro’s Shmulik Cohen and Matan Giladi. They say Claude Code can retain a complete approved shell command, including credentials, in .claude/settings.local.json. If that file is committed and pushed to a public repository, the credentials go with it.

文章开头,摘自iTWire。如需阅读全文,请前往媒体网站。

在 iTWire 阅读全文 登录后可收藏

MarketNews 仅展示媒体发布的标题和摘要,全文请在出版方网站阅读。 (itwire.com)

推荐阅读