pare-security

v0.24.2
io.github.Dave-London/pare-security Checked 3 hours ago Published 3 days ago

Pare Security -- Structured security scanning (Trivy) as typed JSON.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

trivy Trivy Security Scanner

Runs Trivy vulnerability/misconfiguration scanner on container images, filesystems, or IaC configs. Returns structured vulnerability data with severity summary.

ParameterTypeDescription
target *stringScan target: image name (e.g. 'alpine:3.18') or filesystem path
compactbooleanPrefer compact output
exitCodenumberExit code when vulnerabilities are found (--exit-code)
ignoreUnfixedbooleanOnly show vulnerabilities with known fixes
ignorefilestringPath to custom .trivyignore file (--ignorefile)
pathstringWorking directory
platformstringPlatform for multi-arch image scanning (--platform, e.g., "linux/amd64")
scanTypestringScan type
scannersarrayScanner types to enable (--scanners)
severitySeverity filter (single value or array)
skipDbUpdatebooleanSkip vulnerability database update for faster scans (--skip-db-update)
skipDirsarrayDirectories to skip during scanning (--skip-dirs)
skipFilesarrayFiles to skip during scanning (--skip-files)
vulnTypearrayVulnerability types to scan (--vuln-type)

semgrep Semgrep Static Analysis

Runs Semgrep static analysis with structured rules and findings. Returns structured finding data with severity summary.

ParameterTypeDescription
autofixbooleanAutomatically apply suggested fixes (--autofix)
baselineCommitstringBaseline commit for differential scanning in PR workflows (--baseline-commit)
compactbooleanPrefer compact output
configSemgrep config/ruleset(s). String or string[] for multiple configs (e.g., "auto", "p/security-audit", ["p/owasp-top-ten", "p/cwe-top-25"]). Default: "auto"
dataflowTracesbooleanInclude dataflow traces for taint analysis findings (--dataflow-traces)
dryrunbooleanPreview autofix changes without applying them (--dryrun)
excludearrayGlob patterns to exclude from scanning (--exclude)
excludeRulearrayRule IDs to suppress (--exclude-rule, for known false positives)
includearrayGlob patterns to include in scanning (--include)
jobsnumberNumber of parallel jobs for scanning (--jobs)
maxTargetBytesnumberMaximum file size in bytes to scan, skip larger files (--max-target-bytes)
pathstringWorking directory
patternsarrayFile patterns or paths to scan (default: ['.'])
severitystringSeverity filter. Default: all severities

gitleaks Gitleaks Secret Detection

Runs Gitleaks to detect hardcoded secrets in git repositories. Returns structured finding data with redacted secrets.

ParameterTypeDescription
baselinePathstringPath to baseline report for differential scanning (--baseline-path)
compactbooleanPrefer compact output
configstringPath to custom gitleaks rule file (--config)
enableRulearrayEnable specific rules by ID (--enable-rule, e.g., ['aws-access-key'])
exitCodenumberExit code when findings are detected (--exit-code)
followSymlinksbooleanFollow symbolic links during scan (--follow-symlinks)
logLevelstringLog level for gitleaks output (--log-level, e.g. 'debug', 'info', 'warn', 'error')
logOptsstringGit log options for scanning specific commit ranges/time windows (--log-opts, e.g., '--since=2024-01-01')
maxTargetMegabytesnumberSkip files larger than this size in MB (--max-target-megabytes)
noGitbooleanScan files without git history (--no-git). Useful for scanning non-git directories.
pathstringRepository path. Authoritative — when omitted, the server uses its own process working directory (its launch dir, not the caller's cwd). Callers in a git worktree or other directory MUST pass this e…
redactbooleanRedact raw secrets in output (--redact). Defaults to true to prevent secret leakage to LLM context.
verbosebooleanEnable verbose output from gitleaks