effect-ai-decision-model

Pass

Audited by Gen Agent Trust Hub on Nov 14, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADS
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill implements a framework for passing instructions and criteria to AI models for classification and rating. While this is the primary functionality, it creates an ingestion surface for indirect prompt injection.
  • Ingestion points: The instructions and criteria fields within Decision.classify, Decision.rate, and Decision.probability constructors (SKILL.md).
  • Boundary markers: No specific delimiters or instructions to ignore embedded commands are shown in the implementation examples.
  • Capability inventory: Execution of network requests to external AI providers (TypeSafe, OpenAI, etc.) via DecisionModel.decide (SKILL.md).
  • Sanitization: Uses Schema.decodeUnknownEffect for structural validation of inputs, but the instructions provided to the LLM are processed as raw strings or JSON.
  • [DATA_EXFILTRATION]: The documentation identifies a risk where AiError.NetworkError could potentially contain unredacted HTTP client error details in its cause field.
  • Evidence: The skill specifically instructs users to inspect these error objects before logging to prevent the accidental exposure of sensitive network information (SKILL.md).
  • [EXTERNAL_DOWNLOADS]: The skill references the installation of standard packages from the Effect ecosystem and calls official AI provider endpoints.
  • Evidence: Mentions @effect/ai-typesafe, @effect/ai-openai, and endpoints like https://api.typesafe.ai/v1 (SKILL.md, openrouter.md).
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 14, 2026, 02:43 PM