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
questionandmessageflow into modules such asBasicRAGandCustomerSupportBot(as seen inreferences/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 inreferences/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.ProgramOfThoughtmodule (documented inreferences/modules.md) generates and executes Python code for reasoning tasks. Additionally, thecalculatetool examples inreferences/examples.mdandreferences/modules.mduseeval()to process mathematical expressions. - [EXTERNAL_DOWNLOADS]: The skill provides installation instructions that reference the official repository for the DSPy framework.
- Evidence:
SKILL.mdincludes commands to install the package fromhttps://github.com/stanfordnlp/dspy.git, the official repository for this well-known research project.
Audit Metadata