Skip to content

Commit 6b434d1

Browse files
authored
Merge pull request #14701 from geoffw0/promotecmdline
Swift: Promote the command injection query out of experimental
2 parents e68826b + d78a7b9 commit 6b434d1

File tree

6 files changed

+6
-1
lines changed

6 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
category: newQuery
3+
---
4+
5+
* Added new query "System command built from user-controlled sources" (`swift/command-line-injection`) for Swift. This query detects system commands built from user-controlled sources without sufficient validation. The query was previously [contributed to the 'experimental' directory by @maikypedia](https://github.com/github/codeql/pull/13726) but will now run by default for all code scanning users.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
experimental/Security/CWE-078/CommandInjection.ql
1+
queries/Security/CWE-078/CommandInjection.ql

0 commit comments

Comments
 (0)