You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
改动点:litellm/proxy/hooks/responses_id_security.py 原本已对 aresponses(previous_response_id)以及 aget/adelete/acancel_responses、alist_input_items(response_id)做归属校验,此次把 /v1/responses/compact 的 previous_response_id 也纳入同一张表;代理未签发的 ID 默认拒绝("This response id was not issued by this proxy"),并补了跨租户 / 管理员 / 畸形 / 重复 ID、上游故障、进程重启等集成测试
用户 B 只要拿到用户 A 的 resp_…(日志、截图、分享的 curl、客户端缓存、错误回显等泄露途径),就可能通过 previous_response_id 续接 A 的对话上下文(让模型复述历史即可读出内容),或调用 GET/DELETE /v1/responses/{id}、/input_items、/cancel 操作别人的响应
Activity
LIghtJUNction commentedon Nov 14, 2026
当前 Rust 主线已交付本 issue 的 Responses ID 租户归属边界,固定实现提交为
0067db4a3f086f458f8c3a86ba9c4da216cd815d,当前配方固定源码为e5002ecabc0f08b27d92608a3271d1c3f74d6270。resp_lmm_…本地句柄;previous_response_id通过持久化映射恢复原上游 ID,不再把未归属 ID 直接透传。responses_continuity_independent.rs、responses_continuity_review_independent.rs和responses_websocket_tests.rs。本关闭仅针对该租户隔离问题;生产部署、完整旧行为等价与整站验收仍按
docs/progress.md单独跟踪。