Skip to content
Back to skills

Aws Scan Security

ASecurity

Evaluate IAM posture, public exposure, and security service status of the current AWS account.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
toolsgoawsapisecurity

Works with

  • api

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add nirecom/agents --skill aws-scan-security --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Aws Scan Security?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Aws Scan Security
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nirecom-aws-scan-security/badge)](https://www.skillsdirectory.com/skills/nirecom-aws-scan-security)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: aws-scan-security
description: Evaluate IAM posture, public exposure, and security service status of the current AWS account.
model: opus
context: fork
---

## Procedure

ASE-1. Verify prerequisites.
ASE-2. IAM posture (pass `--profile $AWS_PROFILE --region $AWS_DEFAULT_REGION`):
   - Root MFA: `aws iam get-account-summary --query 'SummaryMap.AccountMFAEnabled'`
   - Users without MFA: `aws iam list-virtual-mfa-devices --assignment-status Unassigned`
   - Admin policies on users: `aws iam list-attached-user-policies` per user, flag AdministratorAccess
   - Access keys >90 days: `aws iam list-access-keys`, check CreateDate
ASE-3. Public exposure:
   - Public S3: `aws s3api get-bucket-acl` + `aws s3api get-bucket-policy-status` per bucket
   - SGs 0.0.0.0/0 on 22/3389/3306/5432: `aws ec2 describe-security-groups --filters Name=ip-permission.cidr,Values=0.0.0.0/0`
   - Public RDS: `aws rds describe-db-instances --query 'DBInstances[?PubliclyAccessible==\`true\`]'`
ASE-4. Security services: CloudTrail, GuardDuty, AWS Config, Security Hub (describe/list/get commands)
ASE-5. Write raw findings to `$AWS_STATE_DIR/security-<YYYYMMDD>.json` (severity: critical/high/medium/low).
ASE-6. Write human-readable summary to `$AWS_STATE_DIR/security-<YYYYMMDD>.md`:
   - Severity table: critical/high/medium/low counts
   - One bullet per finding category (no identifiers)
ASE-7. Print: counts by severity only — no identifiers.

## Rules

- Read-only only. Identifiers must NOT appear in conversation.
- Critical findings must be highlighted.
- AccessDeniedException → mark as unknown (not pass).

## Skip Conditions

Skip if `$AWS_STATE_DIR/security-<YYYYMMDD>.json` exists and is less than 4 hours old.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.