BRS-XSS
Advanced XSS Vulnerability Scanner
Deterministic, auditable XSS detection for modern web applications
BRS-KB API • GitHub • Discussions
v4.0.0 Release: Major update with Web UI, PTT Strategy Management, A/B Testing, and BRS-KB integration. Report issues on GitHub.
Overview
BRS-XSS is a professional-grade XSS vulnerability scanner powered by BRS-KB — a comprehensive knowledge base with thousands of context-aware payloads, 169 injection contexts, and 1,999 WAF bypass techniques.
Key Features
| Feature | Description |
|---|---|
| Context-Aware Scanning | HTML, JavaScript, CSS, URI, SVG, XML context detection |
| WAF Evasion | Cloudflare, Akamai, AWS WAF, Imperva, ModSecurity, Sucuri |
| DOM Analysis | Browser-based DOM XSS detection via Playwright |
| Smart Classification | XSS type detection with confidence scoring |
| PTT Strategy Engine | Pentesting Task Tree for adaptive scanning |
| A/B Testing | Compare strategy effectiveness |
| Multi-Format Reports | PDF, HTML, JSON, SARIF, JUnit |
| Telegram Integration | Real-time notifications with PDF reports |
Web UI
BRS-XSS includes a modern, dark-themed web interface for easy scanning and result analysis.
Login
Secure authentication with session management.
Dashboard
Real-time overview featuring:
- Statistics Cards: Total scans, vulnerabilities found, average duration, top context
- System Profile: Hardware detection with performance mode recommendation
- BRS-KB Status: Live payload/context/WAF bypass counts
- Recent Scans: Quick access with inline actions (view, PDF, JSON, Telegram, rescan, delete)
New Scan
Flexible scan configuration:
- Target URL: Smart parsing (auto-HTTPS, domain/IP/full URL support)
- Scan Mode: Quick (~100), Standard (~500), Deep (all), Stealth (WAF evasion)
- Performance: Light / Standard / Turbo / Maximum (hardware-based)
- Advanced Options: Crawl depth, custom payloads, Blind XSS, DOM analysis
Scan History
Complete scan archive with:
- Search by URL or scan ID
- Status filtering (All/Completed/Running/Failed)
- Detailed table: Target, Mode, Performance, Proxy, Status, Vulns, Duration
- Bulk export to JSON
Scan Details
Comprehensive results including:
- Scanner Output: Real-time log with color-coded markers
- Target Intelligence: Network info, SSL grade, tech stack, security headers, WAF detection
- Risk Assessment: 0-10 score with bypass chances
- Detected Vulnerabilities: Severity, XSS type, DOM source, payload class, full payload
Rescan
Quick rescan with pre-filled configuration from previous scan.
Strategy (PTT)
Pentesting Task Tree management:
- Decision Tree: Visual strategy flow with context/WAF/payload nodes
- My Strategies: Create, clone, edit, delete custom strategies
- A/B Testing: Compare two strategies with metrics tracking
- Simulation: Test strategy execution without scanning
Settings
Full configuration:
- Performance Mode: Auto-detect hardware, select optimal mode
- Proxy Settings: Multi-proxy support (SOCKS5/4/HTTP/HTTPS), test & activate
- Scan Defaults: Default mode, crawl depth, timeout, concurrent scans
- Blind XSS: Callback server configuration
- Telegram: Bot token, channel ID, notification level
User Management
Multi-user support with role-based access.
Quick Start
Installation
# PyPI
pip install brs-xss
playwright install chromium
# GitHub
git clone https://github.com/EPTLLC/brs-xss.git
cd brs-xss
pip install -e .
playwright install chromium
System Dependencies
macOS:
brew install pango libffi
Ubuntu/Debian:
sudo apt-get install libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf2.0-0 libffi-dev shared-mime-info
Start Web UI
python3 scripts/run_web_ui.py
Access at http://localhost:5173
CLI Usage
# Quick scan
brs-xss scan https://target.com
# Deep scan with report
brs-xss scan https://target.com --deep --output report.json
# Verbose with custom threads
brs-xss scan https://target.com --verbose --threads 20
# Check KB status
brs-xss kb info
Classification Engine
Accurate vulnerability classification with dynamic analysis:
| Feature | Description |
|---|---|
| XSS Type Classifier | Reflected, DOM-based, Stored, Mutation |
| Context Parser | Hierarchical: html > img > onerror |
| Payload Classifier | Consistent PAYLOAD CLASS for every finding |
| Confidence Calculator | Factor-based scoring with DOM/trigger boosts |
Example Output:
{
"vulnerability_type": "DOM XSS (Event Handler)",
"payload_class": "HTML Attribute Injection | Trigger: img.onerror",
"confidence": 0.92,
"severity": "high"
}
Configuration
Environment Variables
| Variable | Description |
|---|---|
BRSXSS_KB_API_KEY |
BRS-KB API key |
BRSXSS_KB_API_URL |
Override KB endpoint |
BRSXSS_KB_MODE |
remote, local, or auto |
BRS_XSS_SAFE_MODE |
Toggle safe mode |
BRS_XSS_MAX_PAYLOADS |
Max payloads per parameter |
Local Mode (Offline)
pip install git+https://github.com/EPTLLC/BRS-KB.git
export BRSXSS_KB_MODE="local"
export BRSXSS_KB_LOCAL_PATH="/opt/brs-kb"
Telegram Integration
Real-time notifications with PDF reports:
- Create bot via @BotFather
- Get channel ID via @userinfobot
- Configure in Settings → Telegram
Or via environment:
export BRSXSS_TELEGRAM_BOT_TOKEN="your-bot-token"
export BRSXSS_TELEGRAM_CHANNEL_ID="-100123456789"
Links
- GitHub: https://github.com/EPTLLC/brs-xss
- BRS-KB API: https://brs-kb.easypro.tech
- Documentation: https://brs-kb.easypro.tech/docs.html
- Discussions: https://github.com/EPTLLC/brs-xss/discussions
Legal
This tool is for authorized security testing only.
By using BRS-XSS you agree:
- You have explicit permission to test target systems
- You will not use this tool for illegal purposes
- Authors are not responsible for misuse
License
MIT License • Copyright (c) 2023-2026 EasyProTech LLC
Metadata
Release files for brs-xss 4.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| brs_xss-4.0.0.tar.gz | 335.7 kB | Without provenance | Details for brs_xss-4.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brs_xss-4.0.0-py3-none-any.whl | Python 3 | none | any | Details for brs_xss-4.0.0-py3-none-any.whl |
Total release size: 748.5 kB
Release files / brs_xss-4.0.0.tar.gz
| Download URL | brs_xss-4.0.0.tar.gz |
|---|---|
| Size | 335.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe4bcef7233afd16f9d2a1c6122a044eda7a43839fadb8ea6e00b4aeeca33eff
|
|
BLAKE2b-256 checksum How to use checksums |
8c535cf8bfaeaac960bb742fa7a197b75bb37ff5cf1aed125fd787b37a11c2e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / brs_xss-4.0.0-py3-none-any.whl
| Download URL | brs_xss-4.0.0-py3-none-any.whl |
|---|---|
| Size | 412.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c347a4ae9bf6587cc54a555edca47bada38f68540d2cba9e76c0a579cf6df25c
|
|
BLAKE2b-256 checksum How to use checksums |
f940dde29ee28d32766a71b1bdaa4a9fdc85d59930083dd50611504ac2d50bcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for brs-xss 4.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.