DEV Community

Discussion on: I Gave an AI Agent Access to My AWS Account - Here's What It Found

Collapse
 
venkatesh111 profile image
Venkatesh K

Todays Test:

Removed the ReadOnlyAccess, uninstalled AWS CLI (to get clarity if Om is using aws cli to fetch information), asked Om to give me monthly cost report.

It Failed, stating no AWS CLI installed. (my expected results)

I asked it to install aws cli and it did, (because it has sudo permission on my EC2) without even asking me confirmation.

More reason why the permission that we set for AI agent is so important.

AI Agents are still be in binary mode (Yes/No) so it is important that we setup guardrails around it to effectively use AI agents in daily use cases.