Autonomous AI Pentester โ find vulnerabilities before hackers do
Project description
๐ฅ Briar โ Autonomous AI Pentester
Find vulnerabilities before hackers do. Free. Open Source. No Docker required.
Briar is an autonomous AI pentester. It scans web applications, injects real payloads, validates exploits, and generates professional security reports โ powered by 11 AI providers including a completely free local mode via Ollama.
Quick Start
pip install briar
briar setup # Pick your AI provider (Ollama = free)
briar scan -u https://target.com --quick
briar serve # Web dashboard โ http://localhost:8233
Features
| Category | Details |
|---|---|
| ๐ค 11 AI Providers | Ollama (free, local), OpenAI, Claude, DeepSeek, Groq, Mistral, xAI/Grok, Google/Gemini, OpenRouter, Together, Custom |
| ๐ก๏ธ 10 OWASP Agents | Recon, Injection, XSS, SSRF, Auth, AuthZ, CSRF, Upload, Traversal, RCE, API, Secrets |
| ๐ฏ No Exploit, No Report | Every High/Critical finding is replayed and confirmed before reporting |
| ๐ Blackbox + Whitebox | Works with just a URL. Add -r /path/to/source for code-aware analysis |
| ๐ก Port Scanning | 24 common ports scanned during recon phase |
| ๐ Reports | Markdown, Word (.docx), Excel (.xlsx), Obsidian vault + canvas mindmap |
| ๐จ Slides | PowerPoint (.pptx) + HTML presentation |
| ๐ Charts | Severity pie chart, agent bar chart |
| ๐ Dashboard | Web UI on port 8233 (FastAPI) with scan launcher |
| ๐พ Workspaces | Resume interrupted scans, checkpoint after every agent |
| โ๏ธ YAML Config | Authenticated scanning, login flows, custom rules (avoid/focus paths) |
| ๐ณ No Docker Required | Native Python. pip install and go. Docker optional for server mode. |
Usage
# Quick scan (4 agents)
briar scan -u https://target.com --quick
# Standard scan (8 agents)
briar scan -u https://target.com
# Deep scan (all 12 agents + browser exploits)
briar scan -u https://target.com --deep
# With source code (whitebox mode)
briar scan -u https://target.com -r /path/to/repo
# With DeepSeek provider (set env var first)
export DEEPSEEK_API_KEY=sk-xxx
briar scan -u https://target.com -p deepseek
# With config file (authenticated scanning)
briar scan -c juice-shop.yaml
# Resume an interrupted scan
briar scan --resume workspace-name
# List saved workspaces
briar workspaces
Config File (YAML)
# juice-shop.yaml โ example for OWASP Juice Shop
target:
url: http://localhost:3000
provider: deepseek
mode: deep
output: ./reports/juice-shop
authentication:
login_url: /rest/user/login
method: json
credentials:
email: test@test.com
password: test123
success_condition: "status=200"
rules:
avoid:
- path: /logout
- path: /score-board
focus:
- path: /api
- path: /rest
Architecture
briar/
โโโ agents/ 12 security agents (recon, injection, xss, ssrf,
โ auth, authz, csrf, upload, traversal, rce, api, secrets)
โโโ providers/ 11 AI backends (Ollama, OpenAI, Claude, DeepSeek, ...)
โโโ core/ HTTP client, exploit validator, workspace manager
โโโ exploits/ Selenium browser exploits + CLI payload injector
โโโ reports/ Markdown, Word, Excel, Obsidian generators
โโโ charts/ Pie chart + bar chart (matplotlib)
โโโ slides/ PowerPoint + HTML slide decks
โโโ cli.py Main CLI (click + rich)
โโโ web.py FastAPI dashboard (port 8233)
โโโ worker.py Background job queue worker
โโโ config.py YAML config loader
Install from Source
git clone https://github.com/Stiimy/briar
cd briar
pip install -e .
briar setup
"No exploit, no report." โ Briar validates every High/Critical finding before you see it.
License: AGPL-3.0 โ Free. Forever.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file briar_pentest-0.4.1.tar.gz.
File metadata
- Download URL: briar_pentest-0.4.1.tar.gz
- Upload date:
- Size: 41.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f76ebba0bea24b73d9d4c89233aab400430bad13850409cffd3a861fd773a160
|
|
| MD5 |
05f47ea7d072c83c6c19d92a60756ee9
|
|
| BLAKE2b-256 |
aab8660c8f2ef9de5a54ae71714e1e18cddabfb09481609ccd7b408a0ff3a769
|
File details
Details for the file briar_pentest-0.4.1-py3-none-any.whl.
File metadata
- Download URL: briar_pentest-0.4.1-py3-none-any.whl
- Upload date:
- Size: 58.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfd897eab1d15b1826ce27dbe57ec5d9227ae618661543a269cc1fa7a30c338f
|
|
| MD5 |
c7c393443292f6739ca7b233ff7b424a
|
|
| BLAKE2b-256 |
3038d8f79731f95dc188dcf34d2c6f7871a24741ab277042404667ab5f222621
|