cboyd0319/PyGuard Security Scanner

Comprehensive Python security and code quality analysis with auto-fix capabilities.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
pathsPaths to scan (space-separated). Supports files and directories. Example: "src/ app.py lib/"no.
python-versionPython version to use for scanning. Should match your project version. Supports 3.11, 3.12, 3.13.no3.13
scan-onlyOnly scan without fixing issues. Recommended for CI/CD to avoid code changes. Set to "false" to enable auto-fix.notrue
security-onlyOnly run security checks, skipping code quality analysis. Faster scans focused on vulnerabilities.nofalse
severityMinimum severity level to report (LOW, MEDIUM, HIGH, CRITICAL). Higher levels filter out lower severity issues.noLOW
excludeFile patterns to exclude from scanning (space-separated). Supports glob patterns. Example: "tests/* *.pyc __pycache__/*"notests/* venv/* .venv/* build/* dist/* .git/* .github/* node_modules/*
sarif-fileOutput SARIF file path for GitHub Code Scanning integration. Must end in .sarifnopyguard-report.sarif
upload-sarifUpload SARIF results to GitHub Security tab. Requires security-events: write permission.notrue
fail-on-issuesFail the workflow if security issues are found. Useful for security gates on pull requests.nofalse
unsafe-fixesEnable unsafe auto-fixes that may change code behavior. WARNING: Only use with scan-only=false. Review changes carefully!nofalse
namedescription
issues-foundNumber of security issues found
sarif-filePath to generated SARIF report