Skip to content

Commit 6f28cb9

Browse files
committed
lower the precision of js/unsafe-code-construction
1 parent 06f9924 commit 6f28cb9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

javascript/ql/src/Security/CWE-094/UnsafeCodeConstruction.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* user to execute arbitrary code.
55
* @kind path-problem
66
* @problem.severity warning
7-
* @precision high
7+
* @precision warning
88
* @id js/unsafe-code-construction
99
* @tags security
1010
* external/cwe/cwe-094
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
category: newQuery
33
---
4-
* A new query, `js/unsafe-code-construction`, has been added to the query suite,
5-
highlighting libraries that may leave clients vulnerable to arbitary code execution.
4+
* A new query, `js/unsafe-code-construction`, has been added to the query suite, highlighting libraries that may leave clients vulnerable to arbitary code execution.
5+
The query is not run by default.

0 commit comments

Comments
 (0)