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.py script uses subprocess.run to invoke the claude CLI. 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 scrub function in scripts/decide.py that 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, and input_transcript parameters processed in scripts/decide.py.
  • Boundary markers: The sample_prompt function uses XML-style tags (<evidence>, <question>, <approach>) to delimit untrusted data from instructions.
  • Capability inventory: The skill possesses capabilities for shell command execution (via claude CLI) and network operations (via anthropic SDK or Bedrock).
  • Sanitization: The skill implements a scrub function 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
Risk Level
SAFE
Analyzed
Nov 18, 2026, 11:17 AM