Skip to content

Commit 6ce77ea

Browse files
author
Max Schaefer
committed
JavaScript: Add change note.
1 parent b314c54 commit 6ce77ea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

change-notes/1.20/analysis-javascript.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- asynchronous code, for example [a-sync-waterfall](https://www.npmjs.com/package/a-sync-waterfall)
1010
* File classification has been improved to recognize additional generated files, for example files from [HTML Tidy](html-tidy.org).
1111

12-
* The taint tracking library now recognizes flow through persistent storage, class fields, and callbacks in certain cases. This may give more results for the security queries.
12+
* The taint tracking library now recognizes flow through persistent storage, class fields, and callbacks in certain cases. Handling of regular expressions has also been improved. This may give more results for the security queries.
1313

1414
* Type inference for function calls has been improved. This may give additional results for queries that rely on type inference.
1515

@@ -33,9 +33,11 @@
3333

3434
| **Query** | **Expected impact** | **Change** |
3535
|--------------------------------------------|------------------------------|------------------------------------------------------------------------------|
36-
| Client-side cross-site scripting | More true-positive results, fewer false-positive results. | This rule now recognizes WinJS functions that are vulnerable to HTML injection, and no longer flags certain safe uses of jQuery. |
36+
| Client-side cross-site scripting | More true-positive results, fewer false-positive results. | This rule now recognizes WinJS functions that are vulnerable to HTML injection. It no longer flags certain safe uses of jQuery, and recognizes custom sanitizers. |
3737
| Hard-coded credentials | Fewer false-positive results | This rule no longer flag the empty string as a hardcoded username. |
3838
| Insecure randomness | More results | This rule now flags insecure uses of `crypto.pseudoRandomBytes`. |
39+
| Reflected cross-site scripting | Fewer false-positive results. | This rule now recognizes custom sanitizers. |
40+
| Stored cross-site scripting | Fewer false-positive results. | This rule now recognizes custom sanitizers. |
3941
| Uncontrolled data used in network request | More results | This rule now recognizes host values that are vulnerable to injection. |
4042
| Unused parameter | Fewer false-positive results | This rule no longer flags parameters with leading underscore. |
4143
| Unused variable, import, function or class | Fewer false-positive results | This rule now flags fewer variables that are implictly used by JSX elements, and no longer flags variables with leading underscore. |

0 commit comments

Comments
 (0)