Skip to content

JS: add heuristic taint-step for potentially unmodelled libraries #9572

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 21, 2022

Conversation

erik-krogh
Copy link
Contributor

@erik-krogh erik-krogh commented Jun 15, 2022

For a call to a library function we add a taint-step from the arguments to the return value.
Might be helpful for quickly debugging some missing taint flows.

Also adds a meta query for counting potential unmodelled steps

(See thread on #codeql-dynamic from Jun 8th).

I've tried to enable these steps on a few queries on microsoft/vscode.
The analysis still terminated, so it seems to scale.

…ta query for counting potential unmodelled steps
@erik-krogh erik-krogh changed the title add heuristic taint-step for potentially unmodelled libraries, and me… add heuristic taint-step for potentially unmodelled libraries Jun 15, 2022
@github-actions github-actions bot added the JS label Jun 15, 2022
@erik-krogh erik-krogh changed the title add heuristic taint-step for potentially unmodelled libraries JS: add heuristic taint-step for potentially unmodelled libraries Jun 20, 2022
@erik-krogh erik-krogh marked this pull request as ready for review June 20, 2022 10:48
@erik-krogh erik-krogh requested a review from a team as a code owner June 20, 2022 10:48
@erik-krogh erik-krogh added the no-change-note-required This PR does not need a change note label Jun 20, 2022
@erik-krogh erik-krogh merged commit 79696c6 into github:main Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JS no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants