PYPI PACKAGE AUDIT
v0.2.0
Needs Improvement
patchops-guard
PatchOps Guard CLI โ SBOM, scans, and AI fixes from your terminal.
555
/ 1000
Quick Install
pip install patchops-guard
1. Governance
50/200
2. PEP Metadata
200/200
3. Security
150/200
4. Docs & SEO
155/200
5. CI Engineering
0/200
๐ฃ Share Audit:
Share this report and visual preview in the current language
PYPI TELEMETRY
Downloads & Community Adoption
Last 30 days (without mirrors)
Last 7 days
115
Last 30 days
115
Total (180 days)
115
Health & Engineering Analysis (5 Pillars)
1. Governance & Community50 / 200 โพ
LICENSEโ 50 pts
SECURITY.mdโ 0 pts
CONTRIBUTING.mdโ 0 pts
CODE_OF_CONDUCT.mdโ 0 pts
2. PEP Metadata & Packaging200 / 200 โพ
Wheel (.whl)โ 50 pts
pyproject.tomlโ 50 pts
Project URLsโ 50 pts
Trove Classifiersโ 50 pts
3. Security & Supply Chain150 / 200 โพ
Zero CVEs (OSV)โ 60 pts
Trusted Publishing (OIDC)โ 0 pts
Snyk / Audit Linkโ 40 pts
HTTPS Repositoryโ 50 pts
4. Documentation, SEO & Ecosystem155 / 200 โพ
Structured READMEโ 60 pts
Read the Docsโ 50 pts
Django Packagesโ 0 pts
Website / Technical Articlesโ 45 pts
5. Engineering, CI & Quality0 / 200 โพ
Automated Testsโ 0 pts
GitHub Actions CIโ 0 pts
CHANGELOG.mdโ 0 pts
Env & Lockfile (uv/rye/poetry/pdm/hatch)โ 0 pts
README & DOCS
PyPI Metadata v0.2.0
Official Documentation & Usage Guide โ patchops-guard
Show full original documentation (English README) โพ
patchops CLI
Official command-line interface for PatchOps Guard โ SBOM generation, CVE scanning, and AI-driven fix jobs without leaving your terminal.
Install
pip install patchops-guard
Or install from source:
git clone https://github.com/superlabs-x/patchops-guard
pip install -e cli/
Authentication
patchops auth login --api-key pk_live_...
patchops auth status
patchops auth logout
Credentials are stored with permissions 0600 at:
- Linux / macOS:
~/.config/patchops/config.toml - Windows:
%APPDATA%\patchops\config.toml
Environment variables take precedence:
PATCHOPS_API_KEYโ bearer tokenPATCHOPS_BASE_URLโ API host (defaulthttps://patchguard.ai)
Scans
# Auto-detect: URL, lockfile, or docker image
patchops scan auto package-lock.json
patchops scan auto https://example.com
patchops scan auto nginx:1.25
# Explicit commands
patchops scan manifest package-lock.json --format json --output scan.json
patchops scan website https://example.com --fail-on-severity high
patchops scan docker nginx:1.25 --format sarif --output scan.sarif
Common flags:
--format json|table|sarifโ output shape (defaulttable)--output FILEโ write to file (stdout is default)--severity critical|high|medium|lowโ show only findings at or above--fail-on-severity SEVERITYโ exit non-zero when met (CI-friendly)
Findings
patchops findings list --status open --severity high
patchops findings get <finding-uuid>
AI Repair
patchops repair start <finding-uuid> --wait
patchops repair status <job-uuid>
patchops repair list --status completed
SBOM
# Emit CycloneDX 1.6 JSON from a lockfile
patchops sbom generate package-lock.json --output sbom.json
# Upload an SBOM for OSV vulnerability matching
patchops sbom upload sbom.json
Supported lockfiles: package-lock.json, package.json, requirements.txt,
Pipfile.lock, pom.xml, go.mod, Gemfile.lock, Cargo.lock,
composer.lock.
Exit codes
0โ success1โ general error (network, API, IO)2โ usage error (bad argument, missing auth)10-13โ--fail-on-severitythreshold hit (low / medium / high / critical)
License
MIT