Skip to content

Commit 926da4b

Browse files
committed
Swift: Query descriptions and metadata.
1 parent 9a53a40 commit 926da4b

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

swift/ql/src/queries/Security/CWE-311/CleartextStorageDatabase.ql

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
/**
22
* @name Cleartext storage of sensitive information in a local database
3-
* @description TODO
3+
* @description Storing sensitive information in a non-encrypted
4+
* database can expose it to an attacker.
45
* @kind path-problem
5-
* @problem.severity TODO
6-
* @security-severity TODO
7-
* @precision TODO
8-
* @id swift/TODO
6+
* @problem.severity warning
7+
* @security-severity 7.5
8+
* @precision medium
9+
* @id swift/cleartext-storage-database
910
* @tags security
1011
* external/cwe/cwe-312
1112
*/

swift/ql/src/queries/Security/CWE-311/CleartextTransmission.ql

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
/**
22
* @name Cleartext transmission of sensitive information
3-
* @description TODO
3+
* @description Transmitting sensitive information across a network in
4+
* cleartext can expose it to an attacker.
45
* @kind path-problem
5-
* @problem.severity TODO
6-
* @security-severity TODO
7-
* @precision TODO
8-
* @id swift/TODO
6+
* @problem.severity warning
7+
* @security-severity 7.5
8+
* @precision high
9+
* @id swift/cleartext-transmission
910
* @tags security
1011
* external/cwe/cwe-319
1112
*/

0 commit comments

Comments
 (0)