Skip to content

Commit bb482f8

Browse files
authored
Merge pull request #23295 from hvitved/hvitved-unified-read-taint-steps
Unified: Lift read steps to taint steps
2 parents 7cc0dba + 51faf17 commit bb482f8

7 files changed

Lines changed: 271 additions & 212 deletions

File tree

‎unified/ql/lib/codeql/unified/internal/dataflow/TaintTrackingInstantiation.qll‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ module TaintTrackingInput implements InputSig<Location, DataFlowInput> {
88
predicate defaultAdditionalTaintStep(Node src, Node sink, string model) {
99
step(src, any(Step s | s.taint()), sink) and model = ""
1010
or
11+
// Read steps give rise to taint steps.
12+
// TODO: Restrict this to contents that may carry taint.
13+
DataFlowInput::readStep(src, _, sink) and model = ""
14+
or
1115
FlowSummaryOutput::summaryLocalStep(src, sink, false, model)
1216
}
1317

‎unified/ql/test/library-tests/dataflow/subscripts.swift‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ func source(_ s: String) -> String { return s }
33
@discardableResult
44
func sink(_ s: String) -> String { return "" }
55

6+
class TaintReadBox {
7+
subscript(_ i: Int) -> String { return "safe" }
8+
}
9+
10+
func source(_ s: String, as _: TaintReadBox.Type) -> TaintReadBox { return TaintReadBox() }
11+
612
func s1() {
713
class C {
814
subscript(i: Int) -> String { source("s1.1") }
@@ -208,3 +214,7 @@ func s16() {
208214
let c = C()
209215
c[1] = source("s16.1")
210216
}
217+
218+
func s17() {
219+
sink(source("s17.1", as: TaintReadBox.self)[0]) // $ hasTaintFlow=s17.1
220+
}

‎unified/ql/test/library-tests/dataflow/test.expected‎

Lines changed: 209 additions & 205 deletions
Large diffs are not rendered by default.

‎unified/ql/test/query-tests/security/CWE-022/PathInjection/PathInjectionTest.expected‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
| testPathInjection.swift:529:28:529:29 | u1 | testPathInjection.swift:521:24:521:78 | String(...) | testPathInjection.swift:529:28:529:29 | u1 | This path depends on a $@. | testPathInjection.swift:521:24:521:78 | String(...) | user-provided value |
9494
| testPathInjection.swift:531:28:531:39 | remoteString | testPathInjection.swift:521:24:521:78 | String(...) | testPathInjection.swift:531:28:531:39 | remoteString | This path depends on a $@. | testPathInjection.swift:521:24:521:78 | String(...) | user-provided value |
9595
| testPathInjection.swift:537:24:537:63 | ... ! | testPathInjection.swift:521:24:521:78 | String(...) | testPathInjection.swift:537:24:537:63 | ... ! | This path depends on a $@. | testPathInjection.swift:521:24:521:78 | String(...) | user-provided value |
96+
| testPathInjection.swift:540:24:540:38 | ... ! | testPathInjection.swift:521:24:521:78 | String(...) | testPathInjection.swift:540:24:540:38 | ... ! | This path depends on a $@. | testPathInjection.swift:521:24:521:78 | String(...) | user-provided value |
9697
| testPathInjection.swift:541:24:541:53 | ... ! | testPathInjection.swift:521:24:521:78 | String(...) | testPathInjection.swift:541:24:541:53 | ... ! | This path depends on a $@. | testPathInjection.swift:521:24:521:78 | String(...) | user-provided value |
9798
| testPathInjection.swift:543:32:543:43 | remoteString | testPathInjection.swift:521:24:521:78 | String(...) | testPathInjection.swift:543:32:543:43 | remoteString | This path depends on a $@. | testPathInjection.swift:521:24:521:78 | String(...) | user-provided value |
9899
| testPathInjection.swift:544:38:544:49 | remoteString | testPathInjection.swift:521:24:521:78 | String(...) | testPathInjection.swift:544:38:544:49 | remoteString | This path depends on a $@. | testPathInjection.swift:521:24:521:78 | String(...) | user-provided value |
@@ -232,8 +233,10 @@ edges
232233
| testPathInjection.swift:528:28:528:39 | remoteString | testPathInjection.swift:529:28:529:29 | u1 | provenance | |
233234
| testPathInjection.swift:537:24:537:62 | ... .appendingPathComponent(...) | testPathInjection.swift:537:24:537:63 | ... ! | provenance | |
234235
| testPathInjection.swift:537:50:537:61 | remoteString | testPathInjection.swift:537:24:537:62 | ... .appendingPathComponent(...) | provenance | |
236+
| testPathInjection.swift:539:9:539:10 | u4 | testPathInjection.swift:540:24:540:25 | u4 | provenance | |
235237
| testPathInjection.swift:539:9:539:10 | u4 | testPathInjection.swift:541:24:541:25 | u4 | provenance | |
236238
| testPathInjection.swift:539:28:539:39 | remoteString | testPathInjection.swift:539:9:539:10 | u4 | provenance | |
239+
| testPathInjection.swift:540:24:540:25 | u4 | testPathInjection.swift:540:24:540:38 | ... ! | provenance | |
237240
| testPathInjection.swift:541:24:541:25 | u4 | testPathInjection.swift:541:24:541:52 | ... .appendingPathComponent(...) | provenance | |
238241
| testPathInjection.swift:541:24:541:52 | ... .appendingPathComponent(...) | testPathInjection.swift:541:24:541:53 | ... ! | provenance | |
239242
| testPathInjection.swift:548:5:548:6 | [post] s1 [pointee] | testPathInjection.swift:549:32:549:33 | s1 [pointee] | provenance | |
@@ -374,6 +377,8 @@ nodes
374377
| testPathInjection.swift:537:50:537:61 | remoteString | semmle.label | remoteString |
375378
| testPathInjection.swift:539:9:539:10 | u4 | semmle.label | u4 |
376379
| testPathInjection.swift:539:28:539:39 | remoteString | semmle.label | remoteString |
380+
| testPathInjection.swift:540:24:540:25 | u4 | semmle.label | u4 |
381+
| testPathInjection.swift:540:24:540:38 | ... ! | semmle.label | ... ! |
377382
| testPathInjection.swift:541:24:541:25 | u4 | semmle.label | u4 |
378383
| testPathInjection.swift:541:24:541:52 | ... .appendingPathComponent(...) | semmle.label | ... .appendingPathComponent(...) |
379384
| testPathInjection.swift:541:24:541:53 | ... ! | semmle.label | ... ! |

‎unified/ql/test/query-tests/security/CWE-022/PathInjection/testPathInjection.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ func testPathInjection2(
537537
Data("").write(to: u3.appendingPathComponent(remoteString)!, options: []) // $ Alert
538538

539539
let u4 = NSURL(string: remoteString)!
540-
Data("").write(to: u4.filePathURL!, options: []) // $ MISSING: Alert
540+
Data("").write(to: u4.filePathURL!, options: []) // $ Alert
541541
Data("").write(to: u4.appendingPathComponent("")!, options: []) // $ Alert
542542

543543
_ = NSData(contentsOfFile: remoteString)! // $ Alert

‎unified/ql/test/query-tests/security/CWE-312/CleartextLogging/CleartextLogging.expected‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@
3939
| CleartextLoggingTest.swift:299:8:299:26 | ... .optionalPassword | CleartextLoggingTest.swift:299:8:299:26 | ... .optionalPassword | CleartextLoggingTest.swift:299:8:299:38 | ... .getValue(...) | This sensitive information is to $@ to a log file. | CleartextLoggingTest.swift:299:8:299:38 | ... .getValue(...) | written |
4040
| CleartextLoggingTest.swift:300:8:300:26 | ... .optionalPassword | CleartextLoggingTest.swift:300:8:300:26 | ... .optionalPassword | CleartextLoggingTest.swift:300:8:300:44 | ... ?? ... | This sensitive information is to $@ to a log file. | CleartextLoggingTest.swift:300:8:300:44 | ... ?? ... | written |
4141
| CleartextLoggingTest.swift:323:8:323:15 | password | CleartextLoggingTest.swift:323:8:323:15 | password | CleartextLoggingTest.swift:323:8:323:15 | password | This sensitive information is to $@ to a log file. | CleartextLoggingTest.swift:323:8:323:15 | password | written |
42+
| CleartextLoggingTest.swift:323:8:323:15 | password | CleartextLoggingTest.swift:323:8:323:15 | password | CleartextLoggingTest.swift:324:8:324:16 | myString2 | This sensitive information is to $@ to a log file. | CleartextLoggingTest.swift:324:8:324:16 | myString2 | written |
4243
| CleartextLoggingTest.swift:326:18:326:25 | password | CleartextLoggingTest.swift:326:18:326:25 | password | CleartextLoggingTest.swift:326:8:326:25 | ... + ... | This sensitive information is to $@ to a log file. | CleartextLoggingTest.swift:326:8:326:25 | ... + ... | written |
44+
| CleartextLoggingTest.swift:326:18:326:25 | password | CleartextLoggingTest.swift:326:18:326:25 | password | CleartextLoggingTest.swift:327:8:327:16 | myString3 | This sensitive information is to $@ to a log file. | CleartextLoggingTest.swift:327:8:327:16 | myString3 | written |
45+
| CleartextLoggingTest.swift:332:13:332:20 | password | CleartextLoggingTest.swift:332:13:332:20 | password | CleartextLoggingTest.swift:333:13:333:21 | myString5 | This sensitive information is to $@ to a log file. | CleartextLoggingTest.swift:333:13:333:21 | myString5 | written |
4346
| CleartextLoggingTest.swift:338:7:338:14 | password | CleartextLoggingTest.swift:338:7:338:14 | password | CleartextLoggingTest.swift:339:7:339:15 | myString7 | This sensitive information is to $@ to a log file. | CleartextLoggingTest.swift:339:7:339:15 | myString7 | written |
4447
| CleartextLoggingTest.swift:344:18:344:25 | password | CleartextLoggingTest.swift:344:18:344:25 | password | CleartextLoggingTest.swift:345:8:345:16 | myString9 | This sensitive information is to $@ to a log file. | CleartextLoggingTest.swift:345:8:345:16 | myString9 | written |
4548
| CleartextLoggingTest.swift:348:19:348:26 | password | CleartextLoggingTest.swift:348:19:348:26 | password | CleartextLoggingTest.swift:350:8:350:17 | myString10 | This sensitive information is to $@ to a log file. | CleartextLoggingTest.swift:350:8:350:17 | myString10 | written |
@@ -78,6 +81,7 @@
7881
| CleartextLoggingTest.swift:436:29:436:36 | password | CleartextLoggingTest.swift:436:29:436:36 | password | CleartextLoggingTest.swift:436:29:436:36 | password | This sensitive information is to $@ to a log file. | CleartextLoggingTest.swift:436:29:436:36 | password | written |
7982
| CleartextLoggingTest.swift:437:28:437:33 | secret | CleartextLoggingTest.swift:437:28:437:33 | secret | CleartextLoggingTest.swift:437:28:437:33 | secret | This sensitive information is to $@ to a log file. | CleartextLoggingTest.swift:437:28:437:33 | secret | written |
8083
| CleartextLoggingTest.swift:445:11:445:24 | globalPassword | CleartextLoggingTest.swift:445:11:445:24 | globalPassword | CleartextLoggingTest.swift:445:11:445:24 | globalPassword | This sensitive information is to $@ to a log file. | CleartextLoggingTest.swift:445:11:445:24 | globalPassword | written |
84+
| CleartextLoggingTest.swift:465:10:465:32 | ... .password(...) | CleartextLoggingTest.swift:465:10:465:32 | ... .password(...) | CleartextLoggingTest.swift:466:15:466:22 | contents | This sensitive information is to $@ to a log file. | CleartextLoggingTest.swift:466:15:466:22 | contents | written |
8185
| CleartextLoggingTest.swift:477:11:477:30 | Secret(...) | CleartextLoggingTest.swift:477:11:477:30 | Secret(...) | CleartextLoggingTest.swift:477:11:477:30 | Secret(...) | This sensitive information is to $@ to a log file. | CleartextLoggingTest.swift:477:11:477:30 | Secret(...) | written |
8286
edges
8387
| CleartextLoggingBad.swift:2:33:2:43 | interpolation(...) | CleartextLoggingBad.swift:2:7:2:44 | StringInterpolationExpr | provenance | |
@@ -94,6 +98,7 @@ edges
9498
| CleartextLoggingTest.swift:198:16:198:26 | bankAccount | CleartextLoggingTest.swift:198:14:198:27 | interpolation(...) | provenance | |
9599
| CleartextLoggingTest.swift:251:6:251:6 | y | CleartextLoggingTest.swift:252:8:252:8 | y | provenance | |
96100
| CleartextLoggingTest.swift:251:10:251:22 | getPassword(...) | CleartextLoggingTest.swift:251:6:251:6 | y | provenance | |
101+
| CleartextLoggingTest.swift:257:8:257:18 | ... .passwords | CleartextLoggingTest.swift:257:8:257:19 | ... .subscript | provenance | |
97102
| CleartextLoggingTest.swift:257:8:257:18 | ... .passwords | CleartextLoggingTest.swift:257:8:257:19 | ... .subscript | provenance | Config |
98103
| CleartextLoggingTest.swift:257:8:257:18 | ... .passwords | CleartextLoggingTest.swift:257:8:257:21 | ... .subscript(...) | provenance | |
99104
| CleartextLoggingTest.swift:257:8:257:19 | ... .subscript | CleartextLoggingTest.swift:257:8:257:21 | ... .subscript(...) | provenance | Config |
@@ -102,29 +107,46 @@ edges
102107
| CleartextLoggingTest.swift:258:13:258:30 | ... .optionalPassword | CleartextLoggingTest.swift:258:5:258:9 | ... .some(...) | provenance | |
103108
| CleartextLoggingTest.swift:261:8:261:25 | ... .optionalPassword | CleartextLoggingTest.swift:261:8:261:26 | ... ! | provenance | |
104109
| CleartextLoggingTest.swift:268:12:268:22 | ... .password | CleartextLoggingTest.swift:268:11:268:24 | ... ! | provenance | |
110+
| CleartextLoggingTest.swift:291:8:291:18 | ... .password | CleartextLoggingTest.swift:291:8:291:24 | ... .value | provenance | |
105111
| CleartextLoggingTest.swift:291:8:291:18 | ... .password | CleartextLoggingTest.swift:291:8:291:24 | ... .value | provenance | Config |
112+
| CleartextLoggingTest.swift:292:8:292:19 | ... .passwords | CleartextLoggingTest.swift:292:8:292:20 | ... .subscript | provenance | |
106113
| CleartextLoggingTest.swift:292:8:292:19 | ... .passwords | CleartextLoggingTest.swift:292:8:292:20 | ... .subscript | provenance | Config |
107114
| CleartextLoggingTest.swift:292:8:292:19 | ... .passwords | CleartextLoggingTest.swift:292:8:292:22 | ... .subscript(...) | provenance | |
108115
| CleartextLoggingTest.swift:292:8:292:20 | ... .subscript | CleartextLoggingTest.swift:292:8:292:22 | ... .subscript(...) | provenance | Config |
116+
| CleartextLoggingTest.swift:292:8:292:22 | ... .subscript(...) | CleartextLoggingTest.swift:292:8:292:28 | ... .value | provenance | |
109117
| CleartextLoggingTest.swift:292:8:292:22 | ... .subscript(...) | CleartextLoggingTest.swift:292:8:292:28 | ... .value | provenance | Config |
110118
| CleartextLoggingTest.swift:293:8:293:26 | ... .optionalPassword | CleartextLoggingTest.swift:293:8:293:27 | ... ! | provenance | |
119+
| CleartextLoggingTest.swift:293:8:293:27 | ... ! | CleartextLoggingTest.swift:293:8:293:33 | ... .value | provenance | |
111120
| CleartextLoggingTest.swift:293:8:293:27 | ... ! | CleartextLoggingTest.swift:293:8:293:33 | ... .value | provenance | Config |
121+
| CleartextLoggingTest.swift:294:9:294:27 | ... .optionalPassword | CleartextLoggingTest.swift:294:9:294:34 | ... .value | provenance | |
112122
| CleartextLoggingTest.swift:294:9:294:27 | ... .optionalPassword | CleartextLoggingTest.swift:294:9:294:34 | ... .value | provenance | Config |
113123
| CleartextLoggingTest.swift:294:9:294:34 | ... .value | CleartextLoggingTest.swift:294:8:294:36 | ... ! | provenance | |
124+
| CleartextLoggingTest.swift:297:8:297:18 | ... .password | CleartextLoggingTest.swift:297:8:297:27 | ... .getValue | provenance | |
114125
| CleartextLoggingTest.swift:297:8:297:18 | ... .password | CleartextLoggingTest.swift:297:8:297:27 | ... .getValue | provenance | Config |
115126
| CleartextLoggingTest.swift:297:8:297:27 | ... .getValue | CleartextLoggingTest.swift:297:8:297:29 | ... .getValue(...) | provenance | Config |
127+
| CleartextLoggingTest.swift:298:8:298:19 | ... .passwords | CleartextLoggingTest.swift:298:8:298:20 | ... .subscript | provenance | |
116128
| CleartextLoggingTest.swift:298:8:298:19 | ... .passwords | CleartextLoggingTest.swift:298:8:298:20 | ... .subscript | provenance | Config |
117129
| CleartextLoggingTest.swift:298:8:298:19 | ... .passwords | CleartextLoggingTest.swift:298:8:298:22 | ... .subscript(...) | provenance | |
118130
| CleartextLoggingTest.swift:298:8:298:20 | ... .subscript | CleartextLoggingTest.swift:298:8:298:22 | ... .subscript(...) | provenance | Config |
131+
| CleartextLoggingTest.swift:298:8:298:22 | ... .subscript(...) | CleartextLoggingTest.swift:298:8:298:31 | ... .getValue | provenance | |
119132
| CleartextLoggingTest.swift:298:8:298:22 | ... .subscript(...) | CleartextLoggingTest.swift:298:8:298:31 | ... .getValue | provenance | Config |
120133
| CleartextLoggingTest.swift:298:8:298:31 | ... .getValue | CleartextLoggingTest.swift:298:8:298:33 | ... .getValue(...) | provenance | Config |
121134
| CleartextLoggingTest.swift:299:8:299:26 | ... .optionalPassword | CleartextLoggingTest.swift:299:8:299:27 | ... ! | provenance | |
135+
| CleartextLoggingTest.swift:299:8:299:27 | ... ! | CleartextLoggingTest.swift:299:8:299:36 | ... .getValue | provenance | |
122136
| CleartextLoggingTest.swift:299:8:299:27 | ... ! | CleartextLoggingTest.swift:299:8:299:36 | ... .getValue | provenance | Config |
123137
| CleartextLoggingTest.swift:299:8:299:36 | ... .getValue | CleartextLoggingTest.swift:299:8:299:38 | ... .getValue(...) | provenance | Config |
138+
| CleartextLoggingTest.swift:300:8:300:26 | ... .optionalPassword | CleartextLoggingTest.swift:300:8:300:36 | ... .getValue | provenance | |
124139
| CleartextLoggingTest.swift:300:8:300:26 | ... .optionalPassword | CleartextLoggingTest.swift:300:8:300:36 | ... .getValue | provenance | Config |
125140
| CleartextLoggingTest.swift:300:8:300:36 | ... .getValue | CleartextLoggingTest.swift:300:8:300:38 | ... .getValue(...) | provenance | Config |
126141
| CleartextLoggingTest.swift:300:8:300:38 | ... .getValue(...) | CleartextLoggingTest.swift:300:8:300:44 | ... ?? ... | provenance | |
142+
| CleartextLoggingTest.swift:323:8:323:15 | password | CleartextLoggingTest.swift:323:22:323:31 | [post] & ... | provenance | |
143+
| CleartextLoggingTest.swift:323:22:323:31 | [post] & ... | CleartextLoggingTest.swift:324:8:324:16 | myString2 | provenance | |
144+
| CleartextLoggingTest.swift:326:8:326:25 | ... + ... | CleartextLoggingTest.swift:326:32:326:41 | [post] & ... | provenance | |
127145
| CleartextLoggingTest.swift:326:18:326:25 | password | CleartextLoggingTest.swift:326:8:326:25 | ... + ... | provenance | |
146+
| CleartextLoggingTest.swift:326:18:326:25 | password | CleartextLoggingTest.swift:326:8:326:25 | ... + ... | provenance | |
147+
| CleartextLoggingTest.swift:326:32:326:41 | [post] & ... | CleartextLoggingTest.swift:327:8:327:16 | myString3 | provenance | |
148+
| CleartextLoggingTest.swift:332:13:332:20 | password | CleartextLoggingTest.swift:332:27:332:36 | [post] & ... | provenance | |
149+
| CleartextLoggingTest.swift:332:27:332:36 | [post] & ... | CleartextLoggingTest.swift:333:13:333:21 | myString5 | provenance | |
128150
| CleartextLoggingTest.swift:338:7:338:14 | password | CleartextLoggingTest.swift:338:21:338:30 | [post] & ... | provenance | |
129151
| CleartextLoggingTest.swift:338:21:338:30 | [post] & ... | CleartextLoggingTest.swift:339:7:339:15 | myString7 | provenance | |
130152
| CleartextLoggingTest.swift:344:18:344:25 | password | CleartextLoggingTest.swift:345:8:345:16 | myString9 | provenance | |
@@ -159,6 +181,8 @@ edges
159181
| CleartextLoggingTest.swift:426:9:426:15 | msg_opt | CleartextLoggingTest.swift:428:22:428:28 | msg_opt | provenance | |
160182
| CleartextLoggingTest.swift:426:57:426:63 | authKey | CleartextLoggingTest.swift:426:9:426:15 | msg_opt | provenance | |
161183
| CleartextLoggingTest.swift:427:18:427:24 | msg_opt | CleartextLoggingTest.swift:427:18:427:30 | ... ?? ... | provenance | |
184+
| CleartextLoggingTest.swift:465:10:465:32 | ... .password(...) | CleartextLoggingTest.swift:465:24:465:31 | contents | provenance | |
185+
| CleartextLoggingTest.swift:465:24:465:31 | contents | CleartextLoggingTest.swift:466:15:466:22 | contents | provenance | |
162186
nodes
163187
| CleartextLoggingBad.swift:2:7:2:44 | StringInterpolationExpr | semmle.label | StringInterpolationExpr |
164188
| CleartextLoggingBad.swift:2:33:2:43 | interpolation(...) | semmle.label | interpolation(...) |
@@ -241,8 +265,17 @@ nodes
241265
| CleartextLoggingTest.swift:300:8:300:38 | ... .getValue(...) | semmle.label | ... .getValue(...) |
242266
| CleartextLoggingTest.swift:300:8:300:44 | ... ?? ... | semmle.label | ... ?? ... |
243267
| CleartextLoggingTest.swift:323:8:323:15 | password | semmle.label | password |
268+
| CleartextLoggingTest.swift:323:8:323:15 | password | semmle.label | password |
269+
| CleartextLoggingTest.swift:323:22:323:31 | [post] & ... | semmle.label | [post] & ... |
270+
| CleartextLoggingTest.swift:324:8:324:16 | myString2 | semmle.label | myString2 |
271+
| CleartextLoggingTest.swift:326:8:326:25 | ... + ... | semmle.label | ... + ... |
244272
| CleartextLoggingTest.swift:326:8:326:25 | ... + ... | semmle.label | ... + ... |
245273
| CleartextLoggingTest.swift:326:18:326:25 | password | semmle.label | password |
274+
| CleartextLoggingTest.swift:326:32:326:41 | [post] & ... | semmle.label | [post] & ... |
275+
| CleartextLoggingTest.swift:327:8:327:16 | myString3 | semmle.label | myString3 |
276+
| CleartextLoggingTest.swift:332:13:332:20 | password | semmle.label | password |
277+
| CleartextLoggingTest.swift:332:27:332:36 | [post] & ... | semmle.label | [post] & ... |
278+
| CleartextLoggingTest.swift:333:13:333:21 | myString5 | semmle.label | myString5 |
246279
| CleartextLoggingTest.swift:338:7:338:14 | password | semmle.label | password |
247280
| CleartextLoggingTest.swift:338:21:338:30 | [post] & ... | semmle.label | [post] & ... |
248281
| CleartextLoggingTest.swift:339:7:339:15 | myString7 | semmle.label | myString7 |
@@ -305,5 +338,8 @@ nodes
305338
| CleartextLoggingTest.swift:436:29:436:36 | password | semmle.label | password |
306339
| CleartextLoggingTest.swift:437:28:437:33 | secret | semmle.label | secret |
307340
| CleartextLoggingTest.swift:445:11:445:24 | globalPassword | semmle.label | globalPassword |
341+
| CleartextLoggingTest.swift:465:10:465:32 | ... .password(...) | semmle.label | ... .password(...) |
342+
| CleartextLoggingTest.swift:465:24:465:31 | contents | semmle.label | contents |
343+
| CleartextLoggingTest.swift:466:15:466:22 | contents | semmle.label | contents |
308344
| CleartextLoggingTest.swift:477:11:477:30 | Secret(...) | semmle.label | Secret(...) |
309345
subpaths

0 commit comments

Comments
 (0)