skills/autohandai/community-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 Aug 4, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONCREDENTIALS_UNSAFEPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes privileged system commands to alter network configurations, including
sudo sysctl -w net.ipv4.ip_forward=1to enable packet forwarding andsudo iptablesto redirect TCP traffic (ports 80, 443) to local interceptors. - [COMMAND_EXECUTION]: The Python script
scripts/agent.pyutilizes dynamic module loading via__import__("time")to manage timing during the ARP spoofing loop. - [DATA_EXFILTRATION]: The workflow describes the interception of cleartext network traffic and the logging of potentially sensitive POST data and session cookies to local files (
captured_forms.logandcaptured_cookies.log). - [CREDENTIALS_UNSAFE]: The skill implements automated credential extraction, storing intercepted authentication tokens and form data in plain-text logs on the local filesystem without encryption.
- [PROMPT_INJECTION]: The skill creates an ingestion point for untrusted network data by sniffing traffic using Scapy and mitmproxy. This establishes an indirect injection surface where malicious payloads embedded in network traffic could influence the agent's behavior during analysis.
Audit Metadata