Security plugins
Secrets (PR) (Security provider)

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
Secrets (PR) — VibeControls plugin illustration

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 --depth is configured, restricts to that many commits of history (default 200)
  • Findings normalized to category: "secret" with severity derived from properties.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

  1. Make sure the agent is running: vibe start
  2. Install the meta first: vibe plugin install @vibecontrols/vibe-plugin-security
  3. Install this plugin: vibe plugin install @vibecontrols/vibe-plugin-security-secrets-pr
  4. List installed plugins: vibe plugin list

We use cookies for essential site functions and, with your consent, for analytics to improve VibeControls. We don't use advertising or cross-site tracking cookies. See our Cookie Policy.

Preferences