| 标题 | disler aider 0.86.3 Security Bypass |
|---|
| 描述 | Aider v0.86.3, by default, bypasses repository pre-commit hooks during its automatic git commit flow. The --git-commit-verify argument defaults to False, which causes Aider to pass --no-verify to all git commit operations. This allows AI-generated code changes containing dangerous patterns (such as subprocess.check_output with shell=True) to be committed, even when the repository's pre-commit hooks are designed to block such patterns (e.g., secret scanning, policy enforcement, or custom SDLC checks). A local attacker with the ability to influence AI-generated code suggestions can exploit this default behavior to introduce malicious or policy-violating code without triggering the pre-commit security controls that would normally prevent it. |
|---|
| 来源 | ⚠️ https://github.com/Aider-AI/aider/issues/5057 |
|---|
| 用户 | tchen200311 (UID 97733) |
|---|
| 提交 | 2026-05-06 02時29分 (30 日前) |
|---|
| 管理 | 2026-05-30 18時15分 (25 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 367455 [Aider-AI Aider 0.86.3 Pre-commit Hook aider/args.py git-commit-verify 权限提升] |
|---|
| 积分 | 20 |
|---|