Highlights
Information Disclosure: 2 prior fixes. Scrutinize any change in this area.
deepeval/models/llms/anthropic_model.py: most-fixed (1 issue). Treat as high-risk during review.
0 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Information Disclosure: The Anthropic API key was initialized as a plaintext attribute, exposing it to potential exposure in logs, exception stack traces, and standard model serialization. It was remediated by wrapping the key in a Pydantic SecretStr.
Information Disclosure: The Moonshot/Kimi API key was vulnerable to serialization leaks and accidental exposure through standard output streams. Ensuring the key is wrapped within a SecretStr container prevents direct string interpolation in debug outputs.