Repo onboard for VibeControls
Repo profile detector — picks the right policy bundle on repo.onboard.
vibe plugin install @vibecontrols/vibe-plugin-security-onboard
About this plugin
@vibecontrols/vibe-plugin-security-onboard serves the repo.onboard lifecycle stage. It registers itself with @vibecontrols/vibe-plugin-security under the per-stage provider type security.onboard and the provider name repo-profile-detector. It is a pure-JS detector — it does not wrap an external binary — and walks the repo root for marker files (package.json, go.mod, Cargo.toml, Chart.yaml, manifest.json, pubspec.yaml, capacitor.config.*, main.tf) to infer whether the repo is frontend / backend / cli / mcp / chrome-extension / vscode-extension / mobile / iac / etc.
Wave 2 scaffold — real profile-classification model + policy seeding is pending; see src/provider.ts TODO.
Install
vibe plugin install @vibecontrols/vibe-plugin-security-onboard
vibe security providers set-default --stage repo.onboard --provider repo-profile-detector
Behavior
- Walks
repoLocalPathfor high-precedence marker files in order:capacitor.config.*,pubspec.yaml→mobilemanifest.json→chrome-extensionChart.yaml,main.tf→iacCargo.toml→cligo.mod,package.json→backend
- Emits a single info finding with
category: "config",ruleId: "repo-profile-detector.profile-detected". - The detected profile + all matched markers are JSON-encoded in
rawProviderReffor downstream policy seeders.
Configuration
No per-vibe configuration is required. The detector is idempotent and side-effect-free.
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-onboard - 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-incidentPackage publish
Cosign signing + SLSA provenance at package.publish.
@vibecontrols/vibe-plugin-security-package-publish