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
sudoto execute a discovery script (discover-testbench.py --hosts) that modifies the/etc/hostssystem file. It also provides instructions to usesudo usermodfor serial port permissions. - [CREDENTIALS_UNSAFE]: The instructions source
/run/secrets/envto 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
ghcommand-line tool. - [COMMAND_EXECUTION]: The skill executes multiple high-privilege shell commands, including
sshandscpfor remote flashing, andidf.pyfor 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 thediscover-testbench.pyscript. It also extracts metadata from binary firmware files usingstrings. - 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