- Home
- Skills
- DevOps & Cloud
- Firewall Rule Auditor
Works with the AI tools you already use
Firewall Rule Auditor
Automated audit of cloud and on-prem firewall rules to find security gaps, internet exposure, and redundant rules.
$9.99
Firewall Rule Auditor
Example session with this skill installed
Audit this AWS Security Group export for a production VPC. Focus on internet-facing risks and shadowed rules. [sgs.json attached]
- Read your context and instructions
- Compiled the firewall rule auditor
I have audited the provided AWS Security Group configuration. The analysis identified 2 critical exposures and 3 redundant rules that should be addressed immediately to reduce the attack surface.
Firewall Audit Report
| Severity | Rule ID | Source | Port/Service | Issue | Impact |
|---|---|---|---|---|---|
| CRITICAL | sg-0a12b | 0.0.0.0/0 | 22 (SSH) | Administrative port exposed to internet | Remote brute force risk |
| CRITICAL | sg-0c34d | 0.0.0.0/0 | 3306 (MySQL) | Database port exposed to internet | Data exfiltration risk |
| HIGH | sg-0e56f | 0.0.0.0/0 | 1024-65535 | Overly broad port range | Unnecessary lateral exposure |
| MEDIUM | sg-0g78h | 10.0.0.0/8 | Any | Shadowed by rule sg-0a12b | Rule will never be reached |
| LOW | sg-0i90j | 192.168.1.1 | 80 | Disabled rule | Configuration clutter |
| LOW | sg-0k12l | 10.0.0.5 | 443 | Missing description | Hard to maintain/audit |
Cleanup Plan
Immediate Action: Modify sg-0a12b and sg-0c34d to restrict access to specific trusted bastion or VPN IP addresses only.
2.
Hygiene: Remove shadowed rule sg-0g78h and the disabled rule sg-0i90j after verifying they are no longer needed for legacy compatibility.
3.
Documentation: Update rule sg-0k12l with a clear owner and purpose description to satisfy compliance requirements.
Next steps
- Generate a change ticket for the SSH and MySQL access restrictions.
- Verify if the broad port range in
sg-0e56fis required for ephemeral ports or can be tightened. - Run a follow-up audit after the changes are applied to confirm the new security posture.
Connects securely to your tools. The creator never sees your data.
About this skill
Manual firewall audits are tedious and prone to human error, often leaving critical security gaps unnoticed until a breach occurs. This skill automates the analysis of rule sets to identify misconfigurations and exposure risks instantly.
What it does
- Risk identification flags any-any allow rules and direct internet exposure to administrative or database ports.
- Hygiene analysis detects shadowed, redundant, and disabled rules that clutter configurations.
- Exposure mapping isolates wide port ranges and overly broad source networks like /8 blocks.
- Cleanup planning generates prioritized remediation steps for closing critical gaps and removing dead rules.
- Multi-format support processes exports from AWS, Azure, Linux
iptables, and various enterprise firewalls via CSV.
How it works
- Import the rule set by providing
iptables-saveoutput, AWS/Azure JSON, or a standard CSV export. - Analysis begins as the skill parses evaluation order and cross-references ports against a known database of management services.
- Reporting delivers a categorized list of findings graded by severity from Critical to Low.
- Remediation provides a structured cleanup plan including specific rule deletions and ticketing recommendations.
Frameworks & tools
Supports Linux iptables, AWS Security Groups, Azure NSG, and generic CSV exports from Cisco ASA, Fortinet, Palo Alto, pfSense, and Check Point.
Why this beats prompting it yourself
Writing prompts to catch complex shadowing or specific port vulnerabilities often misses nuances in evaluation order. This skill uses a defined logic for protocol-port mapping and rule precedence, ensuring a systematic audit rather than a superficial scan.
Use cases
- Audit cloud security groups before a production release.
- Clean up legacy firewall configurations with thousands of redundant rules.
- Prepare for compliance audits by identifying undocumented and any-any rules.
- Perform quick security health checks after network infrastructure changes.
Known limitations
Rule order in the provided file is treated as the evaluation order. Requires specific CSV column headers or standard cloud JSON formats to function correctly.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 1 day ago
- Passed all security checks, Safe to install