dspy-optimization
Warn
Audited by Snyk on Jun 20, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.85). The required runtime path is
scripts/optimize-dspy.py -> load_examples(examples_file)which ingests JSONL lines from a user-supplied--examplesfile (outsider-authored free text) intotrainset=examples, and DSPy then uses those example fields as LLM-readable prompts/demonstrations duringteleprompter.compile(...).
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata