skills/mukul975/anthropic-cybersecurity-skills/performing-packet-injection-attack/Gen Agent Trust Hub
performing-packet-injection-attack
Fail
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: HIGHPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The skill documentation and functional scripts require elevated permissions to operate. Specifically, the workflow in
SKILL.mdusessudo hping3for network probing, and the Scapy library utilized inscripts/agent.pyrequires root/sudo access to open raw sockets for packet injection. - [COMMAND_EXECUTION]: The skill facilitates the execution of high-risk network commands. This includes TCP RST injection to terminate connections, SYN flooding, and the generation of malformed packets (XMAS, NULL, Land attacks) using both CLI tools (
hping3) and Scapy functions (send,sr1). - [INDIRECT_PROMPT_INJECTION]: The skill implements a network monitoring capability via Scapy's
snifffunction inSKILL.md, which represents an ingestion point for untrusted external data that can influence agent actions. - Ingestion points: The
sniff(filter="tcp and host 10.10.20.10", prn=rst_inject, ...)command inSKILL.md(Step 3). - Boundary markers: None present to distinguish between legitimate and malicious packet headers.
- Capability inventory: Shell execution via
sudo hping3, raw socket packet generation, and sniffing capabilities. - Sanitization: No sanitization or validation of the captured packet data (IP addresses and TCP sequence numbers) is performed before it is used to construct and inject response packets.
Recommendations
- AI detected serious security threats
Audit Metadata