SIGN IN SIGN UP

fix(tools): Shell escape path and range in ReadFileTool command

Use shlex.quote to escape the path and range arguments in the ReadFileTool shell command to prevent potential shell injection vulnerabilities.

Change-Id: I5156b616296fc7fac3b98da2b500e4aeb1e3022c
W
Wei (Jack) Sun committed
e16629b38814ec31ed55dc6412dcc7ec33774749
Parent: ad8b6c7
Committed by Wei Sun <weisun@google.com> on 5/27/2026, 4:45:50 PM