Skip to main content

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 - 3.13
  • 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


Download files

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

Source Distribution

vulnerability_checker-0.1.4.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

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

vulnerability_checker-0.1.4-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file vulnerability_checker-0.1.4.tar.gz.

File metadata

  • Download URL: vulnerability_checker-0.1.4.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Darwin/24.5.0

File hashes

Hashes for vulnerability_checker-0.1.4.tar.gz
Algorithm Hash digest
SHA256 62e9777205103e5f3010c5fb64c63c65b5ab2197ad71887836a733fc164e59c9
MD5 eb7dee9970f68476c229fd37c1781aef
BLAKE2b-256 a901d0227bc3f1e8861d35fc51d7235a6e980ffe1e323e5462efc974212dbd9c

See more details on using hashes here.

File details

Details for the file vulnerability_checker-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for vulnerability_checker-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0459cabcb68c217dc495354e7eaf1fafa3c6fac706588fac627dc86e4bde8ffc
MD5 bd4e4417970f31d3ebf25d5877a4f0c2
BLAKE2b-256 84abaa26c47aef3cc77e69defef87aa0baf71cf9124a139dbce9aab0cd1f5beb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page