Skip to content

Commit 98e6fc8

Browse files
committed
Python/Ruby: Remove owasp tags
These are no longer correct, since the A1 category changed from 2017 to 2021, see https://owasp.org/Top10/#whats-changed-in-the-top-10-for-2021 Since only a very few queries had these tags, I think we're much better off having them removed.
1 parent 7c3b68b commit 98e6fc8

File tree

6 files changed

+0
-6
lines changed

6 files changed

+0
-6
lines changed

python/ql/src/Security/CWE-022/PathInjection.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* @id py/path-injection
1010
* @tags correctness
1111
* security
12-
* external/owasp/owasp-a1
1312
* external/cwe/cwe-022
1413
* external/cwe/cwe-023
1514
* external/cwe/cwe-036

python/ql/src/Security/CWE-078/CommandInjection.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* @id py/command-line-injection
1111
* @tags correctness
1212
* security
13-
* external/owasp/owasp-a1
1413
* external/cwe/cwe-078
1514
* external/cwe/cwe-088
1615
*/

python/ql/src/Security/CWE-089/SqlInjection.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* @id py/sql-injection
1010
* @tags security
1111
* external/cwe/cwe-089
12-
* external/owasp/owasp-a1
1312
*/
1413

1514
import python

python/ql/src/Security/CWE-094/CodeInjection.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* @precision high
1010
* @id py/code-injection
1111
* @tags security
12-
* external/owasp/owasp-a1
1312
* external/cwe/cwe-094
1413
* external/cwe/cwe-095
1514
* external/cwe/cwe-116

ruby/ql/src/queries/security/cwe-089/SqlInjection.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* @id rb/sql-injection
1010
* @tags security
1111
* external/cwe/cwe-089
12-
* external/owasp/owasp-a1
1312
*/
1413

1514
import ruby

ruby/ql/src/queries/security/cwe-094/CodeInjection.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* @precision high
1010
* @id rb/code-injection
1111
* @tags security
12-
* external/owasp/owasp-a1
1312
* external/cwe/cwe-094
1413
* external/cwe/cwe-095
1514
* external/cwe/cwe-116

0 commit comments

Comments
 (0)