Facebook open-sources a static analyzer for Python code - Help Net Security

Facebook open-sources a static analyzer for Python code - Help Net Security

Need a tool to check your Python-based applications for security issues? Facebook has open-sourced Pysa (Python Static Analyzer), a tool that looks at how data flows through the code and helps developers prevent data flowing into places it shouldn’t.



How the Python Static Analyzer works


Pysa is a security-focused tool built on top of Pyre, Facebook’s performant type checker for Python.


“Pysa tracks flows of data through a program. The user defines sources (places where important data originates) as well as sinks (places where the data from the source shouldn’t end up),” Facebook security engineer Graham Bleaney and software engineer Sinan Cepel explained.


“Pysa performs iterative rounds of analysis to build summaries to determine which functions return data from a source and which functions have parameters that eventually r ..

Support the originator by clicking the read the rest link below.