Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Kiro CLI's aws tool is unable to execute read-only commands by default

Open TrevorBurnham opened this issue 10 months ago • 2 comments

Before opening, please confirm:

Operating System

macOS 26.2

Kiro Version

kiro-cli 1.23.1

Bug Description

When I run /tools, I see that the aws tool's default permissions are

trust read-only commands

This corresponds to the "autoAllowReadonly": true flag in the aws tool settings.

However, I've never seen Kiro CLI run an aws command without asking for permission. Searching logs in CloudFormation, for example, triggers a permission request rather than being auto-trusted.

Steps to Reproduce

  1. Start Kiro CLI with the default agent
  2. Use /tools to confirm that the aws tool is set to "trust read-only commands"
  3. Ask it to search your CloudWatch logs

You'll get a permissions prompt like this:

Running aws cli command (using tool: aws):

Service name: logs
Operation name: describe-log-groups
Parameters: 
- log-group-name-prefix: "MyLogs-"
Profile name: my-profile
Region: us-east-1
Label: List MyLogs log groups in us-east-1
Allow this action? Use 't' to trust (always allow) this tool for the session. [y/n/t]:

Expected Behavior

Since describe-log-groups is a read-only command, it should be trusted.

Conversation ID

No response

Additional Context

No response

TrevorBurnham avatar Jan 14 '26 20:01 TrevorBurnham

Happily this seems to have been fixed in v1.24.0. The CHANGELOG says:

Enhanced AWS tool - The use_aws tool now identifies readonly operations automatically, reducing permission prompts for safe commands like describe-* and list-*.

I confirmed that this works for the case described above (describe-log-groups operation).

A nice improvement! Closing this out.

TrevorBurnham avatar Jan 16 '26 19:01 TrevorBurnham

Cheapest Anthropic & OpenAI-Compatible API 🚀

Works with Claude Code, Cursor, Cline, Void, Continue, Kilo Code, OpenClaw, OpenCode, LangChain, Obsidian, IntelliJ — any OpenAI-compatible client.

💰 Pricing (1 credit ≈ $1 original Anthropic)

Credits Price Tokens
1k $5 ~100M
5k $15 ~500M
10k $30 ~1B

🤖 Models: claude-opus-4-6 / sonnet-4-6 / haiku-4-5 (1M ctx + websearch)

✅ Why us?

  • 100 trial credits before payment
  • Credits issued before payment
  • Any country, any payment method
  • 400+ clients, quality guarantee
  • We can prove Opus is real and explain pricing

📩 Telegram: @yon_sup

packmistrecoup avatar Apr 09 '26 01:04 packmistrecoup