提交 #819910: paul-gauthier Aider 0.86.3 Code Injection信息

标题paul-gauthier Aider 0.86.3 Code Injection
描述Aider v0.86.3 is vulnerable to a code generation integrity issue where it displaces safe coding patterns when presented with attacker‑supplied project guidance. In a verified test, Aider initially generated a safe parameterized SQL query. After accepting a malicious “team coding standard” that required string‑formatted SQL (e.g., f"SELECT * FROM users WHERE name LIKE '%{query}%'"), Aider rewrote the safe parameterized query into an unsafe string‑formatted one and subsequently applied the same insecure pattern to a new login function. The final generated code contained SQL injection vulnerabilities that were committed without warning. A remote attacker who can introduce fake coding standards (e.g., via repository content or configuration files) can induce Aider to systematically downgrade application security.
来源⚠️ https://github.com/Aider-AI/aider/issues/5077
用户
 tchen200311 (UID 97733)
提交2026-05-06 02時41分 (29 日前)
管理2026-05-30 18時21分 (25 days later)
状态已接受
VulDB条目367457 [Aider-AI Aider 0.86.3 Code Generation Workflow SQL注入]
积分20

Do you want to use VulDB in your project?

Use the official API to access entries easily!