deciding-with-confidence
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/decide.pyscript usessubprocess.runto invoke theclaudeCLI. This is a legitimate transport mechanism used to interact with the LLM via a command-line interface when API keys are not directly provided. The implementation uses a list of arguments and passes input via stdin, which is a safe pattern. - [DATA_EXPOSURE]: The skill can read session transcripts and local files to provide evidence for the decision model. This is a primary feature of the skill. To mitigate risk, it includes a
scrubfunction inscripts/decide.pythat redacts common secret patterns (such as GitHub tokens, AWS keys, and environment variables) before data is sent to the LLM provider. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted text input to perform classification.
- Ingestion points: Untrusted data enters the agent context via
input,input_file, andinput_transcriptparameters processed inscripts/decide.py. - Boundary markers: The
sample_promptfunction uses XML-style tags (<evidence>,<question>,<approach>) to delimit untrusted data from instructions. - Capability inventory: The skill possesses capabilities for shell command execution (via
claudeCLI) and network operations (viaanthropicSDK or Bedrock). - Sanitization: The skill implements a
scrubfunction to redact credentials and uses strict system instructions to prevent the model from generating prose or reasoning, enforcing a structured JSON-only output format.
Audit Metadata