- Home
- Skills
- DevOps & Cloud
- s3 bucket policy exposure auditor
More screenshots
Works with the AI Agents you already use
s3 bucket policy exposure auditor
Offline audit of S3 bucket policy, ACL, Block Public Access and CORS JSON for public and cross-account exposure.
$10
s3 bucket policy exposure auditor
Example session with this skill installed
Here are get-bucket-policy / acl / public-access-block / cors exports for bakery-uploads. Anything exposed?
- Read your context and instructions
- Compiled the s3 bucket policy
Answer: yes — 1 CRITICAL, 6 HIGH, 1 MEDIUM on the sample bakery-uploads exports.
- CRITICAL: CORS allows
AllowedOrigins: ["*"]with methods includingPUT - HIGH: ACL grants
READto the predefinedAllUsersgroup (public ACL per AWS docs)
HIGH: Block Public Access — BlockPublicAcls, IgnorePublicAcls and BlockPublicPolicy are all false (RestrictPublicBuckets is true)
HIGH: Bucket policy statement 0 allows Principal: "*" on s3:GetObject with no fixed-value condition (aws:SourceIp / aws:SourceVpc / aws:PrincipalOrgID / …)
- HIGH: No
Denywhenaws:SecureTransportis false — bucket reachable over plain HTTP - MEDIUM: Statement 1 grants cross-account access to
arn:aws:iam::123456789012:root
Deliverables: severity-sorted findings by source file; optional s3.md + JSON. Uses AWS's published definition of a public ACL / public policy.
Next steps: enable all four BPA flags, remove public ACL/policy statements or add fixed-value conditions, restrict CORS origins, add a SecureTransport deny. The skill never calls AWS or changes the bucket.
(Real run on bundled examples/{policy,acl,bpa,cors}.json.)
Connects securely to your tools. The creator never sees your data.
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.
- 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
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 29 days ago
Permissions
File Scopes
Fully offline. Scripts never import networking or subprocess modules and never modify system or cloud configuration.