codeql
codeql copied to clipboard
Python: Fix flask request modeling
This takes us part of the way. We still get multiple paths for the same alert, but that will be fixed in a different PR.
I guess an alternative would be to not have
requestbe a remote flow source in its own right, but only attributes thereof.
I didn't consider this, but I agree it could be a solution :thinking:
Another alternative, which may amount to the same thing, is to say that importing the request object is not a case of remote input, but reading from it is. I am not sure if attribute reads is the only way to access it.
this PR turned into quite a bit of a mixed bag now :flushed: but everything was connected :shrug: