diff --git a/javascript/ql/lib/semmle/javascript/security/dataflow/RemoteFlowSources.qll b/javascript/ql/lib/semmle/javascript/security/dataflow/RemoteFlowSources.qll index bb60b5bc23e..44b5316754a 100644 --- a/javascript/ql/lib/semmle/javascript/security/dataflow/RemoteFlowSources.qll +++ b/javascript/ql/lib/semmle/javascript/security/dataflow/RemoteFlowSources.qll @@ -177,3 +177,12 @@ private class ExternalRemoteFlowSource extends RemoteFlowSource { override string getSourceType() { result = ap.getSourceType() } } + +/** + * A response from an outgoing network request. + */ +private class ResponseSource extends RemoteFlowSource { + ResponseSource() { this = any(ClientRequest r).getAResponseDataNode() } + + override string getSourceType() { result = "a response from a remote server" } +}