flash-openocd
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/openocd_flasher.pyusessubprocess.runto interact with theopenocdbinary for firmware flashing, hardware reset, and probe detection. The implementation correctly passes arguments as a list rather than a shell string, preventing standard command injection attacks. - [INDIRECT_PROMPT_INJECTION]: The skill includes functionality to scan the local workspace for configuration clues, such as reading
.vscode/launch.jsonand searching foropenocd*.cfgfiles. This is intended to automate the setup process for developers but constitutes an indirect ingestion surface for project-level data. - Ingestion points: The
scan_openocd_configsfunction inscripts/openocd_flasher.pyreads and parses.vscode/launch.jsonand directory structures. - Boundary markers: None present; the script trusts the structure of the local configuration files.
- Capability inventory: The skill has the capability to execute the
openocdbinary with parameters derived from scanned files. - Sanitization: Paths and configuration strings extracted from the workspace are used strictly as command-line arguments in a list format, which avoids shell interpretation and limits the risk to providing incorrect tool configurations.
Audit Metadata