-
Notifications
You must be signed in to change notification settings - Fork 11
Hardening pass: input validation, origin checks, and default-safe field behaviour — main (v3-alpha) #735
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
Closed
Closed
Hardening pass: input validation, origin checks, and default-safe field behaviour — main (v3-alpha) #735
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
184acb2
[MOL-22453][SX][asgard-0001] Fix CI script injection in trigger-gitla…
3e87a1c
[MOL-22453][SX][asgard-0002] Fix sanitize-html allowedAttributes:fals…
d061dff
[MOL-22453][SX][asgard-0003] Fix sanitize-html allowedAttributes:fals…
f84e766
[MOL-22453][SX][asgard-0006] Fix sanitize-html allowedAttributes:fals…
7fca2d6
[MOL-22453][SX][asgard-0005] Restrict ButtonField link URLs to a sche…
4b2a947
[MOL-22453][SX][asgard-0007] Enforce postMessage origin check on Ifra…
d24f592
[MOL-22453][SX][asgard-0008] Escape user search query before compilin…
6792ebb
[MOL-22453][SX] Bump sanitize-html 2.17.5 -> 2.17.7
061d531
[MOL-22453][SX] Allow Jest to transform sanitize-html's ESM-only depe…
674abdd
[MOL-22453][SX][asgard-0004] Harden local Playwright server container…
04d5f73
[MOL-22453][SX][asgard-0013] Restrict FileUpload prefill fileUrl to a…
9bb2170
[MOL-22453][SX][asgard-0014] Stop trusting caller-supplied file metad…
ef7255f
[MOL-22453][SX][asgard-0015] Document that OTP verified state is clie…
b2ce51f
[MOL-22453][SX][asgard-0009] Bound input length before testing schema…
7e0100e
[MOL-22453][SX] Fix notMatches condition: crash on malformed regex + …
b0e82a6
[MOL-22453][SX] Bound input length before testing filenameMatches pat…
db09394
[MOL-22453][SX] Use shared RegexHelper for maskRegex parsing in Maske…
d0f9cb0
[MOL-22453][SX][asgard-0011] Strip @import/url() from locationModalSt…
3de74f4
[MOL-22453][SX][asgard-0012] Strip @import/url() from imageReviewModa…
5012191
[MOL-22453][SX] Bound MaskedField keystroke input length as a partial…
c835f7e
[MOL-22453][SX] Fix matches rule silently blocking ImageUpload submis…
74168e1
[MOL-22453][SX] Use printf+awk to extract commit message first line, …
ced4acd
[MOL-22453][SX] Fix Iframe postMessage origin check failing open for …
3aae54a
[MOL-22453][SX] Clamp MaskedField value length, not just the maxLengt…
6a091de
[MOL-22453][SX] Add regression test documenting the ReDoS bound's rea…
d687d9b
[MOL-22453][SX] Clamp MaskedField at render time and reject oversized…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| services: | ||
| playwright-tests: | ||
| build: . | ||
| network_mode: "host" | ||
| ports: | ||
| - "127.0.0.1:3010:3010" | ||
| extra_hosts: | ||
| - "host.docker.internal:host-gateway" | ||
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.