fix: remove cat from allowed shell commands and fix stale display tests

Remove cat from allowed_commands to close shell redirect bypass vector
(read_file provides safer alternative). Update display tests to match
render_user_message returning Text instead of Panel, and shell test to
use head instead of cat.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 21:14:21 -05:00
parent 4e3da84578
commit 5b5c3098bb
3 changed files with 5 additions and 6 deletions

View File

@@ -48,7 +48,6 @@ tools:
- pytest
- ruff
- ls
- cat
- head
- tail
- wc