[#209/#210] SPEC — SAST New/Overall Code + Quality Gate conditions (Phases 1–2) - #211
Merged
Merged
Conversation
release preview environmentURL: https://dev-release-211.blocksdevelopers.com Namespace: Updated for commit 9400eef. Torn down automatically when this PR closes. |
Add SecurityHeadersMiddleware (CSP, X-Frame-Options DENY, HSTS, X-Content-Type-Options nosniff, Referrer-Policy, Permissions-Policy, Cache-Control). Drop Google Fonts CDN links that triggered SRI Mediums; DM Sans falls back to system-ui already in the font stack. style-src / script-src keep 'unsafe-inline' for Radix and the env bootstrap. Refs #209 #209
rezwanx
marked this pull request as ready for review
September 29, 2026 12:02
|
release preview release |
asifrafeen
added a commit
that referenced
this pull request
Sep 29, 2026
PR #211 (SAST New/Overall Code, #209/#210) also shipped scanner-driven changes that SPEC8 section 8a forbids and that break the UI: - SecurityHeadersMiddleware sent `style-src 'self'`, which blocks the <style> tags Radix/vaul/sonner/cmdk inject (dialogs, dropdowns, toasts, tabs), and hardcoded dev-* hosts in connect-src/form-action, which would break login and API calls on stg/prod. - client/index.html dropped the DM Sans Google Fonts links and added a hidden sr-only nav only to clear ZAP 10109. - The env bootstrap moved out of index.html into a new client/public/runtime-config.js. This restores index.html, Program.cs and Blocks.Genesis.xml to their pre-#211 state and removes the middleware, its test and runtime-config.js. The SAST feature code is untouched. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 1 (#209) + Phase 2 (#210) SAST tab work on
inception.#209 Phase 1
period.valuefallback,Details = null→ Data Processing#210 Phase 2
qualitygates/project_status+ twoissues/search(new/overall facets)TestReport.qualityGate+issueBreakdownPreview
https://dev-release-211.blocksdevelopers.com
Test plan
Refs #209 #210