dspy
Pass
Audited by Gen Agent Trust Hub on Apr 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill documents the use of
dspy.ProgramOfThoughtandReActtools, which generate and execute Python code at runtime. Specifically, examples inreferences/modules.mdandreferences/examples.mddemonstrate usingeval()to process mathematical expressions and logic generated by language models. - [PROMPT_INJECTION]: The skill describes building RAG (Retrieval-Augmented Generation) and multi-agent systems in
SKILL.mdandreferences/examples.md. These patterns ingest external data (e.g., from Wikipedia or web searches) into language model prompts without explicit sanitization or boundary markers, creating a surface for indirect prompt injection. - Ingestion points:
dspy.InputField()in signatures across multiple files. - Boundary markers: Absent in the provided code snippets.
- Capability inventory: Includes
eval()via tools and file system operations via.save()and.load()methods. - Sanitization: Not demonstrated in the instructional examples.
Audit Metadata