Skip to content

maxwellokumu/okaudit-claude-skills / network-security/network-config-reviewer

network-config-reviewer

Verified

Review firewall and network rule sets for overly permissive access, risky exposure, and other configuration weaknesses so Claude can explain the highest-priority findings clearly.

FileKindSize
README.mdmarkdown1.2 KB
SKILL.mdskill md1.7 KB
main.pyscript15.7 KB
sample_input/firewall_rules.csvother1.2 KB
skill.yamlconfig935 B
# network-config-reviewer

Analyses firewall rules and AWS Security Groups for security misconfigurations including open inbound access, sensitive port exposure, deprecated protocol usage, any-to-any rules, and overly broad port ranges. Outputs a risk-rated violations report with remediation recommendations.

## Requirements

```
python-dotenv
boto3  # only required for --mode aws
```

## Usage

### Local CSV mode
```bash
python main.py --rules sample_input/firewall_rules.csv
```

### AWS Security Groups (live)
```bash
python main.py --mode aws
```

### AWS dry-run (uses bundled sample data)
```bash
python main.py --mode aws --dry-run
```

## Sample Output

```markdown
# Network Configuration Review Report

**Generated:** 2024-01-15 09:00 UTC
**Total Rules Analysed:** 20

## Summary

| Metric | Count |
|--------|-------|
| Total Rules | 20 |
| Compliant Rules | 6 |
| Rules with Violations | 14 |
| Total Violations | 18 |
| Critical Violations | 4 |
| High Violations | 7 |
| Medium Violations | 3 |
| Low Violations | 4 |

## Violations

| Rule # | Source | Destination | Port | Protocol | Issue | Risk |
|--------|--------|-------------|------|----------|-------|------|
| 3 | `any` | `any` | any | any | Any-to-any ALLOW rule | **Critical** |
...
```
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 323kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 323kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 323kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 323kUpdated Claude CodeCodexVerifiedInstall