MLH-Fellowship / pyre-check

Performant type-checking for python.
https://pyre-check.org/
MIT License
3 stars 1 forks source link

[Fall 2021] Step 2: Coverage Improvement - Add models for python-sh #57

Open onionymous opened 3 years ago

onionymous commented 3 years ago

The sh module is a subprocess replacement for Python. This might allow arbitrary command execution if user-controlled data is able to flow to some of this module's functions, so we should figure out how to model the functions in this library as RemoteCodeExecution sinks.

Submitting a PR

We use the following linters internally, so to save everyone's time, please make sure you run the following linters locally and fix errors related to the files you modified before submitting a PR:

black && usort format . && flake8

To install the linters, you can run the following command:

pip install flake8 usort black==21.4b2