esp-pio-handling

Fail

Audited by Gen Agent Trust Hub on Apr 11, 2026

Risk Level: HIGHCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill requires administrative privileges to modify system configuration. It instructs the user to run 'sudo python3 .claude/skills/esp-pio-handling/discover-workbench.py --hosts' to update the system-wide '/etc/hosts' file. Modifying system files with 'sudo' is a high-risk operation that can lead to privilege escalation or persistence.
  • [COMMAND_EXECUTION]: The skill suggests modifying system groups with 'sudo usermod -a -G dialout $USER' to grant serial port access. While common in embedded development, this involves administrative changes to the user's security permissions.
  • [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection via the 'discover-workbench.py' script.
  • Ingestion points: The script 'discover-workbench.py' listens for UDP packets on port 5888 from any host on the local /24 subnet (determined via reading '/etc/resolv.conf').
  • Boundary markers: Absent. The script does not validate the sender's identity or the integrity of the received data.
  • Capability inventory: The script 'discover-workbench.py' has the capability to write arbitrary entries to the system-wide '/etc/hosts' file if executed with administrative privileges.
  • Sanitization: Absent. The script decodes and parses JSON data directly from network packets and uses the 'hostname' and 'ip' fields to construct system configuration entries without validation or escaping. A malicious device could provide crafted hostnames or IPs to redirect traffic or inject malicious entries into the hosts file.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Apr 11, 2026, 07:30 AM