RICO.

Documentation

Learn how to use Rico's four core actions to scan, test, and secure your API endpoints. Each action is designed to work independently or as part of a complete security testing pipeline.

Quick Overview

ActionPurposeCommand
ScanDiscover & classify endpointsrico scan <url>
AttackRun AI-planned security testsrico attack <url>
ReportGenerate security reportsrico report <url>
CallMake targeted API requestsrico call <url>

Actions in Detail

Scan

The Scan action crawls a target API URL and discovers all available endpoints. It analyzes response structures, HTTP methods, authentication requirements, and parameter types. The AI engine then classifies each endpoint to understand its purpose and data sensitivity.

Usage

$ rico scan <target_url> [options]

Options

--depth <n>Maximum crawl depth (default: 3)
--auth <token>Bearer token for authenticated scanning
--output <file>Save results to a JSON file

Example Output

{
  "target": "https://api.example.com",
  "endpoints": [
    {
      "path": "/api/v1/users",
      "method": "GET",
      "classification": "user-data",
      "auth_required": true,
      "parameters": ["page", "limit"]
    },
    {
      "path": "/api/v1/users/{id}",
      "method": "GET",
      "classification": "user-data",
      "auth_required": true,
      "parameters": ["id"]
    },
    {
      "path": "/api/v1/login",
      "method": "POST",
      "classification": "authentication",
      "auth_required": false,
      "parameters": ["username", "password"]
    }
  ],
  "total_endpoints": 3,
  "scan_time": "2.4s"
}