Skip to main content

🐍 Pyscan

CI Liscense PyPI GitHub issues Top Language

A dependency vulnerability scanner for your python projects, straight from the terminal.
  • 🚀 blazingly fast scanner that can be used within large projects quickly.
  • 🤖 automatically uses requirements.txt, pyproject.toml or, the source code (highly discouraged)
  • 🧑‍💻 can be integrated into existing build processes.
  • 💽 In its alpha stage, some features may not work correctly. PRs and issue makers welcome.

🕊️ Install

> pip install pyscan-rs

look out for the "-rs" part or

> cargo install pyscan

check out the releases.

🐇 Usage

Go to your python source directory (or wherever you keep your requirements.txt/pyproject.toml) and run:

> pyscan

or

> pyscan -d path/to/src

Docker

Pyscan can scan inside docker images given you provide the correct path inside. This is still in its early stage and may break easily.

> pyscan docker -n my-docker-image -p /path/inside/container/to/source

by "source" I mean requirements.txt, pyproject.toml or your python files. Note: Your docker engine/daemon should be running as pyscan utilizes the docker create command.


Here's the order of precedence for a "source" file:
  • requirements.txt
  • pyproject.toml
  • your python source code (.py) [highly discouraged]

Pyscan will find dependency versions from pip if not provided within the source file. Even though, Make sure you version-ize your requirements and use proper pep-508 syntax.

🦀 Note

pyscan uses OSV as its database for now. There are plans to add a few more.

pyscan doesn't make sure your code is safe from everything. Use all resources available to you like Dependabot, pip-audit or trivy.

🐰 Todo

  • get it working.
  • add tests. [coming soon]
  • query individual python packages. [v0.1.1]
  • perfomance optimizations.
  • scan docker images [v0.1.2]
  • scan code health. [coming soon]

🐹 Sponsor

While not coding, I am a broke high school student with nothing else to do. I appreciate all the help I'm worthy of.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyscan_rs-0.1.3.tar.gz (31.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyscan_rs-0.1.3-py3-none-win_amd64.whl (3.4 MB view details)

Uploaded Python 3Windows x86-64

File details

Details for the file pyscan_rs-0.1.3.tar.gz.

File metadata

  • Download URL: pyscan_rs-0.1.3.tar.gz
  • Upload date:
  • Size: 31.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.15.1

File hashes

Hashes for pyscan_rs-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ff39b4b2f3e50b1d9e6d862ee706f954fa663f964dd576a0581909ed665ee41d
MD5 909d20f1708e2ab76ab88c7f39184084
BLAKE2b-256 6ab28f27e57fc6705e6429c1265cb84db6673434686594dbad88f8fe22cdfa2b

See more details on using hashes here.

File details

Details for the file pyscan_rs-0.1.3-py3-none-win_amd64.whl.

File metadata

  • Download URL: pyscan_rs-0.1.3-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.15.1

File hashes

Hashes for pyscan_rs-0.1.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 86493deee35f853431d2f1c65d60dde8270f15bd1b8816b4c74042bc53e492cb
MD5 a675122d84efa4349fa281ee7fb70731
BLAKE2b-256 1aaf55c9952a5c7489e64169ea6f0ad93dc6b94fa3a27795040f0a8005fa6218

See more details on using hashes here.

Release history Release notifications | RSS feed

2.1.3

14 files

2.1.2

14 files

2.1.1

14 files

2.1.0

14 files

2.0.0

14 files

0.1.8

13 files

0.1.7

6 files

0.1.6

6 files

0.1.5

5 files

0.1.4

2 files

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page