mirror of
https://github.com/trailofbits/buttercup
synced 2026-06-21 14:11:39 +00:00
385ea5ce93
* build(deps): update langchain ecosystem and transitive dependencies Upgrade dependencies across all components: - langchain-core: 0.3.x -> 1.2.21 - langgraph: 0.6.x -> 1.0.10+ - langgraph-checkpoint: 3.x -> 4.0.1 - langchain: 0.3.x -> 1.2.x, langchain-openai: 0.3.x -> 1.1.x, langchain-community: 0.3.x -> 0.4.x (ecosystem alignment) - langfuse: 2.59.x -> 4.0.1 (compat with langchain 1.x) - openlit: 1.36.x -> 1.38.x (remove langgraph ToolNode workaround) - pydantic-settings: 2.7.x -> 2.10.x (langchain-community requirement) - openai: 1.100.x -> 1.109.x (langchain-openai requirement) - orjson: 3.11.5 -> 3.11.7 - PyJWT: 2.10.1 -> 2.12.1 - pyasn1: 0.6.2 -> 0.6.3 Code changes for langchain 1.x compatibility: - common/llm.py: update imports for langchain-core and langfuse 4.x - seed-gen/task.py: update langchain.prompts -> langchain_core.prompts - Move langfuse to common[full] optional deps to avoid protobuf conflict with clusterfuzz in fuzzer_runner Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(ci): fix import sorting and ignore unfixed pygments CVE - Sort imports in seed-gen/task.py to satisfy ruff I001 - Add CVE-2026-4539 (pygments ReDoS, no fix available) to pip-audit ignore list in CI workflow Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(ci): remove stale pip-audit ignores for orjson and protobuf CVE-2025-67221 (orjson) and CVE-2026-0994 (protobuf) are fixed in the versions now pinned in our lockfiles (orjson 3.11.7, protobuf 6.33.5). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * refactor: move langfuse import to top level in llm.py Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Program Model
Indexes a program's source code to be queried by seed-gen and patcher.
Dependencies
Quick Test
uv run pytest -svv
Development
Before committing changes to this directory: reformat, lint, and ensure all tests pass.
make all