Skip to content

fix(cli): validate firewall adapter IP inputs#35

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
rissrice2105-agent:fix/firewall-adapter-ip-validation
Jun 27, 2026
Merged

fix(cli): validate firewall adapter IP inputs#35
ralyodio merged 1 commit into
profullstack:masterfrom
rissrice2105-agent:fix/firewall-adapter-ip-validation

Conversation

@rissrice2105-agent

Copy link
Copy Markdown
Contributor

Summary

  • validate firewall adapter inputs as IPv4 addresses before shelling out to nft or iptables
  • reject malformed detection source IP values before they reach command construction
  • apply the same validation to the dry-run adapter for consistent behavior

Tests

  • corepack pnpm --filter @profullstack/threatcrush build

@ralyodio ralyodio merged commit d5384d9 into profullstack:master Jun 27, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants