Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Shell commands printed on the screen should highlight untrusted commands before asking the user if they should be trusted

Open tbg10101 opened this issue 7 months ago • 2 comments

Kiro Product

CLI

Feature Description

For example, I might see this shell command:

echo "BUILD OUTPUT:" && grep -E "passed|failed|error" build.log | tail -5

If I have trusted echo but not grep then the grep command should be highlighted so I know which part is not trusted.

Use Case

This would be used while in an interactive kiro-cli session to bring more user attention to untrusted programs which could be hidden in a long shell command.

Additional Context

No response

tbg10101 avatar Apr 14 '26 14:04 tbg10101

Thanks for opening this issue! The idea of visually highlighting untrusted commands within a shell command string is a really thoughtful way to help users quickly spot what needs their attention before approving execution. A maintainer will take a look at this soon — great suggestion for improving the CLI's trust workflow! 🙌

github-actions[bot] avatar Apr 14 '26 14:04 github-actions[bot]

please see also #7611

NeilPitman avatar Apr 21 '26 19:04 NeilPitman