aider(即 aider-chat)会自动从其启动所在的 git 仓库根目录加载名为 的配置文件。一个精心构造的仓库可以设置 (在启动时执行)或 (在首次编辑文件时执行)。aider 通过 shell 执行这些命令(使用 且 ),过程中不需要用户确认、LLM 交互或 API 密钥。因此,当用户在攻击者提供的仓库中克隆并运行 aider 时,便会在其机器上实现任意命令执行。这一行为由来已久,并在最新版本 0.86.3.dev(当前 main 分支)中得到了确认。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet