analyzing-network-traffic-with-wireshark
Warn
Audited by Gen Agent Trust Hub on Nov 6, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The helper script
scripts/agent.pyconstructs shell commands fortsharkusing string f-strings and executes them withshell=True. This implementation is highly susceptible to command injection if parameters such as interface names, capture filters, or display filters are influenced by untrusted input without proper sanitization.- [INDIRECT_PROMPT_INJECTION]: The skill is designed to parse and extract information from raw network traffic, creating a vulnerability surface for malicious instructions embedded in packets. Ingestion points: Data is ingested inscripts/agent.pyviaextract_http_requests,extract_dns_queries, andextract_tls_infofunctions which pull attacker-controlled fields like User-Agent strings and DNS query names. Boundary markers: The skill lacks delimiters or instructions to ignore potential commands embedded in the processed packet data. Capability inventory: The skill possesses significant capabilities including live packet capture, file system writes (object export), and arbitrary shell command execution. Sanitization: No sanitization or validation is performed on the extracted packet fields before they are returned to the agent context.
Audit Metadata