Skip to main content

Parikshak — Fast Docker image vulnerability scanner. Finds CVEs, secrets, and misconfigurations.

Project description

Parikshak

Fast Docker image vulnerability scanner. Finds CVEs, secrets, and misconfigurations.

pip install parikshak
parikshak scan nginx:latest

What It Does

$ parikshak scan python:3.12-slim

  parikshak v1.0.0 — scanning python:3.12-slim

  Extracting image...      done (1200ms)
  Detecting packages...    88 packages (45ms)
  Matching advisories...   12 vulnerabilities (700ms)
  Scanning secrets...      0 secrets (180ms)
  Checking misconfigs...   3 issues (25ms)

  ┌─────────────────────────────────────────────────────────────┐
  │  RESULTS: python:3.12-slim                                  │
  ├────────┬────────┬────────┬────────┬────────┬───────────────┤
  │  CRIT  │  HIGH  │  MED   │  LOW   │ TOTAL  │ Secrets/Misc  │
  │   0    │   6    │   8    │   74   │  88    │   0 / 3       │
  └────────┴────────┴────────┴────────┴────────┴───────────────┘

Features

  • Fast — Rust-powered package detection, parallel scanning
  • Accurate — Uses distro-specific advisories (Debian Tracker, Alpine SecDB), not raw NVD
  • More than CVEs — Also finds hardcoded secrets and misconfigurations
  • No daemon needed — Works without Docker daemon (pulls via registry API)
  • Offline mode — Download DB once, scan without internet
  • CI/CD ready — Exit code 1 on critical/high findings, JSON/SARIF output
  • CISA KEV — Flags actively exploited vulnerabilities

Install

pip install parikshak

Usage

# Scan an image
parikshak scan nginx:latest
parikshak scan python:3.12-slim --severity HIGH,CRITICAL

# Output formats
parikshak scan nginx:latest --format json
parikshak scan nginx:latest --format sarif
parikshak scan nginx:latest --format csv

# CI/CD mode (exit 1 if critical/high found)
parikshak scan nginx:latest --exit-code 1 --severity CRITICAL,HIGH

# Offline mode
parikshak db update
parikshak scan nginx:latest --offline

# SBOM generation
parikshak sbom nginx:latest --format cyclonedx
parikshak sbom nginx:latest --format spdx

GitHub Actions

- name: Scan container image
  run: |
    pip install parikshak
    parikshak scan myapp:${{ github.sha }} --exit-code 1 --severity CRITICAL,HIGH

Advisory Database

Powered by vuln-intel-db — aggregates advisories from Debian, Alpine, GHSA, CISA KEV, EPSS. Updated every 6 hours.

License

Apache 2.0

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

parikshak-1.0.4.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

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

parikshak-1.0.4-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file parikshak-1.0.4.tar.gz.

File metadata

  • Download URL: parikshak-1.0.4.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for parikshak-1.0.4.tar.gz
Algorithm Hash digest
SHA256 bdd8993b66375068100ad39e52e6fb94520ea15c1592832c9737107377d4db11
MD5 8113ae4800a24bf32426579840acf11a
BLAKE2b-256 10d3d46407148171647dfdec21d64c7a134ad975b3deba6d816890b253d7812b

See more details on using hashes here.

File details

Details for the file parikshak-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: parikshak-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for parikshak-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cea64a5b2c597af3611cee150af8fe197b8847511fa748e9b94ce25102474fc8
MD5 c6adad0f27d744abf06dab6435387ffa
BLAKE2b-256 222f3260f5e0ff9ae9f3170f4572844e542f70d7867e1739c9fb93104c94ed23

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