You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I am trying to test a small example that considers os.environ a source and exec as a sink (shown below). I expected Pysa to return that it found a dataflow from os.environ to exec. However, after running pyre analyze the results returns is an empty list (no dataflows). Is there any additional information I need to provide to Pysa so that it can track this dataflow?
def testFunction():
result = os.environ['TEST_VAR']
eval(result)
My source_sinks.pysa file has the following models.
So far I have looked at the callgraph, and it identifies both the calls to os._Environ.__getitem__ and the call to exec. Do you all have any recommendations on what I should check next.
The text was updated successfully, but these errors were encountered:
Hello, I have a question about Pysa's tainting.
Currently I am trying to test a small example that considers
os.environ
a source andexec
as a sink (shown below). I expected Pysa to return that it found a dataflow fromos.environ
toexec
. However, after runningpyre analyze
the results returns is an empty list (no dataflows). Is there any additional information I need to provide to Pysa so that it can track this dataflow?My
source_sinks.pysa
file has the following models.So far I have looked at the callgraph, and it identifies both the calls to
os._Environ.__getitem__
and the call toexec
. Do you all have any recommendations on what I should check next.The text was updated successfully, but these errors were encountered: