mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
15 lines
423 B
Plaintext
15 lines
423 B
Plaintext
import javascript
|
|
import testUtilities.ConsistencyChecking
|
|
import semmle.javascript.security.dataflow.XssThroughDomQuery
|
|
|
|
class ConsistencyConfig extends ConsistencyConfiguration {
|
|
ConsistencyConfig() { this = "ConsistencyConfig" }
|
|
|
|
override DataFlow::Node getAnAlert() {
|
|
exists(DataFlow::Node source |
|
|
XssThroughDomFlow::flow(source, result) and
|
|
not isIgnoredSourceSinkPair(source, result)
|
|
)
|
|
}
|
|
}
|