How giordano10/vcsp works
VCSP Guard is a local security and quality toolkit for AI-assisted development. Its two main workflows are initializing project guardrails (a Git pre-commit hook and optional AI configuration) and scanning an existing project, with results saved for later trend charts. The scan advertises secret detection, code and dependency audits, IaC/CWE checks, linting, and unused-dependency analysis. Scanner implementation details are partly omitted, so the scan stages and integrations below rely on the README’s capability descriptions; charting and hook setup are supported by the shown source.
Main entry points: scan_project.py Project scanner · install_hooks.py Initialize guard · generate_stats.py Trend charts · .vibe AI configuration
Components 17
Project setup
- Initialize guard
src/vcsp_guard/install_hooks.py - Pre-commit hook
src/vcsp_guard/install_hooks.py - AI configuration
src/vcsp_guard/.vibe
Security scanning
- Project scanner
src/vcsp_guard/scan_project.py - Secret checks
src/vcsp_guard/scan_project.py - Code security
src/vcsp_guard/scan_project.py - Dependency audit
src/vcsp_guard/scan_project.py - Quality lint
src/vcsp_guard/scan_project.py - IaC analysis
src/vcsp_guard/scan_project.py - CWE Top 25
src/vcsp_guard/scan_project.py - Unused dependencies
src/vcsp_guard/scan_project.py
Scan history
- Scan logs
src/vcsp_guard/scan_project.py - Trend charts
src/vcsp_guard/generate_stats.py - Trend image
Other components
- Developer
- Git commit
- Audit tools
Connections 17
- Developer → Initialize guard: runs init
README.md - Initialize guard → Pre-commit hook: installs hook
src/vcsp_guard/install_hooks.py - Initialize guard → AI configuration: copies selections
src/vcsp_guard/install_hooks.py - Git commit → Pre-commit hook: intercepts commit
README.md - Developer → Project scanner: runs scan
README.md - Project scanner → Secret checks: checks secrets
README.md - Project scanner → Code security: checks code
README.md - Project scanner → Dependency audit: audits dependencies
README.md - Project scanner → Quality lint: checks quality
README.md - Project scanner → IaC analysis: scans IaC
README.md - Project scanner → CWE Top 25: checks CWE
README.md - Project scanner → Unused dependencies: checks usage
README.md - Project scanner → Audit tools: uses scanners
README.md - Project scanner → Scan logs: writes reports
README.md - Developer → Trend charts: runs stats
README.md - Trend charts → Scan logs: reads history
src/vcsp_guard/generate_stats.py - Trend charts → Trend image: generates chart
src/vcsp_guard/generate_stats.py