Skip to main content

klyrek-js

JavaScript analysis. Pure text analysis — takes an already-fetched JS source string (from klyrek-http/klyrek-crawler) rather than making its own requests, so this package has no network dependency at all.

  • endpoints — extracts API-shaped path and URL string literals referenced in the source ("/api/v1/users", "https://api.target.com/graphql") as Endpoint records.
  • secrets — regex-based detection of hardcoded credentials (AWS keys, Stripe live keys, Slack tokens, GitHub PATs, private key blocks, generic api_key/secret assignments), as Finding records with the matched value masked (sk_l...3f9a) rather than stored in full.
  • sourcemap — detects a //# sourceMappingURL= reference, which (if the .map file is publicly reachable) can reconstruct original unminified source.

Third-party SDK/library detection (Stripe.js, Sentry, Google Analytics, ...) deliberately isn't duplicated here — klyrek-tech's signature-based fingerprint() already works on any response body, JS included.

from klyrek_js.analyze import analyze_js

result = analyze_js(js_source, js_url="https://target.com/static/app.js")
print(result.endpoints, result.findings)

Metadata

Release files for klyrek-js 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-js 0.1.0
File Size Uploaded Provenance Actions
klyrek_js-0.1.0.tar.gz 5.3 kB Without provenance Details for klyrek_js-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 11.0 kB

Release files / klyrek_js-0.1.0.tar.gz

Download URL klyrek_js-0.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
863141ae1d797b7cdefadd65757c2d3018e5108211f35528b94a7589c7fff94e
BLAKE2b-256 checksum
How to use checksums
86fb6d206ec32560b4bf270ad5ba62ca1f67e980861a90f4f5d9e30dfbdda9ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

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

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

Security for klyrek-js 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