Dashboardopencode-loreGateway fail-closed privacy, sanitizati…

Gateway fail-closed privacy, sanitization, and cleanup

Category: preference
Confidence: 1.00
ID: 01a0b394-5525-737e-954c-cc0b1937572d
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 2
Source session: 0fNAMQhum3Eh6fISO
Created: 2026-08-24 08:53:05
Updated: 2026-09-18 08:13:57

Cross-Project Recalls

ProjectHitsLast recalled
cli 1 8d ago
opencode 1 9d ago

Content

Treat provider-controlled data as untrusted. Upstream, malformed-input, and provisional-identity failures expose only canonical { type: "server_error", message: "Gateway request failed" }, upstream status, and bounded allowlisted retry metadata. Never relay, log, persist, callback, or attach to telemetry upstream bodies, status text, URLs, credentials, request content, arbitrary extensions, parser errors, malformed successful text, or private diagnostics. Public projections must be field-by-field and derived from trusted identity plus validated lifecycle state; unsuccessful callbacks contain only trusted identity, validated usage, and empty output. Before identity proof and durable commit, resolution content remains private. Read diagnostic bodies only under a bounded timeout, then cancel or release readers. Cleanup and telemetry must preserve already-emitted identity, settle exactly once, and never replace the original error.

Move to: