analyzing-network-packets-with-scapy

analyzing-network-packets-with-scapy is a skill for Claude Code, Codex from Youngmaidainon/Agent-Level-Up. It costs 75 tokens per session (559 once invoked), scanned A, a copy of analyzing-network-packets-with-scapy, MIT.

A procedure for using Scapy, a Python library for creating, capturing, and examining network packets. Packets are the small units of data sent across a network; the procedure covers TCP, UDP, ICMP, DNS, packet captures, scans, and malformed traffic.

In plain words
What is it for?
Use it for authorized packet crafting and capture, pcap analysis, protocol-field extraction, SYN scans, DNS review, and network-anomaly detection.
Why use it?
It supports detailed protocol-level investigation when ordinary traffic summaries do not show enough information. It can reveal unusual, fragmented, or deliberately malformed packets.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for authorized packet crafting and capture, pcap analysis, protocol-field extraction, SYN scans, DNS review, and network-anomaly detection.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/youngmaidainon/agent-level-up/analyzing-network-packets-with-scapy
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Youngmaidainon/Agent-Level-Up --skill analyzing-network-packets-with-scapy
Clone the repo
git clone --depth 1 https://github.com/Youngmaidainon/Agent-Level-Up

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for analyzing-network-packets-with-scapy

README.md
[![agentmods](https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/analyzing-network-packets-with-scapy.svg)](https://agentmods.dev/skills/youngmaidainon/agent-level-up/analyzing-network-packets-with-scapy)
Your own site
<a href="https://agentmods.dev/skills/youngmaidainon/agent-level-up/analyzing-network-packets-with-scapy"><img src="https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/analyzing-network-packets-with-scapy.svg" alt="Measured on agentmods" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 559 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.00559
Opus 5 $0.00037 $0.00280
Sonnet 5 $0.00015 $0.00112
Haiku 4.5 $0.00007 $0.00056

Measured 8d ago against content hash 7a3a71279903, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

analyzing-network-packets-with-scapy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/agent.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to analyzing-network-packets-with-scapy — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

cyber-security/ctf/analyzing-network-packets-with-scapy/SKILL.md · 62 lines

What it actually says

Analyzing Network Packets with Scapy

Overview

Scapy is a Python packet manipulation library that enables crafting, sending, sniffing, and dissecting network packets at granular protocol layers. This skill covers using Scapy for security-relevant tasks including TCP/UDP/ICMP packet crafting, pcap file analysis, protocol field extraction, SYN scan implementation, DNS query analysis, and detecting anomalous traffic patterns such as unusually fragmented packets or malformed headers.

When to Use

  • When investigating security incidents that require analyzing network packets with scapy
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Python 3.8+ with scapy library installed (pip install scapy)
  • Root/administrator privileges for raw socket operations (sniffing, sending)
  • Npcap (Windows) or libpcap (Linux) for packet capture
  • Authorization to perform packet operations on target network

Steps

  1. Read and parse pcap/pcapng files with rdpcap() for offline analysis
  2. Extract protocol layers (IP, TCP, UDP, DNS, HTTP) and field values
  3. Compute traffic statistics: top talkers, protocol distribution, port frequency
  4. Detect SYN flood patterns by analyzing TCP flag ratios
  5. Identify DNS exfiltration indicators via query length and entropy analysis
  6. Craft custom probe packets for authorized network testing
  7. Export findings as structured JSON report

Expected Output

JSON report containing packet statistics, protocol distribution, top source/destination IPs, detected anomalies (SYN floods, DNS tunneling indicators, fragmentation attacks), and per-flow summaries.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 62 lines · 75 tokens per session scan A 7a3a71279903

Subscribe to this mod's changes

analyzing-network-packets-with-scapy is a skill published in the GitHub repository Youngmaidainon/Agent-Level-Up (3 stars, last pushed 13d ago), licensed MIT. It adds 75 tokens to every session and 559 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to analyzing-network-packets-with-scapy, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

analyzing-network-packets-with-scapy

Craft, send, sniff, and dissect network packets using Scapy for protocol analysis, network reconnaissance, and traffic anomaly detection in authorized security testing.

marysatasselshaped667/skills-collection-1 · 39 tokens

analyzing-network-packets-with-scapy

Use Scapy to craft, send, sniff, and dissect TCP/UDP/ICMP/DNS packets, analyze pcap files, implement SYN scans, and detect anomalous traffic such as fragmented or malformed packets. Use when performing authorized network reconnaissance, protocol-level forensic analysis, or building traffic anomaly detection during…

mukul975/Anthropic-Cybersecurity-Skills · 75 tokens

analyzing-network-packets-with-scapy

Craft, send, sniff, and dissect network packets using Scapy for protocol analysis, network reconnaissance, and traffic anomaly detection in authorized security testing.

autohandai/community-skills · 39 tokens

analyzing-network-packets-with-scapy

A guide to using Scapy, a Python library for creating, capturing, reading, and examining network packets. Packets are the small units of data sent between computers over a network.

killvxk/cybersecurity-skills-zh · 55 tokens

analyzing-network-packets-with-scapy

Craft, send, sniff, and dissect network packets using Scapy for protocol analysis, network reconnaissance, and traffic anomaly detection in authorized security testing.

26zl/cybersec-toolkit · 39 tokens

analyzing-network-packets-with-scapy

Craft, send, sniff, and dissect network packets using Scapy for protocol analysis, network reconnaissance, and traffic anomaly detection in authorized security testing.

pinkpixel-dev/skills-collection-1 · 39 tokens