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.1.tar.gz (17.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.1-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vulnerability_checker-0.1.1.tar.gz
  • Upload date:
  • Size: 17.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.1.tar.gz
Algorithm Hash digest
SHA256 120604ab1bcb5aeaff8b61371d1ba670f46fb0d362eb39777c2c6021408e66f1
MD5 d39bff15e5bb3e130a865bd4b64a4232
BLAKE2b-256 15946d4fe49a33b663c513abc25195ed0ef0357453711f6f158fe8a578ffe745

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vulnerability_checker-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 10dfd298c274f886bb94f7f5b1a4aea767dc0db5e1ef4b23750abe94b14e0ef7
MD5 5bb7c478f16ce81e46f1617ed25e994f
BLAKE2b-256 b8a5768d235b54575e93125a053caf88e2b1717568ac252923d68118cf85224d

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