skills/mukul975/anthropic-cybersecurity-skills/conducting-man-in-the-middle-attack-simulation/Gen Agent Trust Hub
conducting-man-in-the-middle-attack-simulation
Warn
Audited by Gen Agent Trust Hub on Mar 15, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill requires and extensively utilizes
sudofor high-privilege operations, including modifying kernel parameters viasysctland manipulating network routing rules withiptables. - [COMMAND_EXECUTION]: The workflow involves the execution of powerful network attack tools such as
bettercap,mitmproxy, andettercapto perform ARP, DHCP, and DNS spoofing. - [COMMAND_EXECUTION]: The
agent.pyscript uses thescapylibrary to craft and send raw ARP packets, which is a core technique for network traffic redirection. - [DATA_EXFILTRATION]: The skill includes instructions to intercept and log sensitive information, such as authentication cookies and POST request data (credentials/forms), to local log files (
captured_forms.log,captured_cookies.log). - [COMMAND_EXECUTION]: The skill demonstrates local script generation and execution by writing Python logic to
extract_creds.pywhich is then executed as a plugin formitmproxy. - [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface as it ingests untrusted network data (sniffing) which is processed and logged without explicit sanitization or validation.
Audit Metadata