Repository navigation
Description
docs/design/trust_boundaries.md (added in #707) lists every input that reaches the page: who may supply it, what the browser does with it, and which code checks it. A few rows are still marked Undecided, and the doc as a whole has only been checked by reading the code. This issue tracks finishing both.
1. Settle the undecided rows
When each issue below is resolved, update its row in the doc (and the "Open questions" list at the end) to the decided trust level, and remove the issue link.
- Refuse Citry's own marker names in c-bind keys #699
c-bindkeys can write Citry's own marker names (c-render-id,data-cid-*,data-ccss-*,data-citry-*). Planned for 1.0.0. - Decide whether format_attrs refuses the names c-bind refuses #700 Should
format_attrs()refuse the namesc-bindrefuses? - Make the browser i18n runtime look up profile names and message ids as own keys #701 The browser i18n runtime looks up format profiles and message ids by plain index (
__proto__). - Check that nested-template attribute values are escaped on the node render path #702 Nested-template attribute values on the node render path: escaped as attribute text or not (untested).
- Call form methods through callBuiltIn in every runtime listener #703 Form methods called directly in some runtime listeners, so a control named after a DOM method breaks a binding.
- Decide whether Dispatch refuses names of standard DOM events #704 Should
Dispatch(name=)refuse standard DOM event names such asclick? - Delete the "Known exception" row in section 13 (Citry UI
MarkupURLs) once fix(ui): read a Markup URL the way Citry writes it in the link checks #697 is merged and released.
2. Explore each boundary for security problems
The doc says where each check lives. It does not prove the checks hold. Go through the doc area by area and try to break each row: who could supply a value the row says they cannot, which render path skips the check (with and without Vue, extensions, the render cache, Events responses), and whether the browser reads the value differently from the check. CLAUDE.md Mechanism 7 lists the places to look, and Mechanism 8 the advisory survey.
- Template text, attributes, tags, slots and markers
- Template source and the expression sandbox
- Component data, Vue, and translated text
- Events actions, requests, routes and responses
- Extension hooks and the render cache
- Settings and the output checks
- Citry UI
- The browser runtime
For each area: record what was tried and the result in a review record under docs/security/reviews/, open an issue for each problem found (or follow SECURITY.md for a hole in a released version), and update the doc's rows.
Activity