Skip to main content

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

Metadata

Release files for brs-kb 4.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brs-kb 4.0.2
File Size Uploaded
brs_kb-4.0.2.tar.gz 494.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for brs-kb 4.0.2
File Interpreter ABI Platform
brs_kb-4.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.4 MB

Release files / brs_kb-4.0.2.tar.gz

Download URL brs_kb-4.0.2.tar.gz
Size 494.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1f8414105bf418d005d382a81bc653dc6d274b1b653c4d4ddcdfa098d181eece
BLAKE2b-256 checksum
How to use checksums
f78441e271f89744709df4216c38269c1b3f327e136a9003d61c05af16fcb3fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / brs_kb-4.0.2-py3-none-any.whl

Download URL brs_kb-4.0.2-py3-none-any.whl
Size 889.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9f3737e9ef00f0a3b791d9d3b849618ec3e3eb98c27436ba174ff626ba5ebd8
BLAKE2b-256 checksum
How to use checksums
a4391e367cdbdcce571028eb87ebc9c28e5cc207b794fc34315fb552425f5134
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

4.0.2 This release

2 release files

4.0.1

2 release files

4.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page