Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2af8739 commit 7050d9dCopy full SHA for 7050d9d
1 file changed
javascript/ql/src/semmle/javascript/security/dataflow/CleartextLoggingCustomizations.qll
@@ -176,18 +176,7 @@ module CleartextLogging {
176
177
override string describe() { result = "process environment" }
178
179
- override DataFlow::FlowLabel getLabel() {
180
- result.isTaint() or
181
- result instanceof PartiallySensitiveMap
182
- }
183
184
-
185
- /**
186
- * A flow label describing a map that might contain sensitive information in some properties.
187
- * Property reads on such maps where the property name is fixed is unlikely to leak sensitive information.
188
- */
189
- class PartiallySensitiveMap extends DataFlow::FlowLabel {
190
- PartiallySensitiveMap() { this = "PartiallySensitiveMap" }
+ override DataFlow::FlowLabel getLabel() { result.isTaint() }
191
}
192
193
/**
0 commit comments