Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Kiro IDE try to access to other AWS region which is not my subscription region

Open aobao32 opened this issue 9 months ago • 5 comments

Before opening, please confirm:

Operating System

ubuntu 22.04

Kiro Version

0.9.40

Bug Description

Background

My Kiro subscription is in us-east-1 region, and IAM Identity Center is in us-east-1 as well.

Issue

Found kiro always connects to

Image

region:

  • q.eu-central-1.amazonaws.com:443
  • q-fips.us-gov-west-1.amazonaws.com:443
  • q-fips.us-gov-east-1.amazonaws.com:443

Why my data is sending to those region? This is a critical security concern. Data should never send to other region (as my subscription is in us-east-1).

Steps to Reproduce

  1. Install Kiro IDE (linux)
  2. Use network proxy or tcpdump to get outbound traffic log
  3. Found irrelevant region access log

Expected Behavior

Kiro should only access to Subscription region, as I choose us-east-1 on AWS console.

Conversation ID

not a conversation issue.

Additional Context

I expose traffic through a proxy, below is proxy log.

1771081240.376 171791 172.16.0.246 TCP_TUNNEL/200 7056 CONNECT prod.pa.cdn.uis.awsstatic.com:443 - HIER_DIRECT/3.165.11.117 - 1771081240.377 172029 172.16.0.246 TCP_TUNNEL/200 13891 CONNECT d-9066195b8c.awsapps.com:443 - HIER_DIRECT/3.173.238.111 - 1771081241.377 172580 172.16.0.246 TCP_TUNNEL/200 8331 CONNECT portal.sso.us-east-1.amazonaws.com:443 - HIER_DIRECT/54.204.117.20 - 1771081243.377 174006 172.16.0.246 TCP_TUNNEL/200 12934 CONNECT oidc.us-east-1.amazonaws.com:443 - HIER_DIRECT/44.198.68.62 - 1771081243.377 175560 172.16.0.246 TCP_TUNNEL/200 8602 CONNECT oidc.us-east-1.amazonaws.com:443 - HIER_DIRECT/44.198.68.62 - 1771081244.391 175648 172.16.0.246 TCP_TUNNEL/200 14208 CONNECT us-east-1.prod.pl.panorama.console.api.aws:443 - HIER_DIRECT/52.200.200.100 - 1771081244.391 175649 172.16.0.246 TCP_TUNNEL/200 10262 CONNECT log.sso-portal.us-east-1.amazonaws.com:443 - HIER_DIRECT/3.224.203.134 - 1771081244.392 187999 172.16.0.246 TCP_TUNNEL/200 5389 CONNECT prod.assets.shortbread.aws.dev:443 - HIER_DIRECT/54.230.175.118 - 1771081244.392 188830 172.16.0.246 TCP_TUNNEL/200 13853 CONNECT app.kiro.dev:443 - HIER_DIRECT/100.51.41.118 - 1771081245.391 188856 172.16.0.246 TCP_TUNNEL/200 8183 CONNECT prod.log.shortbread.aws.dev:443 - HIER_DIRECT/18.65.185.21 - 1771081245.392 188095 172.16.0.246 TCP_TUNNEL/200 5619 CONNECT prod.us-east-1.telemetry.kiro.aws.dev:443 - HIER_DIRECT/3.94.34.51 - 1771081256.216 0 172.16.0.246 TCP_DENIED/403 3447 CONNECT q-fips.us-gov-west-1.amazonaws.com:443 - HIER_NONE/- text/html 1771081256.217 0 172.16.0.246 TCP_DENIED/403 3447 CONNECT q-fips.us-gov-east-1.amazonaws.com:443 - HIER_NONE/- text/html 1771081256.766 549 172.16.0.246 TCP_TUNNEL/200 5412 CONNECT q.us-east-1.amazonaws.com:443 - HIER_DIRECT/54.164.56.31 - 1771081256.777 536 172.16.0.246 TCP_TUNNEL/200 5920 CONNECT q.us-east-1.amazonaws.com:443 - HIER_DIRECT/54.164.56.31 - 1771081257.106 889 172.16.0.246 TCP_TUNNEL/200 4995 CONNECT q.eu-central-1.amazonaws.com:443 - HIER_DIRECT/63.183.21.54 - 1771081257.926 618 172.16.0.246 TCP_TUNNEL/200 4790 CONNECT prod.us-east-1.telemetry.desktop.kiro.dev:443 - HIER_DIRECT/98.87.108.243 - 1771081262.253 464 172.16.0.246 TCP_TUNNEL/200 4790 CONNECT prod.us-east-1.telemetry.desktop.kiro.dev:443 - HIER_DIRECT/98.87.108.243 - 1771081289.405 231107 172.16.0.246 TCP_TUNNEL/200 6443 CONNECT incoming.telemetry.mozilla.org:443 - HIER_DIRECT/34.120.208.123 - 1771081293.920 0 172.16.0.246 TCP_DENIED/403 3434 CONNECT push.services.mozilla.com:443 - HIER_NONE/- text/html 1771081526.571 171034 172.16.0.246 TCP_TUNNEL/200 16101 CONNECT ads.mozilla.org:443 - HIER_DIRECT/199.232.149.91 -

aobao32 avatar Feb 14 '26 15:02 aobao32

🤖 Potential Duplicate Detected

This issue appears to be similar to:

What happens next?

  • ⏰ This issue will be automatically closed in 3 days
  • 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
  • 💬 Comment on the original issue if you have additional information

Why is this marked as duplicate? Both issues involve connection/authentication problems with Kiro services, with issue #4681 reporting AccessDeniedException errors when trying to login, which could be related to the same underlying connectivity issues to AWS regions described in the new issue

github-actions[bot] avatar Feb 14 '26 15:02 github-actions[bot]

I strongly disagree that this is a duplicate issue. The previous case discussed login, not Kiro accessing unrelated regions.

aobao32 avatar Feb 14 '26 15:02 aobao32

Thank you for your feedback! 🙏

The duplicate label has been removed and this issue has been sent back for maintainer review.

A maintainer will review this issue shortly.

github-actions[bot] avatar Feb 14 '26 15:02 github-actions[bot]

Hi @aobao32, thanks for the detailed report and you're right — this is not a duplicate of #4681.

The connections you're seeing to q.eu-central-1.amazonaws.com and the us-gov endpoints are part of the standard service endpoint discovery process. This is expected behavior — Kiro checks for available service endpoints across regions during initialization. No user data or conversation content is being sent to those regions. Your actual service traffic, as you can see in your own logs, is routed through q.us-east-1.amazonaws.com consistent with your subscription region.

The us-gov endpoints being TCP_DENIED/403 in your logs also confirms no data was exchanged with those endpoints.

Hope that clears up the concern! Let us know if you have any further questions.

AnilMaktala avatar Mar 05 '26 16:03 AnilMaktala

This issue has been automatically closed due to inactivity. It has been 7 days since we requested additional information.

If you still need help with this issue, please feel free to reopen it or create a new issue with the requested details.

github-actions[bot] avatar Mar 13 '26 00:03 github-actions[bot]