Skip to main content

XSS Knowledge Base — 4200+ Payloads, 151 Contexts, WAF Bypasses, Zero Dependencies

Project description

BRS-KB

Deterministic, context-aware XSS payload intelligence for scanners, CI/CD and security tooling.

Python 3.8+. MIT License.

Install

pip install brs-kb

API

Base URL: https://brs-kb.easypro.tech/api/v1
API Key:  BRS-KB_free_kUOgkmm2lxr2sgIg_hFsmuBsFGB4fVpakvu0pzANStRIpeGs8
# Public read-only key for testing and CI/CD
curl -H "X-API-Key: BRS-KB_free_kUOgkmm2lxr2sgIg_hFsmuBsFGB4fVpakvu0pzANStRIpeGs8" \
  https://brs-kb.easypro.tech/api/v1/payloads?context=javascript&limit=10

Endpoints: /health, /info, /contexts, /contexts/{id}, /payloads, /payloads/search, /analyze, /defenses, /stats

Docs: https://brs-kb.easypro.tech/docs.html

Python

from brs_kb import get_vulnerability_details, list_contexts, search_payloads, get_waf_bypass_payloads

# 151 contexts
contexts = list_contexts()

# Context details with CVSS
details = get_vulnerability_details('javascript')
# {'severity': 'critical', 'cvss_score': 9.0, 'cwe': ['CWE-79'], ...}

# Search
results = search_payloads('websocket')

# WAF bypasses
waf = get_waf_bypass_payloads()  # 1300+

CLI

brs-kb info
brs-kb list-contexts
brs-kb get-context javascript
brs-kb analyze-payload "<script>alert(1)</script>"
brs-kb search-payloads "cloudflare"
brs-kb export payloads --format json
brs-kb serve --port 8080

CI/CD

# GitHub Actions
- name: Install BRS-KB
  run: pip install brs-kb

- name: Validate
  run: brs-kb info && python -c "from brs_kb import list_contexts; assert len(list_contexts()) > 100"
# Docker
docker pull ghcr.io/eptllc/brs-kb:latest
docker run -p 8080:8080 ghcr.io/eptllc/brs-kb:latest

Dataset

  • 4,200+ payloads
  • 151 contexts
  • 1,300+ WAF bypasses
  • CVSS scores
  • Browser compatibility
  • Encoding metadata

Integration

Native knowledge backend for BRS-XSS.

pip install brs-kb brs-xss

SIEM connectors: siem_connectors/ (Splunk, Elasticsearch, Graylog)

Test

pytest tests/ -v

License

MIT

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brs_kb-4.0.0.tar.gz (450.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brs_kb-4.0.0-py3-none-any.whl (819.7 kB view details)

Uploaded Python 3

File details

Details for the file brs_kb-4.0.0.tar.gz.

File metadata

  • Download URL: brs_kb-4.0.0.tar.gz
  • Upload date:
  • Size: 450.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for brs_kb-4.0.0.tar.gz
Algorithm Hash digest
SHA256 07fdf74db088254e2654d85f0a3614ed3c622cf58a3ab3947384d1e8bb2efbdc
MD5 b96dd3e0faf90d1f6216f44005e9cf33
BLAKE2b-256 8ebf227fb68d707dcd14d15255b61849f8eedd8b1ea7b2bdf16db2bdbc6842a2

See more details on using hashes here.

File details

Details for the file brs_kb-4.0.0-py3-none-any.whl.

File metadata

  • Download URL: brs_kb-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 819.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for brs_kb-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e5bfe0480ab86656e7e167b5569d235343fcd3bbac12f3dbe7b3fd3ae6e7f53
MD5 86c353f0dd1b89f7f316305131790855
BLAKE2b-256 a1f36b2ecf71c6651b1cd95ea383c63488bb4c124733cf8beac34e2267034cf0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page