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.10+. 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.2.tar.gz (494.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.2-py3-none-any.whl (889.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: brs_kb-4.0.2.tar.gz
  • Upload date:
  • Size: 494.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.2.tar.gz
Algorithm Hash digest
SHA256 1f8414105bf418d005d382a81bc653dc6d274b1b653c4d4ddcdfa098d181eece
MD5 7520e4ab4fc3fc2c0faaa6027764e1ea
BLAKE2b-256 f78441e271f89744709df4216c38269c1b3f327e136a9003d61c05af16fcb3fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brs_kb-4.0.2-py3-none-any.whl
  • Upload date:
  • Size: 889.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a9f3737e9ef00f0a3b791d9d3b849618ec3e3eb98c27436ba174ff626ba5ebd8
MD5 5f3cf872228e069cdfbfdba1851c028b
BLAKE2b-256 a4391e367cdbdcce571028eb87ebc9c28e5cc207b794fc34315fb552425f5134

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