matching-decomp
Pass
Audited by Gen Agent Trust Hub on Nov 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_CONTEXT_INJECTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/dk.pyexecutes various shell commands to facilitate the decompilation workflow. This includes running compilers, assemblers, object dumpers, and git commands. It also supports execution of user-defined 'hooks' and 'blocks' specified in the project'sdecomp.tomlconfiguration file. - Evidence:
subprocess.runcalls inscripts/dk.pyforcc,as,git, and hooks. - [DYNAMIC_CONTEXT_INJECTION]: The skill includes configuration templates for AI agent platforms (Claude Code, Codex, OpenCode) that automatically execute
dk statewhen a session starts or resumes. This is used to provide the agent with the current project status and pending tasks automatically. - Evidence:
templates/claude-settings.json,templates/codex/hooks.json, andtemplates/opencode/plugins/dk-state.jsall contain hooks to runpython3 tools/dk.py state. - [INDIRECT_PROMPT_INJECTION]: The skill's primary function involves agents reading and processing assembly code and C source files from the project directory. While this provides an attack surface where maliciously crafted code could attempt to influence the agent's behavior, the skill includes clear instructions for agents to restrict their edits to specific markers (
INCLUDE_ASM) and follows standard development tool patterns. - Ingestion points:
scripts/dk.pyreads.sand.cfiles; workers readdocs/worklog/*.mdanddocs/decomp_guide.md. - Boundary markers: The
Worker protocol(templates/agent_protocol.md) explicitly instructs agents to replace only specificINCLUDE_ASMlines and avoid touching neighboring lines. - Capability inventory: The skill can execute git commands and local toolchain binaries (compiler, assembler) via
dk.py. - Sanitization:
scripts/dk.pyusesshlex.splitfor command line parsing to mitigate argument injection.
Audit Metadata