flash-idf
Warn
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/idf_flasher.pyscript executes system commands viasubprocess.runto callidf.pyandpowershell. Although it uses list-based arguments to prevent simple shell injection, it invokes external binaries based on environment paths.\n- [PRIVILEGE_ESCALATION]: Documentation inSKILL.mdand logging inscripts/idf_flasher.pyrecommend the user executesudo usermod -aG dialout $USER. This command modifies system-wide group memberships to grant persistent hardware access, which requires administrative privileges.\n- [DYNAMIC_EXECUTION]: The Python scriptscripts/idf_flasher.pydynamically modifiessys.pathat runtime to include localshareddirectories, allowing it to load modules from computed paths.\n- [INDIRECT_PROMPT_INJECTION]: The skill reads and parses local build configuration files (sdkconfig,flasher_args.json). While necessary for operation, this creates a surface where a compromised project workspace could provide unexpected input to the flashing script.\n - Ingestion points:
sdkconfig,flasher_args.json(inscripts/idf_flasher.py)\n - Boundary markers: Absent\n
- Capability inventory: Subprocess execution of
idf.py, file system access, and project profile updates\n - Sanitization: Script uses list-based arguments for subprocess calls, mitigating basic command injection.
Audit Metadata