aws-security-audit

aws-security-audit is a skill for Claude Code, Codex from automateyournetwork/netclaw. It costs 47 tokens per session (1,052 once invoked), scanned A, original, Apache-2.0.

A read-only auditor for AWS access permissions and CloudTrail, AWS’s record of API activity.

In plain words
What is it for?
Use it to review users, roles, policies, groups, access keys, MFA status, and recent API events by person, service, resource, region, or time window.
Why use it?
It helps identify excessive access, missing multi-factor authentication, and suspicious or unexplained actions without modifying IAM settings.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review users, roles, policies, groups, access keys, MFA status, and recent API events by person, service, resource, region, or time window.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/automateyournetwork/netclaw/aws-security-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add automateyournetwork/netclaw --skill aws-security-audit
Clone the repo
git clone --depth 1 https://github.com/automateyournetwork/netclaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aws-security-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/automateyournetwork/netclaw/aws-security-audit/github.svg)](https://agentmods.dev/skills/automateyournetwork/netclaw/aws-security-audit)
Your own site
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/aws-security-audit"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/aws-security-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aws-security-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/aws-security-audit"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/aws-security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,052 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 13
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
  • medium MCP Rug Pull · line 14
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.01052
Opus 5 $0.00023 $0.00526
Sonnet 5 $0.00009 $0.00210
Haiku 4.5 $0.00005 $0.00105

Measured 9d ago against content hash be7fcbab3b3d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

aws-security-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

workspace/skills/aws-security-audit/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AWS Security Audit

MCP Servers

  • IAM MCP: uvx awslabs.iam-mcp-server@latest --readonly (stdio transport)
  • CloudTrail MCP: uvx awslabs.cloudtrail-mcp-server@latest (stdio transport)
  • Requires: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION (or AWS_PROFILE)

Key Capabilities

IAM (Identity & Access Management)

  • Users: List IAM users, access keys, MFA status, last activity
  • Roles: List roles, trust policies, attached permissions
  • Policies: Inspect policy documents, identify overly permissive policies
  • Groups: List groups and their memberships
  • Read-only mode: --readonly flag prevents any IAM modifications

CloudTrail (API Audit Trail)

  • Event history: Search recent API calls by user, service, or resource
  • Lookup events: Filter by event name, resource type, username
  • Time-based queries: Narrow to specific time windows around incidents
  • Multi-region: Trail events across all enabled regions

Workflow: Network Security Audit

When a user asks "audit our AWS network security":

  1. IAM roles for network services: Check roles used by VPC, TGW, Network Firewall
  2. Overly permissive policies: Find policies with ec2:* or *:* actions
  3. Unused access keys: Identify stale credentials that should be rotated
  4. MFA compliance: Check which users lack MFA
  5. CloudTrail check: Recent AuthorizeSecurityGroupIngress, CreateNetworkAcl, ModifyVpcAttribute events
  6. Report: Security posture summary with remediation recommendations

Workflow: Incident Investigation

When investigating a security event:

  1. CloudTrail lookup: Search events by time window and suspected user/role
  2. Identify actions: What API calls were made? DeleteSecurityGroup, ModifySubnetAttribute?
  3. Source IP: Where did the API calls originate from?
  4. IAM context: What permissions does the user/role have? Should they?
  5. Blast radius: What resources were affected?
  6. Report: Timeline of events with impact assessment

Read the full file on GitHub · 103 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 103 lines · 47 tokens per session scan A be7fcbab3b3d

Subscribe to this mod's changes

aws-security-audit is a skill published in the GitHub repository automateyournetwork/netclaw (651 stars, last pushed 2d ago), licensed Apache-2.0. It adds 47 tokens to every session and 1,052 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.