Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

jetbrains/koog
develop @ a457663
5
Fixes
0
CVEs
HIGH
Peak severity
80.0%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
agents/agents-core/src/commonMain/kotlin/ai/koog/agents/core/agent/session/AIAgentLLMWriteSession.kt: most-fixed (1 issue). Treat as high-risk during review.
3 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.

Auth Bypass: Bedrock moderation guardrails were silently ignored and omitted when translating requests to the underlying AWS Converse API, bypassing intended safety and content filters.
Auth Bypass: Streaming LLM operations could bypass session validation, requiring the introduction of explicit session validation checks prior to triggering streaming API requests.
XXE: The project relied on an insecure version of assertj-core vulnerable to XML External Entity (XXE) injection via its isXmlEqualTo assertion (CVE-2026-24400).