File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
ruby/ql/lib/codeql/ruby/security Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,6 @@ module CleartextLogging {
37
37
*/
38
38
abstract class Sanitizer extends DataFlow:: Node { }
39
39
40
- /**
41
- * A node that receives sanitized sensitive information.
42
- */
43
- abstract class SanitizerIn extends DataFlow:: Node { }
44
-
45
40
/**
46
41
* Holds if `re` may be a regular expression that can be used to sanitize
47
42
* sensitive data with a call to `sub`.
@@ -83,7 +78,7 @@ module CleartextLogging {
83
78
* Logger.new(STDOUT).info password
84
79
* ```
85
80
*/
86
- private class MaskingReplacerSanitizedNode extends SanitizerIn {
81
+ private class MaskingReplacerSanitizedNode extends Sanitizer {
87
82
MaskingReplacerSanitizedNode ( ) {
88
83
exists ( Ssa:: Definition def |
89
84
exists ( MaskingReplacerSanitizer maskCall |
Original file line number Diff line number Diff line change @@ -28,10 +28,6 @@ class Configuration extends TaintTracking::Configuration {
28
28
node instanceof CleartextLogging:: Sanitizer
29
29
}
30
30
31
- override predicate isSanitizerIn ( DataFlow:: Node node ) {
32
- node instanceof CleartextLogging:: SanitizerIn
33
- }
34
-
35
31
override predicate isAdditionalTaintStep ( DataFlow:: Node nodeFrom , DataFlow:: Node nodeTo ) {
36
32
CleartextLogging:: isAdditionalTaintStep ( nodeFrom , nodeTo )
37
33
}
You can’t perform that action at this time.
0 commit comments