Release preparation for version 2.18.1

This commit is contained in:
github-actions[bot]
2024-07-22 21:30:50 +00:00
parent 09f5e19c71
commit 368bcb684a
154 changed files with 406 additions and 145 deletions

View File

@@ -1,4 +0,0 @@
---
category: newQuery
---
* Added a new query, `js/insecure-helmet-configuration`, to detect instances where Helmet middleware is configured with important security features disabled.

View File

@@ -1,6 +1,11 @@
---
category: minorAnalysis
---
## 1.1.0
### New Queries
* Added a new query, `js/insecure-helmet-configuration`, to detect instances where Helmet middleware is configured with important security features disabled.
### Minor Analysis Improvements
* Added a new query, `js/functionality-from-untrusted-domain`, which detects uses in HTML and JavaScript scripts from untrusted domains, including the `polyfill.io` content delivery network
* it can be extended to detect other compromised scripts using user-provided data extensions of the `untrustedDomain` predicate, which takes one string argument with the domain to warn on (and will warn on any subdomains too).
* Modified existing query, `js/functionality-from-untrusted-source`, to allow adding this new query, but reusing the same logic