Dashboardopencode-lorepostResponseForTenant warmer endpoint t…

postResponseForTenant warmer endpoint trust

Category: gotcha
Confidence: 1.00
ID: 01a0a9ac-d4a3-7905-94c2-77c9d04de384
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 1DKDnv38SfAHApb7w
Created: 2026-09-14 17:27:18
Updated: 2026-09-16 10:04:31

Content

Trap: authorizing cache warming from protocol alone looks safe, but Anthropic-compatible sessions may use foreign origins—MiniMax reports anthropic while using api.minimax.io—and cached bodies intentionally retain no admin credentials. Fix: bind warming to the trusted normalized upstream origin and clear the cached body when extraHeadersForUpstream() finds no matching trusted headers; never fall back to api.anthropic.com for a foreign host.

Move to: