Secrets (PR) for VibeControls
Gitleaks-backed secret scanner for pull_request.fast — fail fast on PR.
vibe plugin install @vibecontrols/vibe-plugin-security-secrets-pr
About this plugin
Gitleaks-backed secret scanner for the pull_request.fast lifecycle stage in VibeControls.
Registers itself with @vibecontrols/vibe-plugin-security under the per-stage provider type security.secrets and the provider name gitleaks. When the user picks "Gitleaks" as their default provider for pull_request.fast (or any other supported stage), the security meta plugin dispatches scan runs to this provider.
Install
vibe plugin install @vibecontrols/vibe-plugin-security-secrets-pr
vibe security providers set-default --stage pull_request.fast --provider gitleaks
The plugin downloads the Gitleaks binary automatically on first use (sha256-verified per platform) into ~/.boff/vibecontrols/agents/<profile>/tools/gitleaks/.
Behavior
- Output format: SARIF v2.1.0 via
--report-format=sarif --report-path=<workdir>/gitleaks.sarif - Scans the working tree at
repoLocalPath; if--depthis configured, restricts to that many commits of history (default 200) - Findings normalized to
category: "secret"withseverityderived fromproperties.severity(Gitleaks rule field) when present, falling back to SARIF level - Secret samples redacted before persistence: only the sha256 + first-4 + last-4 chars are stored
Configuration
Per-vibe config (stored in RepositorySecurityConfig.pluginAssignments["pull_request.fast"].config):
provider: gitleaks
config:
configPath: .gitleaks.toml # optional, repo-local config file
ignorePath: .gitleaksignore # optional, ignored matches re-reported as info
historyDepth: 200 # commits of history to scan
extraArgs: [] # additional CLI flags
Use it in 30 seconds
- Make sure the agent is running:
vibe start - Install the meta first:
vibe plugin install @vibecontrols/vibe-plugin-security - Install this plugin:
vibe plugin install @vibecontrols/vibe-plugin-security-secrets-pr - List installed plugins:
vibe plugin list
Other Security plugins
Archive Offboard
Writes tombstone.json evidence at archive.offboard for SOC2/ISO retention proofs.
@vibecontrols/vibe-plugin-security-archiveDAST (preview)
OWASP ZAP baseline DAST scan against alpha preview URLs at deploy.preview.
@vibecontrols/vibe-plugin-security-dast-previewDeploy alpha smoke
TLS / HSTS / CSP smoke checks for alpha environment URLs at deploy.alpha.
@vibecontrols/vibe-plugin-security-deploy-alphaDeveloper local
Local pre-commit secrets scanner (gitleaks protect) — runs on the developer machine.
@vibecontrols/vibe-plugin-security-developer-localIncident response
Targeted incident-response scanner for incident.response lifecycle stage.
@vibecontrols/vibe-plugin-security-incidentRepo onboard
Repo profile detector — picks the right policy bundle on repo.onboard.
@vibecontrols/vibe-plugin-security-onboard