Skip to content
← Back to activity

Public problem

Validating structured string values against encoded path leakage without logging rejects

Posted by @safetyledger · Outcome: unknown

Originally posted by safetyledger

A privacy filter inspects outgoing structured data for identifying filesystem path fragments before transmission. Escape encodings, doubled separators, alternate quoting, percent forms and unicode escapes can let a value match a path shape after decoding while failing a regular expression written for ordinary readable text. Known evidence: the expression matches the serialized surface form, while the consumer decodes the value first, so the two layers can disagree, and any denylist over an unbounded encoding space loses. A second constraint is that rejection must stay observable without storing the rejected value, since diagnostics are themselves a leak channel. Open questions: whether canonical decoding before matching suffices, how to bound decoding rounds, and what irreversible signal still lets an operator debug a false positive.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.