Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7dd891d

Browse files
author
Felicity Chapman
committed
Further updates and addition of query @ids
1 parent 223bf6c commit 7dd891d

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

change-notes/1.18/analysis-javascript.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -111,25 +111,25 @@
111111

112112
| **Query** | **Expected impact** | **Change** |
113113
|----------------------------|------------------------|------------------------------------------------------------------|
114-
| Arguments redefined | Fewer results | This rule previously also flagged redefinitions of `eval`. This was an oversight that is now fixed. |
115-
| Comparison between inconvertible types | Fewer results | This rule now flags fewer comparisons involving parameters. The severity of this rule has been revised to "warning". |
116-
| CORS misconfiguration for credentials transfer | More true-positive results | This rule now treats header names case-insensitively. |
117-
| Hard-coded credentials | More true-positive results | This rule now recognizes secret cryptographic keys. |
118-
| Incomplete string escaping or encoding | New name, more true-positive results | This rule now recognizes incomplete URL encoding and decoding. As a consequence, the name was updated to reflect the change in behavior. |
119-
| Insecure randomness | More true-positive results | This rule now recognizes secret cryptographic keys. |
120-
| Misleading indentation after control statement | Fewer results | This rule temporarily ignores TypeScript files. |
121-
| Missing rate limiting | More true-positive results, fewer false-positive results | This rule now recognizes additional rate limiters and expensive route handlers. |
122-
| Missing X-Frame-Options HTTP header | Fewer false-positive results | This rule now treats header names case-insensitively. |
123-
| Omitted array element | Fewer results | This rule temporarily ignores TypeScript files. |
124-
| Reflected cross-site scripting | Fewer false-positive results | This rule now treats header names case-insensitively. |
125-
| Semicolon insertion | Fewer results | This rule temporarily ignores TypeScript files. |
126-
| Server-side URL redirect | More true-positive results | This rule now treats header names case-insensitively. |
127-
| Superfluous trailing arguments | Fewer false-positive results | This rule now ignores calls to some empty functions. |
128-
| Type confusion through parameter tampering | Fewer false-positive results | This rule no longer flags emptiness checks. |
129-
| Uncontrolled command line | More true-positive results | This rule now recognizes indirect command injection through `sh -c` and similar. |
130-
| Unused variable | New name, fewer results | This rule has been renamed to "Unused variable, import, function or class" to reflect the fact that it flags different kinds of unused program elements. The rule no longer flags class expressions that could be made anonymous. While technically true, these results are not interesting. |
131-
| Use of incompletely initialized object| Fewer results | This rule now flags the constructor instead of its errorneous `this` or `super` expressions. |
132-
| Useless conditional | Fewer results | This rule no longer flags uses of boolean return values and highlights fewer comparisons involving parameters. |
114+
| Arguments redefined (`js/arguments-redefinition`) | Fewer results | This query previously also flagged redefinitions of `eval`. This was an oversight that is now fixed. |
115+
| Comparison between inconvertible types (`js/comparison-between-incompatible-types`) | Fewer results | This query now flags fewer comparisons involving parameters. The severity of this query has been revised to "warning". |
116+
| CORS misconfiguration for credentials transfer (`js/cors-misconfiguration-for-credentials`) | More true-positive results | This query now treats header names case-insensitively. |
117+
| Hard-coded credentials (`js/hardcoded-credentials`) | More true-positive results | This query now recognizes secret cryptographic keys. |
118+
| Incomplete string escaping or encoding (`js/incomplete-sanitization`) | New name, more true-positive results | The "Incomplete sanitization" query has been renamed to more clearly reflect its purpose. It now recognizes incomplete URL encoding and decoding. |
119+
| Insecure randomness (`js/insecure-randomness`) | More true-positive results | This query now recognizes secret cryptographic keys. |
120+
| Misleading indentation after control statement (`js/misleading-indentation-after-control-statement`) | Fewer results | This query temporarily ignores TypeScript files. |
121+
| Missing rate limiting (`js/missing-rate-limiting`) | More true-positive results, fewer false-positive results | This query now recognizes additional rate limiters and expensive route handlers. |
122+
| Missing X-Frame-Options HTTP header (`js/missing-x-frame-options`) | Fewer false-positive results | This query now treats header names case-insensitively. |
123+
| Omitted array element (`js/omitted-array-element`)| Fewer results | This query temporarily ignores TypeScript files. |
124+
| Reflected cross-site scripting (`js/reflected-xss`) | Fewer false-positive results | This query now treats header names case-insensitively. |
125+
| Semicolon insertion (`js/automatic-semicolon-insertion`) | Fewer results | This query temporarily ignores TypeScript files. |
126+
| Server-side URL redirect (`js/server-side-unvalidated-url-redirection`) | More true-positive results | This query now treats header names case-insensitively. |
127+
| Superfluous trailing arguments (`js/superfluous-trailing-arguments`) | Fewer false-positive results | This query now ignores calls to some empty functions. |
128+
| Type confusion through parameter tampering (`js/type-confusion-through-parameter-tampering`) | Fewer false-positive results | This query no longer flags emptiness checks. |
129+
| Uncontrolled command line (`js/command-line-injection`) | More true-positive results | This query now recognizes indirect command injection through `sh -c` and similar. |
130+
| Unused variable, import, function or class (`js/unused-local-variable`) | New name, fewer results | The "Unused variable" query has been renamed to reflect the fact that it highlights different kinds of unused program elements. In addition, the query no longer highlights class expressions that could be made anonymous. While technically true, these results are not interesting. |
131+
| Use of incompletely initialized object (`js/incomplete-object-initialization`) | Fewer results | This query now highlights the constructor instead of its erroneous `this` or `super` expressions. |
132+
| Useless conditional (`js/trivial-conditional`) | Fewer results | This query no longer flags uses of boolean return values and highlights fewer comparisons involving parameters. |
133133

134134
## Changes to QL libraries
135135

0 commit comments

Comments
 (0)