# s3 bucket policy exposure auditor

> Offline audit of S3 bucket policy, ACL, Block Public Access and CORS JSON for public and cross-account exposure.

s3 bucket policy exposure auditor is a paid AI agent skill on Agensi by Big t, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $10 (one-time purchase)
- Creator: [Big t](https://www.agensi.io/creators/t-b)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/s3-bucket-policy-exposure-auditor
- Tags: security, devops, project-management, aws, s3, bucket-policy, public-access, cors

## About this skill

**Is this bucket public? Ask the exports, not the console hunches.**

Evaluates bucket policy, ACL, Block Public Access and CORS JSON using AWS's own definition of "public" (AllUsers/AuthenticatedUsers ACLs; Principal `*` without fixed-value conditions). Flags public read/write, cross-account grants, BPA disabled, CORS `Origin=*` with write methods, and missing `aws:SecureTransport` deny.

### What's included
SKILL.md, `scripts/s3audit.py`, sample policy/acl/bpa/cors JSON, references.

## Known limitations

- Does not call AWS or change bucket settings.
- Classification uses content + filename heuristics — name exports clearly (`*policy*`, `*acl*`, `*cors*`, `*public*`).
- Does not evaluate IAM identity policies or SCPs.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the s3 bucket policy exposure auditor skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How do I get the exports?

`aws s3api get-bucket-policy / get-bucket-acl / get-public-access-block / get-bucket-cors`. You run those; the skill stays offline.

### What counts as public?

AWS Block Public Access definition — AllUsers/AuthenticatedUsers ACLs, or Principal `*` without a fixed-value condition key.

### Will it fix the bucket?

No. Report only.

### Does it understand policy variables?

It checks for fixed-value condition keys listed in the AWS public-policy rules (SourceIp, SourceVpc, PrincipalOrgID, …).

### Multi-bucket?

Run once per bucket's export set.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
