Skip to content

Commit de6b604

Browse files
committed
cache RemoteFlowSource
1 parent 86bc7d3 commit de6b604

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

javascript/ql/src/semmle/javascript/security/dataflow/RemoteFlowSources.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ import semmle.javascript.frameworks.HTTP
77
import semmle.javascript.security.dataflow.DOM
88

99
/** A data flow source of remote user input. */
10+
cached
1011
abstract class RemoteFlowSource extends DataFlow::Node {
1112
/** Gets a string that describes the type of this remote flow source. */
13+
cached
1214
abstract string getSourceType();
1315

1416
/**
1517
* Holds if this can be a user-controlled object, such as a JSON object parsed from user-controlled data.
1618
*/
19+
cached
1720
predicate isUserControlledObject() { none() }
1821
}
1922

0 commit comments

Comments
 (0)