esp-idf-handling

Warn

Audited by Gen Agent Trust Hub on Nov 13, 2026

Risk Level: MEDIUMPRIVILEGE_ESCALATIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [PRIVILEGE_ESCALATION]: The skill uses sudo to execute a discovery script (discover-testbench.py --hosts) that modifies the /etc/hosts system file. It also provides instructions to use sudo usermod for serial port permissions.
  • [CREDENTIALS_UNSAFE]: The instructions source /run/secrets/env to obtain credentials for the GitHub CLI (gh). This file is a sensitive system path containing environment-level secrets.
  • [EXTERNAL_DOWNLOADS]: The skill downloads firmware artifacts and releases from GitHub repositories using the gh command-line tool.
  • [COMMAND_EXECUTION]: The skill executes multiple high-privilege shell commands, including ssh and scp for remote flashing, and idf.py for project building and hardware interaction.
  • [INDIRECT_PROMPT_INJECTION]: The skill presents an attack surface for indirect prompt injection:
  • Ingestion points: Processes external data from testbench API responses (curl $TESTBENCH_URL/api/info) and network-based UDP beacon responses in the discover-testbench.py script. It also extracts metadata from binary firmware files using strings.
  • Boundary markers: Absent. Data from these external sources is used without sanitization or explicit delimiters.
  • Capability inventory: The skill can perform system file writes, network exfiltration (via curl, ssh), and system-level configuration changes (sudo).
  • Sanitization: No sanitization or validation of external responses is performed before the data is used in commands or logic.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 13, 2026, 10:01 PM