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


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.2.tar.gz (15.8 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.2-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vulnerability_checker-0.1.2.tar.gz
  • Upload date:
  • Size: 15.8 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.2.tar.gz
Algorithm Hash digest
SHA256 168d69979ba9df452efcb064948cf307d283599c31b0706282606dd4aabd4a28
MD5 61267ef40683ca28113c8a1fc3d1284e
BLAKE2b-256 9280051137706de05239cceb7a09590003b09f72818f4579bf76d26db99dc551

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vulnerability_checker-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1611fe9a864f854bd478001f7555124b96d7bf7c41974147b8c2344225555b81
MD5 f1c2c4929e72e162cc6bcaae39ae1182
BLAKE2b-256 4497c04793369fa415bdb7bb855c75cd50baa24033c69781212e4172e31ddf78

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