Skip to content
Back to skills

Port Scanner Detection

ASecurity

Use when detecting port scans and adding dynamic blocks.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 10, 2026
ai-agentsrustgosecurity

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add LoopyLuci/Skills --skill port-scanner-detection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Port Scanner Detection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Port Scanner Detection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/loopyluci-port-scanner-detection/badge)](https://www.skillsdirectory.com/skills/loopyluci-port-scanner-detection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: port-scanner-detection
title: Port Scanner Detection
description: Use when detecting port scans and adding dynamic blocks.
category: networking
tags: [port-scan, detection, security, dynamic-block, rust]
---

# Port Scanner Detection

**Trigger**: Use when implementing port scan detection and throttling.

**Libraries**: `pcap`, `pnet`, `dashmap` (concurrent state)

**Implementation**: Sliding window: count unique ports per source IP within time window. Configurable thresholds (N ports in M seconds). TCP flag anomaly detection (SYN-only, FIN-only, X-mas, NULL). Dynamic block: auto-add nftables/WFP rule with configurable duration. Rate limiting option. Whitelist trusted scanners.

**Connected**: `packet-capture-engine`, `firewall-rules-engine`, `connection-monitor`, `gpu-packet-classifier`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.