Application Security and Permissions
Pysa: An open source static analysis tool to detect and prevent security issues in Python code

Pysa: An open source static analysis tool to detect and prevent security issues in Python code

8/7/2020 · Graham Bleaney, Sinan Cepel

What this post added

Introduced Pysa, an open-source static analysis tool for Python, built on Pyre. Pysa detects security and privacy issues by analyzing data flows from sources to sinks, identifying vulnerabilities like XSS and SQL injection. It was inspired by Zoncolan and has been applied to Instagram's Python codebase, providing rapid analysis of proposed code changes. The post details Pysa's mechanism, its handling of false positives/negatives with sanitizers and features, and its limitations, particularly concerning dynamic Python features and non-data-flow security issues.

Read the original post ↗