I am using codeql TaintTracking and I noticed by default it does not follow data for functions it doesn't know.
for exapmple for this code:
import pd
a = src + anything
df = pd.DataFrame(a)
if src is the source, then a is defined as a sink (as expected) but df isn't.
I want to arrive to any "contaminated" variable, including df. Any ideas how to do that?
I saw the documentation for overriding isAdditionalTaintStep
in TaintTracking::Configuration
which seems like a good direction but I only found examples of it crossing a specific function, and not any value assignment by any function (which I believe can be useful to many cases)
An