> ## Documentation Index
> Fetch the complete documentation index at: https://docs.perfai.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Perfai Security autonomously detects broken access controls across every role, workflow, and API endpoint in your application — before attackers do.

## What is Perfai Security?

Perfai Security is an autonomous application security platform that maps every UI workflow, API endpoint, and user role in your app, then systematically tests all permission combinations to surface broken access controls. Where manual pen testing covers a fraction of your attack surface, Perfai covers it entirely — automatically.

## The Problem

<Warning>
  Broken access controls are the **#1 risk on the OWASP Top 10** and affect **100% of applications** with more than one user role. They are consistently the most common, most impactful, and hardest-to-find vulnerability class in modern web applications.
</Warning>

Traditional security approaches fall short:

* **Manual pen testing** is slow, expensive, and covers only a narrow slice of your attack surface
* **Static analysis tools** can't reason about runtime permission behavior
* **DAST scanners** test URLs and inputs, but miss role-based access logic entirely
* **Role matrix spreadsheets** go stale the moment your app changes

The result: critical privilege escalation, IDOR, and horizontal access vulnerabilities slip through to production — and into the hands of attackers (or bug bounty hunters).

## How Perfai Works

Perfai uses two coordinated AI agents that work together to fully map and then systematically break your application's permission model.

<Steps>
  <Step title="Vision Agent: Learn Your App">
    The Vision Agent navigates your application like a real user. It discovers and documents:

    * **UI Workflows** — every screen, action, and user journey (up to 60 per app)
    * **API Endpoints** — every backend call triggered by those workflows (up to 130 per app)
    * **Data Ownership** — which data objects belong to which users and roles

    No integration, no code instrumentation, no browser plugins required. Just your app URL.
  </Step>

  <Step title="Security Agent: Test Every Permission">
    The Security Agent takes the map built by the Vision Agent and tests it exhaustively across every role combination:

    ```
    60 UI Workflows × 130 API Endpoints × 6 Roles = 20,000+ permission tests
    ```

    It checks for privilege escalation, IDOR, horizontal access bypass, unauthenticated access, and broken object-level authorization — fully automated.
  </Step>

  <Step title="Review Issues and Export">
    Every finding is surfaced with full reproduction steps, the affected endpoint, the role that triggered it, the expected vs. actual behavior, and a severity rating. Export a compliance-ready report in one click.
  </Step>
</Steps>

## Who Is Perfai For?

<CardGroup cols={2}>
  <Card title="Developers & Vibe Coders" icon="code">
    Catch access control bugs before they leave your machine. Perfai integrates into your development workflow and gives you a security test suite that runs as fast as your app changes.
  </Card>

  <Card title="Security Teams" icon="shield">
    Replace slow manual testing with continuous, automated coverage. Get a full attack surface map and reproducible findings — not just a list of URLs.
  </Card>

  <Card title="AppSec Engineers" icon="magnifying-glass">
    Go deep on broken access control — the vulnerability class most scanners miss. Perfai is purpose-built for BOLA, IDOR, privilege escalation, and role-based authorization failures.
  </Card>

  <Card title="Compliance Teams" icon="clipboard-check">
    Generate audit-ready reports mapped to OWASP Top 10, SOC 2, and ISO 27001 controls. Demonstrate continuous security testing with exportable evidence.
  </Card>
</CardGroup>

## Results

<CardGroup cols={3}>
  <Card title="250+" icon="chart-bar">
    Applications tested on the Perfai platform
  </Card>

  <Card title="17,000+" icon="bug">
    Critical vulnerabilities surfaced and reported
  </Card>

  <Card title="$13M+" icon="dollar-sign">
    In bug bounty value identified before public disclosure
  </Card>
</CardGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/docs/quickstart">
    Go from zero to your first security scan in under 5 minutes.
  </Card>

  <Card title="Core Concepts" icon="book" href="/docs/core-concepts/apps">
    Understand how Perfai models apps, workflows, roles, and issues.
  </Card>

  <Card title="Dashboard" icon="gauge" href="https://cloud.perfai.ai">
    Sign in and start testing your first app.
  </Card>
</CardGroup>
