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.py constructs shell commands for tshark using string f-strings and executes them with shell=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 in scripts/agent.py via extract_http_requests, extract_dns_queries, and extract_tls_info functions 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
Risk Level
MEDIUM
Analyzed
Nov 6, 2026, 08:57 AM