Open draftyfrog opened 3 days ago
Hi @draftyfrog, thanks for reaching out.
This is expected behavior and documented in https://pyre-check.org/docs/pysa-advanced/#taint-propagation-from-arguments-to-self
Using the flag --infer-self-tito
should allow Pysa to find the flow here.
We are still considering making this the default, but it is quite costly on big codebases.
Pysa Bug
Pre-submission checklist [x] I've checked the list of common issues and mine does not appear
Bug description Please consider the following code
Pysa does not report the sink in
MainClass.main_function
.My sources_sinks.pysa:
I've tested this with pyre-check Version 0.9.22 and Version 0.9.23.