dspy

Pass

Audited by Gen Agent Trust Hub on Sep 27, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill documents building RAG (Retrieval-Augmented Generation) systems and agents that ingest untrusted user input to drive search logic and tool selection.
  • Ingestion points: User-controlled variables like question and message flow into modules such as BasicRAG and CustomerSupportBot (as seen in references/examples.md).
  • Boundary markers: The provided examples do not demonstrate explicit boundary markers or instruction-bypass warnings for external data interpolation.
  • Capability inventory: The skill documents capabilities such as Wikipedia search and mathematical calculation tools, alongside dynamic code execution via ProgramOfThought (found in references/modules.md).
  • Sanitization: The code snippets do not implement specific sanitization or filtering logic for external input before it is processed by the language model.
  • [DYNAMIC_EXECUTION]: The skill features examples of dynamic code generation and execution as part of the library's reasoning capabilities.
  • Evidence: The dspy.ProgramOfThought module (documented in references/modules.md) generates and executes Python code for reasoning tasks. Additionally, the calculate tool examples in references/examples.md and references/modules.md use eval() to process mathematical expressions.
  • [EXTERNAL_DOWNLOADS]: The skill provides installation instructions that reference the official repository for the DSPy framework.
  • Evidence: SKILL.md includes commands to install the package from https://github.com/stanfordnlp/dspy.git, the official repository for this well-known research project.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 27, 2026, 04:36 AM