提交 #819901: disler aider 0.86.3 Security Bypass信息

标题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

Want to stay up to date on a daily basis?

Enable the mail alert feature now!