PYPI PACKAGE AUDIT
v0.2.0
Necesita Mejoras
patchops-guard
PatchOps Guard CLI: SBOM, escaneos y correcciones de IA desde su terminal.
555
/ 1000
Instalación Rápida
pip install patchops-guard
1. Gobernanza
50/200
2. Metadatos PEP
200/200
3. Seguridad
150/200
4. Docs y SEO
155/200
5. Ingeniería CI
0/200
📣 Compartir Auditoría:
Comparte este informe y la vista previa en el idioma actual
TELEMETRÍA PYPI
Descargas y Adopción en la Comunidad
Últimos 30 días (sin espejos)
Últimos 7 días
115
Últimos 30 días
115
Total (180 días)
115
Análisis de Salud e Ingeniería (5 Pilares)
1. Gobernanza y Comunidad50 / 200 ▾
LICENSE✓ 50 pts
SECURITY.md✕ 0 pts
CONTRIBUTING.md✕ 0 pts
CODE_OF_CONDUCT.md✕ 0 pts
2. Metadatos y Empaquetado PEP200 / 200 ▾
Wheel (.whl)✓ 50 pts
pyproject.toml✓ 50 pts
Project URLs✓ 50 pts
Trove Classifiers✓ 50 pts
3. Seguridad y Cadena de Suministro150 / 200 ▾
Cero CVEs (OSV)✓ 60 pts
Trusted Publishing (OIDC)✕ 0 pts
Snyk / Audit Link✓ 40 pts
Repositorio HTTPS✓ 50 pts
4. Documentación, SEO y Ecosistema155 / 200 ▾
README Estructurado✓ 60 pts
Read the Docs✓ 50 pts
Django Packages✕ 0 pts
Sitio Web / Artículos Técnicos✓ 45 pts
5. Ingeniería, CI y Calidad0 / 200 ▾
Pruebas Automatizadas✕ 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
Documentación Oficial y Guía de Uso — patchops-guard
Mostrar documentación original completa (README en inglés) ▾
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