Library for detecting vulnerabilities in Python code
Project description
Vulnerability Checker
A library for detecting vulnerabilities in Python code. Designed for integration with CI/CD systems such as GitLab CI/CD. Supports Python 3.8 and above.
Features
- Static code analysis to detect security vulnerabilities
- Dependency checking for known vulnerabilities
- Analysis of insecure code constructs
- Returns non-zero exit code when issues are found
- Generates detailed vulnerability reports
Requirements
- Python 3.8 or higher
- Dependencies listed in pyproject.toml (automatically installed with the package)
Installation
pip install vulnerability-checker
Usage
Command Line
# Basic directory analysis
vulncheck /path/to/your/project
# Analysis with JSON report generation
vulncheck /path/to/your/project --output report.json
# Check only specific vulnerability types
vulncheck /path/to/your/project --checks sql-injection,xss,dependency-check
GitLab CI/CD Integration
security_check:
stage: test
script:
- pip install vulnerability-checker
- vulncheck . --output report.json --exit-on-issues
artifacts:
paths:
- report.json
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vulnerability_checker-0.1.3.tar.gz.
File metadata
- Download URL: vulnerability_checker-0.1.3.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.3 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d01619b3071b5526f8a64963c23e5c0800d0737fb52cc2f94f2287130fe06c6a
|
|
| MD5 |
0bb349d35538e5b115aaae40f8b004c6
|
|
| BLAKE2b-256 |
0338a04e2310c38ee770bb1c25aecc6a96647b5e7ed7a3c3b44d7258faf95743
|
File details
Details for the file vulnerability_checker-0.1.3-py3-none-any.whl.
File metadata
- Download URL: vulnerability_checker-0.1.3-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.3 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64dbffca7af41cea03114dc27e32c219d7fa37e4cc5cd157dab412d39504dc37
|
|
| MD5 |
a69c4029edf8d129fba7875b91473543
|
|
| BLAKE2b-256 |
895bf9147872c548fdb0fd3dce5260a8933b914d25370965017b5bba676c4279
|