🇰🇷 한글 설명
Amazon Strands Agents Tools 0.8.5 미만 버전의 python_repl 도구에서 LLM 프롬프트 입력값에 대한 중화 처리가 미흡하여 발생합니다. 공격자가 정교하게 조작된 프롬프트를 통해 인간의 승인 절차를 우회하고, batch 도구를 통해 non_interactive_mode 인자를 전달함으로써 에이전트 호스트에서 임의의 파이썬 코드를 실행할 수 있습니다.
💡 쉬운 설명
인공지능 에이전트에게 내리는 명령어를 교묘하게 조작하여, 사람이 허락하지 않아도 해커가 컴퓨터에 마음대로 명령을 내릴 수 있는 보안 약점입니다. 이를 통해 해커가 시스템을 장악하거나 악성 코드를 실행할 위험이 있습니다.
🇺🇸 원문 (English)
Improper neutralization of input used for LLM prompting in the python_repl tool in Amazon Strands Agents Tools before 0.8.5 might allow remote actors to execute arbitrary Python code on the agent's host by bypassing the human consent gate, via a crafted prompt that forwards non_interactive_mode as a keyword argument through the batch tool. To remediate this issue, users should upgrade to version 0.8.5 or later.
📍 영향받는 시스템
Amazon Strands Agents Tools 0.8.5 미만 버전
⚔️ 공격 벡터
batch 도구를 통해 non_interactive_mode 인자를 전달하는 조작된 프롬프트 주입
🛡️ 대응 방법
Amazon Strands Agents Tools를 0.8.5 버전 이상으로 업그레이드하십시오.
🔧 검증 코드
출력된 Version 값이 0.8.5 미만이면 취약한 상태이며, 0.8.5 이상이면 안전합니다.
pip show amazon-strands-agents-tools 2>/dev/null | grep -E 'Version'