SSRF prevention and payload validation for EEP publishers
Project description
eep-validator (Python)
Python port of @eep-dev/validator — SSRF prevention and payload validation for EEP publishers.
Install
pip install -e .
Usage
from eep_validator import validate_ssrf, SSRFError, matches_event_type
# SSRF prevention — call before any outbound request
try:
await validate_ssrf(delivery_url)
except SSRFError as e:
return {"error": str(e)}
# Event type matching
matches_event_type("com.example.entity.updated", "com.example.entity.*") # True
Tests
pip install -e ".[dev]"
pytest
License
Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eep_validator-0.1.0.tar.gz
(8.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eep_validator-0.1.0.tar.gz.
File metadata
- Download URL: eep_validator-0.1.0.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d9962493a75aa4fea75e617ff3adb204af7426774e7435028eece4b3b888ea2
|
|
| MD5 |
59bf8b9294bbe6c5d41593d1326b5e8d
|
|
| BLAKE2b-256 |
1e7121a34ceea225cb6b39939b895a16ff9301616ad5546dde2cfb8563265baf
|
File details
Details for the file eep_validator-0.1.0-py3-none-any.whl.
File metadata
- Download URL: eep_validator-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8be0586a2a30befca2f5712543bf7eda373bcbbd7e7402589c154dfc33997ab
|
|
| MD5 |
70a0ca9377550cb8c1e904d9fb67b1e0
|
|
| BLAKE2b-256 |
134c688b6d6b6fc9e2f214c54d980a49b2091d6c4e82de37a8f6cdfe79d7ae68
|