Skip to content

AI-powered security vulnerability detection and remediation. Finds vulnerabilities, generates tests, creates PRs with fixes. 170+ patterns across 7 languages.

License

Notifications You must be signed in to change notification settings

RSOLV-dev/rsolv-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSOLV: Test-First AI Security Fixes

GitHub Marketplace

Ship secure code faster. Every vulnerability proven with a failing test. Every fix validated by making it pass.

Why RSOLV?

  • 🔍 Proof, Not Warnings — We generate a failing test that exploits each vulnerability. Run it yourself—if it fails, it's real. No more investigating scanner maybes.
  • âś… Fixes That Actually Work — Our AI writes fixes that make the exploit test pass. Not "this should fix it"—proof the vulnerability is gone.
  • 🛡️ Regression Protection Built In — That exploit test stays in your codebase forever. The vulnerability can never return silently.
  • đź”§ Your Tools, Your Framework — Tests run in Jest, pytest, RSpec—whatever you already use. No new tooling to learn.

Quick Start

1. Get Your API Key

2. Add API Key to GitHub Secrets

In your repository: Settings → Secrets → New repository secret

  • Name: RSOLV_API_KEY
  • Value: Your API key from step 1

3. Choose Your Workflow

Option A: Simple Scan (Recommended for first-time users)

Detects vulnerabilities and creates GitHub issues. Perfect for getting started.

Create .github/workflows/rsolv-security.yml:

name: RSOLV Security

on:
  push:
    branches: [main]
  pull_request:
  schedule:
    - cron: '0 0 * * 0'  # Weekly scan

jobs:
  security:
    runs-on: ubuntu-latest
    permissions:
      contents: write
      issues: write
      pull-requests: write

    steps:
      - uses: actions/checkout@v4

      - name: RSOLV Security Scan
        uses: RSOLV-dev/rsolv-action@v3
        with:
          rsolvApiKey: ${{ secrets.RSOLV_API_KEY }}
          mode: 'scan'  # Start with scan only (recommended)

Option B: Full Pipeline (Advanced - better control)

Separate jobs for scan, validate, and fix phases with dependencies.

name: RSOLV Full Pipeline

on:
  push:
    branches: [main]
  schedule:
    - cron: '0 0 * * 0'

jobs:
  scan:
    runs-on: ubuntu-latest
    permissions:
      contents: write
      issues: write
    steps:
      - uses: actions/checkout@v4
      - uses: RSOLV-dev/rsolv-action@v3
        with:
          rsolvApiKey: ${{ secrets.RSOLV_API_KEY }}
          mode: 'scan'

  validate:
    needs: scan
    runs-on: ubuntu-latest
    permissions:
      contents: write
      issues: write
    steps:
      - uses: actions/checkout@v4
      - uses: RSOLV-dev/rsolv-action@v3
        with:
          rsolvApiKey: ${{ secrets.RSOLV_API_KEY }}
          mode: 'validate'

  mitigate:
    needs: validate
    runs-on: ubuntu-latest
    permissions:
      contents: write
      issues: write
      pull-requests: write
    steps:
      - uses: actions/checkout@v4
      - uses: RSOLV-dev/rsolv-action@v3
        with:
          rsolvApiKey: ${{ secrets.RSOLV_API_KEY }}
          mode: 'mitigate'

How It Works

RSOLV uses a three-phase test-first methodology:

  1. SCAN - Detects vulnerabilities using 170+ security patterns with AST validation
  2. VALIDATE - Generates executable RED tests that prove vulnerabilities exist
  3. MITIGATE - Applies AI-generated fixes that make the tests pass

Every fix is proven with tests that fail before and pass after—no guesswork.

Configuration Options

Core Inputs

Input Description Required Default
rsolvApiKey RSOLV API key (get at rsolv.dev/signup) Yes -
mode Operation mode: scan, validate, mitigate, or full No scan
github-token GitHub token (auto-provided by Actions) No ${{ github.token }}
max_issues Maximum issues to process per run No 1

Advanced Inputs

Input Description Default
enable_ast_validation Use AST validation to reduce false positives true
executable_tests Generate executable RED tests true
claude_max_turns Max Claude iterations for test generation 5
enable_educational_pr Include security explanations in PRs true
api_url RSOLV API endpoint https://api.rsolv.dev

For complete configuration options, see Documentation.

Security Features

170+ Security Patterns

Enterprise-grade vulnerability detection across 7 languages with OWASP Top 10 coverage:

  • Injection: SQL, NoSQL, Command, LDAP, Template, XPath
  • XSS: React dangerouslySetInnerHTML, innerHTML, document.write
  • Authentication: JWT vulnerabilities, weak sessions, missing auth
  • Access Control: Missing authorization, CSRF, unvalidated redirects
  • Cryptographic Failures: Weak encryption, hardcoded secrets
  • Misconfiguration: CORS, security headers, debug mode
  • Vulnerable Components: Outdated dependencies, dangerous functions
  • SSRF: Server-side request forgery with DNS rebinding protection

Two-Layer Validation

Layer 1: AST Analysis filters the noise before you see it:

  • Comment detection (filters out documentation)
  • String literal analysis (ignores example code)
  • Data flow analysis (validates reachability)

Layer 2: Executable Proof — every vulnerability that passes AST validation gets a generated exploit test. If the test doesn't fail, we don't report it.

Supported: JavaScript, TypeScript, Python, Ruby, Java, PHP, Elixir

Pricing

  • Trial: 5 credits free at signup, 5 more when you add billing
  • Pay As You Go: $29 per fix
  • Pro: $599/month (60 fixes included, then $15/fix for additional)

View detailed pricing

Rate Limits

AST Validation API: 500 requests per hour per API key

This limit applies to vulnerability validation (computationally expensive). Other endpoints (pattern fetching, phase data) have generous limits. Weekly scheduled scans and manual runs work within these limits.

Need higher limits? Contact us at support@rsolv.dev for enterprise plans.

Support & Documentation

Troubleshooting

Common Issues

Pull Request Creation Failures

If RSOLV fails to create a pull request:

  1. Check that the workflow has contents: write and pull-requests: write permissions
  2. Verify the GITHUB_TOKEN is properly configured
  3. Check action logs for specific error messages

File Paths in Issues

Always use relative paths (not absolute) when creating issues:

  • âś… Correct: app/data/allocations-dao.js
  • ❌ Wrong: /app/data/allocations-dao.js

GitHub Actions runs in a containerized environment where absolute paths may fail.

Timeout Issues

For complex vulnerabilities:

  • Default timeout is 60 minutes
  • Consider processing one issue at a time
  • Use mode: scan first to assess scope

For more help, see Documentation or open an issue.

License

Copyright © 2026 RSOLV. All rights reserved.

This software is proprietary. See LICENSE for terms.


Built by test-first engineers. We write the failing test before the fix—in our own code, and now in yours.

About

AI-powered security vulnerability detection and remediation. Finds vulnerabilities, generates tests, creates PRs with fixes. 170+ patterns across 7 languages.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •