dspy
1 advisory in the AI Sec Watch database names dspy (PyPI). dspy (PyPI) has declared an LLM component as a dependency since 2024-04-14.
The framework for programming—rather than prompting—language models.
The first release to declare it was version 0.0.1.
Advisories
Advisories that name dspy as affected and state PyPI as its ecosystem. For a version-exact check of your own dependencies, use Stack Check.
| Advisory | Severity | Affected | Fixed in | Fix released | Published |
|---|---|---|---|---|---|
| CVE-2025-12695DSPy sandbox configuration allows arbitrary file read via PythonInterpreter | Medium | <= 3.0.3 | 2025-11-04 |
Dependencies of the latest release
As declared in PyPI metadata for version 3.5.0. Optional extras are listed with their extra name.
- anthropic[anthropic]Anthropic SDK
- datasets[test-extras]FAISS, Hugging Face Hub / Transformers
- gepaLangChain, LiteLLM
- langchain-core[langchain]LangChain
- litellm[litellm]LiteLLM
- mcp[mcp]Model Context Protocol SDK
- openai[openai]OpenAI SDK
- weaviate-client[weaviate]Weaviate
- anyio
- build[dev]
- cachetools
- certifi
- cloudpickle
- datamodel-code-generator[dev]
- deno[deno]
- diskcache
- json-repair
- jsonschema
- numpy[numpy]
- optuna[optuna]
- orjson
- pandas[test-extras]
- pillow[dev]
- pre-commit[dev]
- pydantic
- pytest[dev]
- pytest-asyncio[dev]
- pytest-mock[dev]
- pytest-xdist[dev]
- pyyaml
- regex
- requests
- ruff[dev]
- tenacity[litellm]
- tqdm
- ty[dev]
- virtualenv[dev]
Tracked packages that depend on it
Among the packages in the registry; not every dependent on PyPI.