diagnose
Pass
Audited by Gen Agent Trust Hub on Nov 6, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runacross several scripts (scripts/_skill_protocol_runtime.py,scripts/diagnosis_workspace.py, andscripts/diagnosis_bundle.py) to executegitand its own internal Python scripts. These operations are used for repository analysis and workspace setup and are strictly confined to the target repository and declared workspace directories. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the target repository, such as source code and history. To mitigate injection risks, it includes specific defensive instructions in
references/delegation-protocol.mdthat command the agent to treat repository content as untrusted and to ignore any instructions found within it. - [DYNAMIC_EXECUTION]: The skill utilizes
importlib.import_moduleinscripts/_skill_protocol_runtime.pyand implements a directory traversal search for its runtime inscripts/cli.py. These are legitimate uses for modular code loading within the skill's own package structure.
Audit Metadata