Skip to main content

klyrek-headers

HTTP security header analysis. Takes a single httpx.Response (as returned by klyrek-http/klyrek-crawler) and produces klyrek_core.models.Finding objects for missing or misconfigured security controls: HSTS, CSP, clickjacking protection, cookie flags (Secure/HttpOnly/SameSite), CORS misconfiguration, and information-disclosure headers (Server, X-Powered-By).

This is the first Klyrek module whose output is a Finding rather than just an Endpoint — everything upstream (klyrek-crawler) maps the application; this is where the tool starts telling you something is actually wrong.

from klyrek_headers.analyzer import analyze

response = client.get("https://target.com/")
findings = analyze(response)

for finding in findings:
    print(finding.severity, finding.title)

Findings are informational hints for a human reviewer to confirm, not proof of exploitability — e.g. a missing X-Frame-Options header is flagged even though modern CSP frame-ancestors may cover it, and a wildcard CORS origin is flagged even when browsers would reject the exact combination sent, because both patterns indicate configuration worth a second look.

Metadata

Release files for klyrek-headers 0.1.0

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

Source distribution (sdist)

Source distribution for klyrek-headers 0.1.0
File Size Uploaded Provenance Actions
klyrek_headers-0.1.0.tar.gz 5.8 kB Without provenance Details for klyrek_headers-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for klyrek-headers 0.1.0
File Interpreter ABI Platform Actions
klyrek_headers-0.1.0-py3-none-any.whl Python 3 none any Details for klyrek_headers-0.1.0-py3-none-any.whl

Total release size: 11.4 kB

Release files / klyrek_headers-0.1.0.tar.gz

Download URL klyrek_headers-0.1.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f4fbdd500732e455629e53074adb12dc1337325af6703a4b8aa621fbaab06653
BLAKE2b-256 checksum
How to use checksums
e473c4d68e233e68a8f7dd3f1110939972bbb34e5d81ca4b640f4c890b3ffa4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release files / klyrek_headers-0.1.0-py3-none-any.whl

Download URL klyrek_headers-0.1.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4787debcfab6532ca4b3633a0e85b0a14a4df26a227cc1bba803510048e0adb4
BLAKE2b-256 checksum
How to use checksums
0ef3e769ba20ca1e251231cee27fd2f21e9c64017428bc6e7544313451f7be90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Security for klyrek-headers 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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