boldsec (Python)
BoLD live authorization monitoring for Python. boldsec.core is a hand-port of @boldsec/core
(the shared TypeScript extraction core): the same id/owner/scope/tenant/GraphQL extraction.
Verified against the JS core on the full shared golden conformance vector suite
(web/sdk/bold-conformance/test-vectors*.json, run end to end against a real FastAPI target),
the hand-lifted unit cases ported from extract.test.ts/observe.test.ts, a mechanical regex
battery generated from the real built @boldsec/core regex objects, and a set of differential
tests added specifically for traps a naive port would get wrong (JS's Object.values()
integer-index key reordering, the four-character JS line-terminator class, and JS
truthiness/String()/?? semantics on off-contract resolver values). This is not a claim of
byte-parity on every conceivable input; see boldsec/core.py's module docstring for the one
disclosed, bounded ceiling (a non-integer-fractional float's string representation).
boldsec.fastapi is the FastAPI adapter: a custom APIRoute subclass that reads the framework's
authoritative matched route param and the already-buffered request/response bodies, then hands a
NeutralObservation to boldsec.core.observe_neutral(), which composes and ships the metadata
event. The adapter contains zero extraction logic; it only translates.
Metadata only, fail-safe: no payloads, credentials, or response bodies are ever persisted or logged, and any error inside the adapter can never break, slow, or alter the wrapped application's response.
See web/UNIVERSAL_SDK_PHASE_2_DESIGN.md (Section B) and web/UNIVERSAL_SDK_PHASE_2_BUILD_PLAN.md
(Phase 2.2) for the governing design and build plan.
Metadata
Release files for boldsec 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| boldsec-0.1.0.tar.gz | 124.4 kB | Without provenance | Details for boldsec-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| boldsec-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for boldsec-0.1.0-py3-none-any.whl |
Total release size: 152.1 kB
Release files / boldsec-0.1.0.tar.gz
| Download URL | boldsec-0.1.0.tar.gz |
|---|---|
| Size | 124.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94350363cbacc30a6bfcfdb0ee9b032853f68352e0dfaba43e7ba7fb44c011af
|
|
BLAKE2b-256 checksum How to use checksums |
dd9f51c032c645ae41f02e14ddeb162614c2f46bf0e0739caf466a3978510641
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / boldsec-0.1.0-py3-none-any.whl
| Download URL | boldsec-0.1.0-py3-none-any.whl |
|---|---|
| Size | 27.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bafa8219e5f5716126f6366ddf50c0d5c0dfb385e20e5f34697d86dceb816131
|
|
BLAKE2b-256 checksum How to use checksums |
c2b263881741581f1b3f21b65f204ce64fa19196df836298b6d03c2c7d9395c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for boldsec 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.