Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Firewall Rule Auditor

    1

    Automated audit of cloud and on-prem firewall rules to find security gaps, internet exposure, and redundant rules.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Firewall Rule Auditor

    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

    SeverityRule IDSourcePort/ServiceIssueImpact
    CRITICALsg-0a12b0.0.0.0/022 (SSH)Administrative port exposed to internetRemote brute force risk
    CRITICALsg-0c34d0.0.0.0/03306 (MySQL)Database port exposed to internetData exfiltration risk
    HIGHsg-0e56f0.0.0.0/01024-65535Overly broad port rangeUnnecessary lateral exposure
    MEDIUMsg-0g78h10.0.0.0/8AnyShadowed by rule sg-0a12bRule will never be reached
    LOWsg-0i90j192.168.1.180Disabled ruleConfiguration clutter
    LOWsg-0k12l10.0.0.5443Missing descriptionHard 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-0e56f is 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

    1. Import the rule set by providing iptables-save output, AWS/Azure JSON, or a standard CSV export.
    2. Analysis begins as the skill parses evaluation order and cross-references ports against a known database of management services.
    3. Reporting delivers a categorized list of findings graded by severity from Critical to Low.
    4. 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.

    Evaluation logic assumes the provided file order is the actual execution order. CSV imports require specific column headers or common aliases for correct mapping.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Listed1 month ago
    Updated28 days ago

    What's inside

    Frequently Asked Questions

    The skill supports automated parsing for AWS Security Groups, Azure NSGs, and Linux iptables. For enterprise hardware like Cisco or Palo Alto, you can simply export your rules to a CSV file using our provided header template.

    Unlike a basic prompt, this skill uses specific logic to identify 'shadowed' rules—rules that are never reached because a higher-priority rule catches the traffic first. It systematically maps every port against a database of common vulnerabilities to ensure no administrative port is left exposed.

    Your purchase includes the full firewall auditor skill, a standardized CSV template for hardware exports, and a guide on how to export rule sets from supported cloud providers. All future logic updates and new port definitions are included at no extra cost.

    No direct access is needed; you simply provide the rule set as a file or text export (like an iptables-save output). This ensures your live infrastructure remains untouched while the skill performs the analysis in a sandbox environment.

    The skill delivers a categorized report graded by severity (Critical to Low), followed by a 'Cleanup Plan' that lists exactly which rules should be deleted, narrowed, or moved to improve security and performance.

    New in DevOps & Cloud