esp32-test-harness

Fail

Audited by Gen Agent Trust Hub on Apr 11, 2026

Risk Level: HIGHCREDENTIALS_UNSAFECOMMAND_EXECUTIONDATA_EXFILTRATIONREMOTE_CODE_EXECUTION
Full Analysis
  • [CREDENTIALS_UNSAFE]: Hardcoded MQTT credentials (username: 'admin', password: 'admin') are provided for the broker at 192.168.4.1:1883 in SKILL.md.
  • [COMMAND_EXECUTION]: Instructions in SKILL.md direct the agent to execute shell commands with elevated privileges ('sudo systemctl') via SSH on a remote host (192.168.0.87).
  • [COMMAND_EXECUTION]: The skill uses 'subprocess.run' to execute 'esptool' with arguments, including device URLs discovered at runtime, which could be exploited if slot discovery is manipulated.
  • [DATA_EXFILTRATION]: The skill performs numerous network operations (SSH, curl, and internal HTTP relay) to interact with infrastructure on the 192.168.0.x and 192.168.4.x networks, creating a surface for internal network scanning or data transfer.
  • [REMOTE_CODE_EXECUTION]: The skill dynamically loads Python modules by modifying 'sys.path' to include a directory in '/tmp/'. This allows the agent to execute code from a temporary, potentially untrusted or world-writable location.
  • [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it instructs the agent to monitor and act upon serial output from the Device Under Test (DUT). An attacker-controlled device could output specific markers (e.g., 'CAPTIVE PORTAL MODE TRIGGERED') to influence the agent's logic flow.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Apr 11, 2026, 07:29 AM