Skip to main content

XSS Knowledge Base — 4900+ Payloads, 169 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

# 169 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()  # 1999

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,931 payloads
  • 169 contexts
  • 1,999 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.1.tar.gz (494.9 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.1-py3-none-any.whl (889.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: brs_kb-4.0.1.tar.gz
  • Upload date:
  • Size: 494.9 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.1.tar.gz
Algorithm Hash digest
SHA256 fc86d46f085f8f2b90c1aa7778667354973273dca13df21cc8906a6d4cf5bcee
MD5 cc1d248cde82a28f2ebf3db134917512
BLAKE2b-256 b1e2e82d2d9efe0e9b14def5f3e36649faaefc047977d2feddcec9ecf443f34d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brs_kb-4.0.1-py3-none-any.whl
  • Upload date:
  • Size: 889.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 20e8e3d0e9ae85f7fdafdecc1dd5d17ecf993579581cb92654196ddde0704b4d
MD5 485edbb1e8c9c35178cb7c1597b196c3
BLAKE2b-256 141995cdc3238c98f7dc6ef04a10bc18821604482fef03bd0a4875b3fc4aeb97

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