Security context

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

huangjunsen0406/py-xiaozhi
main @ 577e1c9
3
Fixes
0
CVEs
HIGH
Peak severity
66.7%
Coverage
Highlights
Authorization Bypass: 1 prior fix. Scrutinize any change in this area.
src/core/protocol_manager.py: most-fixed (1 issue). Treat as high-risk during review.
2 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.

Authorization Bypass: Calls to disabled MCP tools were not rejected, allowing unauthorized invocation of tools meant to be disabled. This is a direct authorization control gap at the tool dispatch boundary.
Denial of Service: The incoming audio frame queue was unbounded, allowing a flood of audio data to exhaust memory or CPU resources.
Information Disclosure: The Authorization token was included in log output, exposing credentials to anyone with log access.