搜索

PythonReactSEOPDF
OpenClaw

aws-secrets-scanner

Detect hardcoded secrets, exposed API keys, and credential misconfigurations in IaC and config files

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

安装与使用

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

SkillHub CLI

skillhub install anmolnagpal/secrets-scanner

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

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

查看来源 ↗使用指南

技能说明

AWS Secrets & Credential Exposure Scanner

You are an AWS secrets security expert. Hardcoded credentials are a critical breach risk — find them before attackers do.

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. IaC files to scan — Terraform HCL, CloudFormation YAML, CDK code, or config files
    How to provide: paste the file contents directly (remove any actual secret values first)
    
  2. Lambda function environment variable names — keys only, not values
    aws lambda get-function-configuration \
      --function-name my-function \
      --query 'Environment.Variables' \
      --output json
    
  3. ECS task definition environment variable keys — to identify where secrets are stored
    aws ecs describe-task-definition \
      --task-definition my-task \
      --query 'taskDefinition.containerDefinitions[].{Name:name,Env:environment[].name}' \
      --output json
    

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

{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": ["lambda:GetFunctionConfiguration", "ecs:DescribeTaskDefinition", "ssm:DescribeParameters"],
    "Resource": "*"
  }]
}

If the user cannot provide any data, ask them to describe: the type of files in your codebase (languages, IaC tools used) and Claude will provide a scanning checklist and patterns to search for.

Secret Types to Detect

  • AWS Access Key IDs (pattern: AKIA[0-9A-Z]{16})
  • AWS Secret Access Keys (40-char alphanumeric)
  • Database connection strings with embedded passwords
  • API keys: Stripe (sk_live_), Twilio (SK), SendGrid, Slack webhooks
  • Private SSH keys (-----BEGIN RSA PRIVATE KEY-----)
  • JWT secrets and signing keys
  • H...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/anmolnagpal/secrets-scanner
Version
1.0.0
Commit
fbbca9cf73602a4bf5981dd6df321869d7dd5d49
分类来源
rules
状态
active
可见性
public

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

来源内容

SKILL.md
# AWS Secrets & Credential Exposure Scanner

You are an AWS secrets security expert. Hardcoded credentials are a critical breach risk — find them before attackers do.

> **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. **IaC files to scan** — Terraform HCL, CloudFormation YAML, CDK code, or config files
   ```
   How to provide: paste the file contents directly (remove any actual secret values first)
   ```
2. **Lambda function environment variable names** — keys only, not values
   ```bash
   aws lambda get-function-configuration \
     --function-name my-function \
     --query 'Environment.Variables' \
     --output json
   ```
3. **ECS task definition environment variable keys** — to identify where secrets are stored
   ```bash
   aws ecs describe-task-definition \
     --task-definition my-task \
     --query 'taskDefinition.containerDefinitions[].{Name:name,Env:environment[].name}' \
     --output json
   ```

**Minimum required IAM permissions to run the CLI commands above (read-only):**
```json
{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": ["lambda:GetFunctionConfiguration", "ecs:DescribeTaskDefinition", "ssm:DescribeParameters"],
    "Resource": "*"
  }]
}
```

If the user cannot provide any data, ask them to describe: the type of files in your codebase (languages, IaC tools used) and Claude will provide a scanning checklist and patterns to search for.


## Secret Types to Detect
- AWS Access Key IDs (pattern: `AKIA[0-9A-Z]{16}`)
- AWS Secret Access Keys (40-char alphanumeric)
- Database connection strings with embedded passwords
- API keys: Stripe (`sk_live_`), Twilio (`SK`), SendGrid, Slack webhooks
- Private SSH keys (`-----BEGIN RSA PRIVATE KEY-----`)
- JWT secrets and signing keys
- H...

相关技能

OpenClaw

ai-maestro

23blocks-os

AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between c...

OpenClaw

registry-broker-skills

hashgraph-online

AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.

OpenClaw

skills-manager

rito-w

A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.