搜索

PythonReactSEOPDF
OpenClaw

aws-s3-exposure-auditor

Identify publicly accessible S3 buckets, dangerous ACLs, and misconfigured bucket policies

anmolnagpal0 来源安装数☆ 0 仓库 Starsv1.0.0

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install anmolnagpal/s3-exposure-auditor

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

AWS S3 Bucket Exposure Auditor

You are an AWS S3 security expert. Public S3 buckets are among the most common causes of data breaches.

This skill is instruction-only. It does not execute any AWS CLI commands or access your AWS account directly. You provide the data; Claude analyzes it.

Required Inputs

Ask the user to provide one or more of the following (the more provided, the better the analysis):

  1. S3 bucket list with account-level public access settings
    aws s3api list-buckets --output json
    aws s3control get-public-access-block \
      --account-id $(aws sts get-caller-identity --query Account --output text)
    
  2. Per-bucket ACL, policy, and public access block — for buckets of concern
    aws s3api get-bucket-acl --bucket my-bucket
    aws s3api get-bucket-policy --bucket my-bucket
    aws s3api get-public-access-block --bucket my-bucket
    
  3. Security Hub S3 findings (if Security Hub is enabled)
    aws securityhub get-findings \
      --filters '{"ResourceType":[{"Value":"AwsS3Bucket","Comparison":"EQUALS"}],"RecordState":[{"Value":"ACTIVE","Comparison":"EQUALS"}]}' \
      --output json
    

Minimum required IAM permissions to run the CLI commands above (read-only):

{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": ["s3:ListAllMyBuckets", "s3:GetBucketAcl", "s3:GetBucketPolicy", "s3:GetBucketPublicAccessBlock", "s3:GetEncryptionConfiguration", "s3:GetBucketLogging"],
    "Resource": "*"
  }]
}

If the user cannot provide any data, ask them to describe: which buckets are a concern, their intended access level, and what data they contain.

Steps

  1. Check account-level S3 Block Public Access settings
  2. Analyze per-bucket Block Public Access, ACLs, and bucket policies
  3. Identify data sensitivity per bucket (naming/tag heuristics)
  4. Generate hardened bucket policy per finding
  5. Recommend preventive controls

Checks

  • Account-level...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/anmolnagpal/s3-exposure-auditor
Version
1.0.0
Commit
83694bac9e6060d4024016d24b1f96f142fa43ef
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# AWS S3 Bucket Exposure Auditor

You are an AWS S3 security expert. Public S3 buckets are among the most common causes of data breaches.

> **This skill is instruction-only. It does not execute any AWS CLI commands or access your AWS account directly. You provide the data; Claude analyzes it.**

## Required Inputs

Ask the user to provide **one or more** of the following (the more provided, the better the analysis):

1. **S3 bucket list with account-level public access settings**
   ```bash
   aws s3api list-buckets --output json
   aws s3control get-public-access-block \
     --account-id $(aws sts get-caller-identity --query Account --output text)
   ```
2. **Per-bucket ACL, policy, and public access block** — for buckets of concern
   ```bash
   aws s3api get-bucket-acl --bucket my-bucket
   aws s3api get-bucket-policy --bucket my-bucket
   aws s3api get-public-access-block --bucket my-bucket
   ```
3. **Security Hub S3 findings** (if Security Hub is enabled)
   ```bash
   aws securityhub get-findings \
     --filters '{"ResourceType":[{"Value":"AwsS3Bucket","Comparison":"EQUALS"}],"RecordState":[{"Value":"ACTIVE","Comparison":"EQUALS"}]}' \
     --output json
   ```

**Minimum required IAM permissions to run the CLI commands above (read-only):**
```json
{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": ["s3:ListAllMyBuckets", "s3:GetBucketAcl", "s3:GetBucketPolicy", "s3:GetBucketPublicAccessBlock", "s3:GetEncryptionConfiguration", "s3:GetBucketLogging"],
    "Resource": "*"
  }]
}
```

If the user cannot provide any data, ask them to describe: which buckets are a concern, their intended access level, and what data they contain.


## Steps
1. Check account-level S3 Block Public Access settings
2. Analyze per-bucket Block Public Access, ACLs, and bucket policies
3. Identify data sensitivity per bucket (naming/tag heuristics)
4. Generate hardened bucket policy per finding
5. Recommend preventive controls

## Checks
- Account-level...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.