Отправить #1077442: Aider-AI Aider 0.86.2 Protection Mechanism FailureИнформация

НазваниеAider-AI Aider 0.86.2 Protection Mechanism Failure
ОписаниеAider up to version 0.86.2 can execute a model-suggested shell command without the user's confirmation when standard input is closed, which may lead to command execution on the host running Aider. The confirmation handler treats an end-of-file condition on standard input as the default answer, and the default answer for the shell-command prompt is yes, so a non-interactive run that never passed --yes-always still approves the command. The same fallback applies to the other confirmations whose default answer is yes, including edits to files that were not added to the chat and creation of new files. An attacker who can steer the model, for example through content the model is asked to inspect, can cause the command to be suggested; the closed or non-terminal input channel then approves it without any interaction. The issue was verified with the real CLI: with an explicit no on standard input the command was not executed, with standard input closed the same command executed and created a file, and a second explicit-no run confirmed that the gate works when input is present. The process exits normally and no warning about the skipped confirmation is shown.
Источник⚠️ https://github.com/Aider-AI/aider/issues/5955
Пользователь
 EM11 (UID 102789)
Представление06.11.2026 08:22 (23 дни назад)
Модерация29.11.2026 16:01 (23 days later)
Статуспринято
Запись VulDB445189 [Aider-AI Aider до 0.86.2 Shell Command Confirmation aider/io.py confirm_ask эскалация привилегий]
Баллы20

Might our Artificial Intelligence support you?

Check our Alexa App!