🐍 Pyscan
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.tomlor, 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.txtpyproject.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)
| File | Size | Uploaded | |
|---|---|---|---|
| pyscan_rs-0.1.2.tar.gz | 31.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|