Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Conversation

@owen-mc
Copy link
Contributor

@owen-mc owen-mc commented Oct 23, 2020

I have based this on the java version (cf. github/codeql#3938).

@owen-mc owen-mc force-pushed the untrusted-data-flow-to-external-api branch 4 times, most recently from deebcfd to dadf275 Compare November 25, 2020 17:11
@owen-mc owen-mc marked this pull request as ready for review November 25, 2020 17:13
@owen-mc owen-mc force-pushed the untrusted-data-flow-to-external-api branch from dadf275 to 3217afa Compare November 25, 2020 17:14
@owen-mc owen-mc requested review from a team and shati-patel November 25, 2020 17:14
@owen-mc owen-mc force-pushed the untrusted-data-flow-to-external-api branch from 3217afa to dec92c9 Compare November 26, 2020 10:14
@owen-mc
Copy link
Contributor Author

owen-mc commented Nov 26, 2020

@lcartey if you have time you could try out this go version of "Untrusted data flow to external API" and give feedback before it's merged.

@owen-mc owen-mc force-pushed the untrusted-data-flow-to-external-api branch from dec92c9 to bf78189 Compare November 26, 2020 15:00
Copy link
Contributor

@smowton smowton left a comment

Choose a reason for hiding this comment

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

Some minor things to attend to, mostly lgtm

@owen-mc owen-mc force-pushed the untrusted-data-flow-to-external-api branch from 1817d20 to 4d23cef Compare November 26, 2020 16:45
Co-authored-by: Chris Smowton <smowton@github.com>
@owen-mc owen-mc force-pushed the untrusted-data-flow-to-external-api branch from 4d23cef to 0ee00d8 Compare November 26, 2020 16:49
@lcartey
Copy link

lcartey commented Nov 26, 2020

@rvermeulen I know you wrote something similar recently, do you want to take a look?

Copy link
Contributor

@shati-patel shati-patel left a comment

Choose a reason for hiding this comment

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

Looks good! I've added relevant suggestions to all the places they're repeated, so apologies for the duplicated comments 🙈

There aren't any change notes yet, could you add them before this is merged?

owen-mc and others added 2 commits November 27, 2020 16:17
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
When the taint was in the receiver, we were excluding methods which
return nothing or a boolean.
@owen-mc owen-mc force-pushed the untrusted-data-flow-to-external-api branch from 6f22b0a to bfbf102 Compare November 27, 2020 16:51
@owen-mc
Copy link
Contributor Author

owen-mc commented Nov 27, 2020

I have addressed all review comments. I will run a distcompare job over the weekend as there are one or two library changes which will affect other queries (mainly adding more testing frameworks).

@owen-mc
Copy link
Contributor Author

owen-mc commented Dec 1, 2020

The distcompare job looks fine. No changes in what results we find. The timings are about the same - certainly within expected variation.

@owen-mc owen-mc merged commit 8c33979 into github:main Dec 1, 2020
@owen-mc owen-mc deleted the untrusted-data-flow-to-external-api branch December 1, 2020 11:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants