werwty / dependency-analysis-pypi

The Unlicense
0 stars 0 forks source link

POC of running multiple scanners on a package #8

Open werwty opened 4 years ago

werwty commented 4 years ago

Here's how wen can run a scanner:

  1. Install the package poetry add package-name
  2. Find the location of the venv poetry env info
  3. the package should be at $venv/lib/python*/site-packages/package-name/

Some potential scanners we can use are: https://github.com/PyCQA/bandit https://github.com/jendrikseipp/vulture https://coverage.readthedocs.io/en/coverage-5.0.4/

Most of these will take in the code location as an argument.

Open questions: