-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add client-response
Threat Model and update JS ClientsRequests
#19656
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
category: minorAnalysis | ||
--- | ||
* Added support for ClientRequest being part of the `client-response` threat model versus part of `response` threat model. | ||
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -947,7 +947,7 @@ module ClientRequest { | |||||
private class ClientRequestThreatModel extends ThreatModelSource::Range { | ||||||
ClientRequestThreatModel() { this = any(ClientRequest r).getAResponseDataNode() } | ||||||
|
||||||
override string getThreatModel() { result = "response" } | ||||||
override string getThreatModel() { result = "client-response" } | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
To be forward compatible with the planned solution. I'll open a PR to make this a bit more accurate. |
||||||
|
||||||
override string getSourceType() { result = "HTTP response data" } | ||||||
} | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
category: minorAnalysis | ||
--- | ||
* Add support for `client-response` threat model. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think we need change notes for qlpacks |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -18,6 +18,8 @@ extensions: | |||||
- ["stdin", "local"] | ||||||
- ["file", "local"] | ||||||
- ["windows-registry", "local"] | ||||||
# Client-side threat models for request responses. | ||||||
- ["client-response", "local"] | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
# Android threat models | ||||||
- ["android-external-storage-dir", "android"] | ||||||
|
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.
I'd try to use a change note that's easier to understand for external users.