Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
huixiangdou/service/retriever.py: 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: The lack of consistent authentication enforcement on QA library and chat API endpoints allowed unauthorized access to sensitive application functionality. Using FastAPI dependencies to uniformly enforce token checks is critical.
Deserialization of Untrusted Data: Enabling dangerous pickle deserialization when loading local vector stores exposes the service to arbitrary code execution if an attacker can manipulate or upload vector store files.
Auth Bypass: Accidental removal of security or authentication restrictions from the web proxy module leaves downstream LLM and feature store services exposed to direct access.