Skip to content

Conversation

@felicitymay
Copy link
Contributor

This PR prepares the JavaScript analysis change notes for inclusion in the help for LGTM Enterprise 1.19, and on help.semmle.com.

I've tried to put the edits and the text moves in separate commits:

There's one "TODO" - I wasn't sure which two the new queries now handle the dynamic method calls that are no longer flagged by Remote property injection (js/remote-property-injection).

@Semmle/js

@felicitymay felicitymay added this to the 1.19 milestone Dec 5, 2018
@xiemaisi
Copy link

xiemaisi commented Dec 5, 2018

I wasn't sure which two the new queries now handle the dynamic method calls that are no longer flagged by Remote property injection (js/remote-property-injection).

That would be js/unsafe-dynamic-method-access and js/unvalidated-dynamic-method-call.

Copy link

@xiemaisi xiemaisi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @felicity-semmle! A few minor suggestions.

| File data in outbound network request | security, external/cwe/cwe-200 | Highlights locations where file data is sent in a network request. Results are not shown on LGTM by default. |
| Hard-coded data interpreted as code | security, external/cwe/cwe-506 | Highlights locations where hard-coded data is transformed and then executed as code or interpreted as an import path, which may indicate embedded malicious code ([CWE-506](https://cwe.mitre.org/data/definitions/506.html)). Results are not shown on LGTM by default. |
| Host header poisoning in email generation | security, external/cwe/cwe-640 | Highlights code that generates emails with links that can be hijacked by HTTP host header poisoning, indicating a violation of [CWE-640](https://cwe.mitre.org/data/definitions/640.html). Results shown on LGTM by default. |
| Enabling Node.js integration for Electron web content renderers (`js/enabling-electron-renderer-node-integration`) | security, frameworks/electron, external/cwe/cwe-094 | Highlights Electron web content renderer preferences with Node.js integration enabled, indicating a violation of [CWE-94](https://cwe.mitre.org/data/definitions/94.html). Results are hidden on LGTM by default. |
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This query actually isn't even run on LGTM, so it should probably be moved to the "other new queries" section.

Max Schaefer and others added 4 commits December 6, 2018 08:25
Add CWE reference.

Co-Authored-By: felicity-semmle <felicity@semmle.com>
Add CWE reference

Co-Authored-By: felicity-semmle <felicity@semmle.com>
Fix typo

Co-Authored-By: felicity-semmle <felicity@semmle.com>
@felicitymay
Copy link
Contributor Author

Thanks for the review and suggestions 😄

@xiemaisi xiemaisi merged commit 6a7b528 into github:rc/1.19 Dec 6, 2018
@felicitymay felicitymay deleted the 1.19/js-finalize-change-notes branch September 23, 2019 16:31
cklin pushed a commit that referenced this pull request May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants