-
Notifications
You must be signed in to change notification settings - Fork 3
fix: address spec hygiene issues from security review #135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Sven-NOM
wants to merge
15
commits into
staging
Choose a base branch
from
sven/linkfixes
base: staging
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
chaals
approved these changes
Jan 16, 2026
Collaborator
chaals
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All this looks good (NB I didn't verify that you downloaded respec correctly)
vendored scripts & links typos
Co-authored-by: Amp <[email protected]> Amp-Thread-ID: https://ampcode.com/threads/T-019c2432-3307-7101-b685-aab98de24ae9
0ff8cea to
f6f018d
Compare
Amp-Thread-ID: https://ampcode.com/threads/T-019c2432-3307-7101-b685-aab98de24ae9 Co-authored-by: Amp <[email protected]>
Co-authored-by: Amp <[email protected]> Amp-Thread-ID: https://ampcode.com/threads/T-019c2432-3307-7101-b685-aab98de24ae9
- Modified respec-w3c-35.6.1.js to load fixup.js from local vendor path - Updated CSP to allow W3C stylesheets (safe, non-executable) while keeping all JS vendored - Updated checksums and documentation for all modifications Amp-Thread-ID: https://ampcode.com/threads/T-019c2432-3307-7101-b685-aab98de24ae9 Co-authored-by: Amp <[email protected]>
- Update CSP to whitelist W3C scripts (https://www.w3.org/scripts/) - Simplify respec modifications to single string replacement (respec-highlight.js) - Remove vendored fixup.js (loads from W3C CDN, CSP-whitelisted) - Update CHECKSUMS.md with verification instructions Security model: - respec-w3c-35.6.1.js: vendored locally, 1 documented modification - respec-highlight.js: vendored locally, loaded via Web Worker - axe.min.js: vendored locally, checksum verified - fixup.js: W3C CDN with CSP domain whitelist (SRI not possible due to CORS)
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
This PR addresses multiple issues identified during a security/quality review of the spec:
Changes
Risk reference fixes (#130, #134)
DOM construction hygiene (#131)
Vendored respec (#132)
vendor/Automated validation (#133)
.github/workflows/validate-risk-refs.ymlscripts/validate-risk-refs.shTest plan
./scripts/validate-risk-refs.shlocally - passesCloses #130, closes #131, closes #132, closes #133, closes #134