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.


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.

Metadata

Release files for pyscan-rs 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyscan-rs 0.1.2
File Size Uploaded
pyscan_rs-0.1.2.tar.gz 31.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyscan-rs 0.1.2
File Interpreter ABI Platform
pyscan_rs-0.1.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details

Total release size: 3.5 MB

Release files / pyscan_rs-0.1.2.tar.gz

Download URL pyscan_rs-0.1.2.tar.gz
Size 31.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c48501ac0993681a6992ef99ea75a54549279bc5779f3038574d0851b3df37da
BLAKE2b-256 checksum
How to use checksums
39ce15bca86b5801095641308dde846f63f2156cc61711f1eec5c85bbe834b29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.15.1

Release files / pyscan_rs-0.1.2-py3-none-win_amd64.whl

Download URL pyscan_rs-0.1.2-py3-none-win_amd64.whl
Size 3.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
f1b8e62726dbd4bee8fa4e67216b501ca6b598e7c313a820a5610f20240bbd25
BLAKE2b-256 checksum
How to use checksums
bf633983ca93aceb1d71968f2c9da803183e4edd5f30f5fb7e4fc6b65b3ff00e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.15.1

Release history Release notifications | RSS feed

2.1.2

14 release files

2.1.1

14 release files

2.1.0

14 release files

2.0.0

14 release files

0.1.8

13 release files

0.1.7

6 release files

0.1.6

6 release files

0.1.5

5 release files

0.1.4

2 release files

0.1.3

2 release files

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release 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