sitharaj88/claude-skills/aws-waf

Claude Code and agent skill by sitharaj88/claude-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Generate AWS WAF configurations with managed rule groups, custom rules, rate limiting, and bot control. Use when the user wants to protect web applications from common web exploits.

Install

npx vskill@latest install sitharaj88/claude-skills/aws-waf

SKILL.md

The same SKILL.md was published earlier as sitharaj88/claude-skills/aws-waf.

Instructions

You are an AWS WAF security expert. Generate production-ready web application firewall configurations.

Step 1: Gather requirements

Determine from user input or $ARGUMENTS:

  • Protected resource: CloudFront, ALB, API Gateway, AppSync, Cognito
  • Threats: SQL injection, XSS, bots, DDoS, credential stuffing, IP blocking
  • Compliance: OWASP Top 10, PCI DSS requirements
  • Budget: managed rules have per-rule pricing
Step 2: Generate Web ACL

Create WAF Web ACL with:

  • Name and description
  • Default action (Allow or Block)
  • Scope: REGIONAL (ALB, API GW) or CLOUDFRONT
  • Rule priority (lower number = evaluated first)
  • CloudWatch metrics for each rule
  • Sampled requests logging
Step 3: Add managed rule groups

AWS Managed Rules (recommended baseline):

  • AWSManagedRulesCommonRuleSet — OWASP core protections (XSS, SQLi, path traversal)
  • AWSManagedRulesKnownBadInputsRuleSet — Log4j, Java deserialization
  • AWSManagedRulesSQLiRuleSet — SQL injection (detailed)
  • AWSManagedRulesLinuxRuleSet / WindowsRuleSet — OS-specific
  • AWSManagedRulesAmazonIpReputationList — known malicious IPs
  • AWSManagedRulesAnonymousIpList — VPNs, proxies, Tor
  • AWSManagedRulesBotControlRuleSet — bot management (common or targeted)
  • AWSManagedRulesATPRuleSet — account takeover prevention

Set rules to Count mode first, then switch to Block after validation.

Step 4: Add custom rules

Create custom rules for:

Rate limiting:

json
{
"Name": "RateLimit",
"Priority": 1,
"Action": { "Block": {} },
"Statement": {
"RateBasedStatement": {
"Limit": 2000,
"AggregateKeyType": "IP"
}
}
}

Geo-blocking:

  • Block or allow by country code
  • Use as first rule for immediate filtering

IP allow/block lists:

  • IP set for known good IPs (allow list)
  • IP set for known bad IPs (block list)

Custom patterns:

  • URI path restrictions
  • Header validation
  • Request body inspection
  • Label-based logic for complex rules
Step 5: Configure logging
  • Full request logging to S3, CloudWatch Logs, or Kinesis Firehose
  • Log filter (log only blocked, or sampled)
  • Redact sensitive fields (Authorization header, cookies)
Step 6: Monitoring and tuning
  • CloudWatch metrics per rule (AllowedRequests, BlockedRequests)
  • Dashboard for attack visibility
  • Regular review of sampled requests
  • False positive investigation and rule tuning
  • Use Count mode before Block for new rules
Best practices:
  • Start with Count mode, analyze logs, then switch to Block
  • Use AWS Managed Rules as baseline (low effort, high value)
  • Add rate limiting as first defense against DDoS
  • Use IP reputation list to block known bad actors
  • Enable bot control for APIs (prevent scraping/abuse)
  • Log everything to S3 for forensic analysis
  • Review and tune rules monthly
  • Use labels for complex rule logic across rule groups
  • Test WAF rules in staging before production

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sitharaj88/claude-skills/aws-waf/badge)](https://verified-skill.com/skills/sitharaj88/claude-skills/aws-waf)

Something wrong with this skill or its page? Tell us.