embedded-debug-optimization
Pass
Audited by Gen Agent Trust Hub on Nov 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local binaries on the host to perform firmware analysis. This includes running
addr2linevia the provided Python script and instructions for usingGDB,OpenOCD, andobjdumpfor hardware debugging and binary inspection. - [INDIRECT_PROMPT_INJECTION]: The
decode_crash.pyscript processes untrusted data from external log files to extract debugging information. - Ingestion points: Crash log files provided via the
--logparameter inscripts/decode_crash.py. - Boundary markers: Absent; the script reads the entire file content for processing.
- Capability inventory: Execution of local binaries (
addr2line) viasubprocess.runinscripts/decode_crash.py, and shell commands forGDB/OpenOCDdocumented inreferences/gdb-openocd-cheatsheet.md. - Sanitization: The script uses strict regular expressions (e.g.,
0x[0-9a-fA-F]+) to extract only hexadecimal addresses, ensuring that only expected patterns are passed as arguments to the underlying tools.
Audit Metadata