mirror of
https://github.com/Sea-Haven-Industries/procurement-ingest.git
synced 2026-10-07 16:08:54 +00:00
The escaping regression lock asserted only the element-context vector (raw <script> absent, <script> present) while its docstring claimed quotes were covered -- the payload's " and ' were never asserted on, so a quote-escaping regression on the onclick row-link sink (attribute breakout -> event-handler injection) would have passed green. /sh-security-review finding WC-01 (confirmed medium, test-integrity). Add assertions that the onclick sink's JSON string renders its opening quote as " (raw " after window.location= fails), that the payload's quote characters appear only entity-escaped, and that the raw payload never appears anywhere in the body. Mutation-verified: the test now fails when the sink's quote-escaping is dropped. |
||
|---|---|---|
| .. | ||
| support | ||
| requirements.txt | ||
| test_bundle_consistency.py | ||
| test_handler_auth_seam.py | ||
| test_parse_raw_email.py | ||
| test_reprocess_contract.py | ||
| test_ses_auth.py | ||
| test_web_ui_auth.py | ||
| test_web_ui_handlers.py | ||