Back to Home
awslabs icon

iam-policy-autopilot

Verified Safe

by awslabs

Overview

Generates baseline AWS IAM identity-based policies from application source code (Python, Go, TypeScript) and helps fix AccessDenied errors, primarily for AI coding assistants.

Installation

Run Command
iam-policy-autopilot mcp-server

Environment Variables

  • AWS_PROFILE
  • AWS_REGION

Security Notes

The tool directly modifies AWS IAM policies in an account via the `apply` command. While it includes guardrails (e.g., account mismatch checks, rejection of root users/service-linked roles, and default confirmation prompts for `fix-access-denied` in CLI), its core function is a high-privilege operation. Policies generated and applied should always be carefully reviewed by a human before deployment to ensure they align with security requirements and the principle of least privilege. The `install.sh` script downloads and executes a binary from GitHub releases, which is a common pattern but presents a supply chain risk if the repository or distribution channel were compromised.

Similar Servers

Stats

Interest Score95
Security Score7
Cost ClassLow
Avg Tokens1000
Stars258
Forks26
Last Update2026-01-18

Tags

IAMAWSpolicyaccess controlsecurityautomationcoding assistantdeveloper toolstatic analysis