Security Agents

Security Agents scan your codebase for vulnerabilities, misconfigurations, and secrets — and can automatically remediate them. Run on-demand or on a continuous schedule.

Security agents vs Bugbot

Bugbot reviews individual pull requests as they're opened. Security Agents run deep scans across your entire codebase on a schedule. Both are complementary.

What they detect

Setting up

1

Enable Security Agents

Go to Settings → Cloud Agents → Security and enable security scanning for each repository.

2

Configure scan schedule

Set a scan frequency:

  • On every push to main
  • Daily (recommended)
  • Weekly
yaml
# .vyre/security.yaml
security:
  schedule: daily
  notify:
    slack: "#security-alerts"
    email: "security@company.com"
3

Set up notifications

Configure where findings are reported: GitHub Security Advisories, Slack, or a custom webhook.

Automated remediation

Security Agents can automatically fix certain categories of findings:

Dependency updates

When a vulnerable dependency is found, Agent can:

  1. Update the package to the patched version
  2. Run your test suite to verify nothing breaks
  3. Open a PR with the fix titled "security: update [package] to [version]"

Enable in .vyre/security.yaml:

yaml
auto_remediate:
  vulnerable_dependencies: true
  require_tests_pass: true
Secret rotation

When a hardcoded secret is found, Security Agent:

  1. Opens a high-priority issue flagging the secret
  2. Does NOT auto-rotate (rotation requires human judgment)
  3. Provides step-by-step rotation instructions in the issue