QU.I.R.K. — v5.29.1
Quantum Infrastructure Readiness Kit is a consulting-grade cryptographic inventory and quantum-readiness assessment tool.
QU.I.R.K. is an agentless scanner that finds the cryptography running in an environment: TLS and SSH services, identity infrastructure (SAML, Kerberos, AD CS, JWT/OIDC), mail and message brokers, container images, source code, databases, cloud key management (AWS, Azure, GCP, HashiCorp Vault, Kubernetes), and network and OT/ICS hardware. QU.I.R.K. is dashboard-first and CLI-complete. Run a scan, review the results and download the deliverable in the browser, or script the same scans from the command line for automation, scheduling, sensors and repeat engagements.
It produces three things:
- a Cryptography Bill of Materials (CBOM) in CycloneDX JSON and XML;
- a 0–100 quantum-readiness score with six subscores;
- a prioritized migration roadmap, in client-ready PDF, DOCX and HTML reports.
The executive summary for a scan of the bundled chaos lab, which is deliberately weak. The score is capped at 17 because six CRITICAL findings are open, even though the computed score is 69. It shows the harvest-now-decrypt-later verdict, the first three remediation steps, and the six subscores.
For your role
For the security consultant. QU.I.R.K. produces the deliverable:
- a CycloneDX CBOM;
- a 0–100 quantum-readiness score with six subscores (Hygiene, Modern TLS, Identity, Agility, Data at Rest, Data in Motion);
- a written executive narrative;
- a prioritized remediation roadmap, in PDF, DOCX and HTML.
Nothing is installed on the systems being scanned.
For the IT generalist. Start with the simple question: what crypto do we even have running? QU.I.R.K. lists the TLS endpoints, SSH hosts, certificates, container images and cloud KMS keys it finds, and marks the quantum-vulnerable algorithms among them. Browse the results in the dashboard before committing to any remediation work.
For the compliance officer. QU.I.R.K. assigns network hardware a CNSA 2.0 remediation tier, maps its findings to FIPS 140-3 / CMVP, PCI-DSS 4.0.1, HIPAA, ISO 27001:2022 and SOC2 CC (the Trust Services Criteria), and tracks the US federal PQC transition deadlines (EO 14412). Each mapping is dated and re-verified on a CI-enforced review cadence. The output (CBOM JSON/XML, PDF reports) can be attached to an audit response.
Quick Start
QU.I.R.K. supports Python 3.10 to 3.14. Python 3.15 is not supported yet, so check python3 --version first (Homebrew's default python3 on macOS may already be 3.15). Use any of python3.10 to python3.14; the example below uses python3.12.
On Debian or Ubuntu, install one system library first. Playwright's browser driver needs it, and minimal and container images lack it. Skip this on macOS and Windows:
sudo apt-get update && sudo apt-get install -y libatomic1 # Linux (Debian/Ubuntu) only
Install into a virtual environment. This is recommended on every platform and required on Debian 12, Kali and other distributions that mark their system Python as externally managed (see the note below).
python3.12 -m venv .venv && source .venv/bin/activate # any of python3.10 ... python3.14
pip install 'quirk-scanner[all]'
playwright install chromium # needed for the PDF report; one-time download
quirk serve # opens the dashboard at http://127.0.0.1:8512
On Linux, Chromium also needs system libraries. Run this once after the block above, without a sudo prefix (Playwright asks for root itself; see Installation if you have no sudo). Skip it on macOS and Windows:
playwright install-deps chromium # Linux only: Chromium's system libraries
Without Chromium the scan still writes the HTML report and skips the PDF.
Then click New Scan in the sidebar, enter your targets and start the scan. Results appear in the dashboard when it finishes.
Prefer a script? Every scan also runs from the command line:
quirk init # writes a starter config.yaml — edit the targets
quirk --config config.yaml # run the scan
Use a venv. Debian 12, Kali and other distributions that mark their system Python as "externally managed" (PEP 668) reject a bare
pip installinto the system Python witherror: externally-managed-environment. Keep the quotes around'quirk-scanner[all]': zsh, the default shell on macOS 10.15 and later and on Kali's desktop images, otherwise treats[all]as a glob and fails withno matches found. Full walkthrough: Installation → Parrot OS / Kali / Debian.
The dashboard has no login by default and is meant for local use. To require one, run quirk token generate --config config.yaml, then start quirk serve from the same directory; see Configuration → dashboard authentication. For a walkthrough of each step, follow the Getting Started guide.
What QU.I.R.K. Scans
Always on. Every scan does these against its targets:
- TLS / HTTPS: certificate metadata and chain, cipher suites, protocol versions, and PQC-hybrid key exchange detection (X25519MLKEM768; needs a host
opensslwith ML-KEM). - SSH: host key, key exchange, MAC and cipher algorithms, read by the
ssh-auditbinary. ssh-audit is not installed with QU.I.R.K.; without it onPATH, the scan records only each SSH server's banner. - Hardware fingerprinting: for each SSH host, vendor, model and CNSA 2.0 remediation tier, from its SSH banner, its HTTP management page and, when neither identifies the vendor, an SNMP v2c
publicquery (sent without--enable-snmpwhen the[hw]extra is installed). Firmware CVEs and end-of-life dates are matched against built-in offline tables.
On by default in the standard and deep scan profiles (the default profile is standard; quick leaves them off unless the config sets them (the starter config from quirk init does), and enable_email: false or enable_broker: false turns them off):
- Email: TLS / STARTTLS on the SMTP, submission, IMAP and POP3 ports of each host the TLS phase scanned. The dashboard flags STARTTLS-stripping risk on SMTP port 25.
- Message brokers: Kafka, RabbitMQ (AMQPS and management API) and Redis TLS on the same hosts and any
broker_targets, plus the Azure Service Bus namespaces and AWS SQS regions you list.
Opt-in. Each of these is enabled with a config key or flag:
| Area | What it inspects | Needs |
|---|---|---|
| JWT / OIDC APIs | JWKS keys and signing algorithms, following OIDC discovery | enable_jwt |
| OpenAPI specs | Declared security schemes, plaintext servers, unauthenticated endpoints | --openapi-spec |
| REST crypto fuzzing | Active probing of an API's crypto posture, with an optional JWT algorithm-confusion probe (--fuzz-jwt-alg-confusion); asks for interactive confirmation and does not run without a terminal |
--fuzz with a local --openapi-spec file, [api] extra |
| SAML / OIDC identity providers | IdP metadata signing and encryption certificates and algorithms | enable_saml |
| Kerberos | KDC encryption types, from an unauthenticated AS-REQ | enable_kerberos, [identity] extra |
| AD CS | CA certificates and templates, read over LDAP; checks templates for ESC1–ESC8 misconfigurations (ESC4/5/7/8 recorded as coverage gaps), which feed the score and the CBOM | enable_adcs |
| S/MIME | S/MIME certificates discovered via LDAP (reads no mail) | enable_smime |
| Code signing | Code-signing certificates from LDAP userCertificate and from the Code Signing EKU on leaf certificates the TLS phase captured |
--inventory-code-signing |
| DNSSEC | DNSKEY / DS algorithms | enable_dnssec |
| Container images | Crypto libraries found in the image SBOM | enable_container, syft |
| Source code | Known defect: the Semgrep p/cryptography ruleset is unavailable, so with Semgrep installed the source domain reads Not assessed (see Known defects). Without Semgrep it also reads Not assessed (skipped: missing-binary) and counts as a scan error (5.28.1) |
enable_source, semgrep |
| Databases | PostgreSQL / MySQL TLS enforcement | enable_db |
| AWS | ACM, KMS, CloudFront, ELB listeners, RDS and S3 encryption (EKS is under Kubernetes) | enable_aws / enable_s3 |
| Azure | Application Gateway TLS policy and Blob encryption. Key Vault key scanning has a known defect and currently records no keys | enable_azure / enable_blob |
| GCP | Cloud KMS (including PQC algorithms), Cloud SQL TLS, GCS encryption | enable_gcp |
| HashiCorp Vault | Transit key types (including ML-DSA / SLH-DSA), PKI mounts, auth methods | enable_vault |
| Kubernetes | EKS / GKE / AKS secrets-encryption configuration; lists secret types but never reads secret data | enable_k8s with k8s_provider (eks, gke or aks) |
| SNMP | A sweep of the targets for device identity via SNMP v2c / v3 (auth + priv) | --enable-snmp, [hw] extra |
| Modbus/TCP | One read-only device-identification request | --enable-modbus, [hw] extra |
| BACnet/IP | Who-Is, then model name and firmware revision | --enable-bacnet, [hw] extra |
[all] covers the cloud, database, broker, email, AD CS, report and dashboard dependencies. It deliberately leaves out [hw] (SNMP, Modbus, BACnet), [api] (REST fuzzing) and [identity] (Kerberos). Install those explicitly, e.g. pip install 'quirk-scanner[all,hw]'. The Configuration Reference documents every key.
Output
- Quantum-readiness score (0–100) with six subscores: Hygiene, Modern TLS, Identity, Agility, Data at Rest, Data in Motion. The headline score (in the report and on the dashboard's Executive page) is capped while CRITICAL or HIGH findings remain open (the more CRITICAL findings, the lower the cap), and the trend, sensor-merge and per-segment scores apply that cap too. Known defect: the dashboard and the report can still differ on the score for one scan, because a few findings are raised on one surface only (Kerberos weak-encryption findings, DNSSEC findings, an HTTP service beside an mTLS-required TLS endpoint, and below-HIGH findings), and merged and notification scores ignore a customized list of TLS-designated ports; other findings may also differ. See What's New in v5.29 for the full list. No score reaches 100 unless a hybrid post-quantum key exchange is observed.
- CBOM in CycloneDX JSON and XML. Hardware is modelled as DEVICE components with FIRMWARE children.
- Reports in PDF, DOCX and HTML, plus CLI markdown. The HTML report (which the PDF prints), the DOCX report and the CLI executive summary take their executive content from one shared content model, and each carries a written executive narrative and a NOW / NEXT / LATER migration roadmap. The CLI also writes the roadmap on its own as
roadmap-*.md. The PDF needs Playwright and its Chromium browser; without them the scan skips the PDF and still writes the HTML report. - Web dashboard (
quirk serve) with these views: executive summary, findings with a per-finding storyline, identity, data in motion, data at rest, certificates, hardware inventory, CBOM viewer, migration roadmap, quantum exposure map (endpoints linked by a shared key or a shared issuing CA), trends, scan history, scan comparison, schedules, sensors and QRAMM assessment, plus a New Scan page that starts a scan from the browser. Light and dark themes are included. - Distributed mode: on-prem sensors scan isolated network segments and push their results to a central console.
quirk sensor mergebuilds one CBOM and score from every endpoint of each sensor's latest push. A Windows sensor build ships as a GitHub Release asset. - Integrations: notifications for scheduled scans and hardware lifecycle changes, SIEM CEF export, and Jira / ServiceNow ticket creation.
Four sample CBOMs live in examples/cbom/: TLS-only, identity, data at rest and data in motion. They are built from synthesized chaos-lab endpoints, not from a live scan.
Documentation
| Guide | Description |
|---|---|
| Getting Started | From install to first scan in three steps, using the dashboard |
| Installation | System requirements and install steps for macOS, Linux and Windows WSL |
| Configuration Reference | Every config.yaml option and every flag in quirk --help |
| Operator's Guide | Running engagements: scope, allowlists, scheduling, sensors |
| Connector Guides | Setup for AWS, Azure, GCP, Kubernetes, HashiCorp Vault, databases, Docker and Git |
| Cloud Console Deployment | Running the console on a cloud VM with internal sensors pushing to it |
| Report Interpretation | What the score, subscores and common findings mean, with Client Conversation notes |
| CBOM Guide | What a CBOM is and how to cite it as compliance evidence |
| Chaos Lab Guide | A Docker lab of deliberately weak crypto services to scan. Its compose file publishes almost every service port on all host interfaces, so we recommend running it on an isolated host that untrusted networks cannot reach |
| Intelligence Schema | The intelligence-*.json output format |
| Upgrade Guide | Cross-version upgrades with quirk db migrate |
| Release Process | Publishing, and Sigstore attestation verification |
What's New in v5.29
5.29.0 makes scores and findings more truthful. SCORING_VERSION stays 4.0, so scores stay comparable with 5.28, but they still move on upgrade, in both directions. See the CHANGELOG for the full list.
- Scores move on upgrade. Endpoints with no TLS 1.2 or newer, endpoints that accept weak cipher suites, ECDSA certificate keys under 256 bits and container images with end-of-life crypto libraries now score lower, while new scans of mTLS endpoints gain presence credit. History, Trends and Compare now count the findings the Findings page shows, so counts change for scans you already have.
- The dashboard and the report agree on more. The legacy TLS version, weak cipher suite, undersized ECDSA key, container end-of-life and scheduled-scan drift notification findings, and the headline score, now score alike on both surfaces for the covered cases. The cases that can still differ are listed under known defects below.
- Count truth. CLI and scheduled scans write checkpoints and
--list-resumablelists interrupted runs, an in-progress scan reads Incomplete, and notify reports scan errors and new TLS HIGH findings. - Identity and certificate findings. Weak JWT signing keys, SHA-1 leaf certificates and RSA keys of size 0 or RSA-PSS keys under 2048 bits are assessed correctly, and a TLS 1.2 mTLS endpoint reads as a full TLS row with an INFO "mTLS required".
- Stricter connector target checks. Each connector target field takes one shape and is checked by host the way the connectors read it, IP literals with non-ASCII characters are refused, the AD CS, S/MIME and code-signing connectors no longer follow LDAP referrals, container image scans pull from a registry only and accept plain registry image references, and registry user information is redacted from container scan log and error text.
- Confidence ceiling. A scan with more than 50% of its probes failing now reads a confidence of at most 59; older report files keep their number.
- Known defects. With Semgrep installed, source code scanning reports "ruleset unavailable" because the upstream Semgrep ruleset it used is gone, and a scan that sets
source_targetsscores lower. - Known defects, Azure. Key Vault key scanning has a known defect and currently records no keys.
- Known defects, scores. The dashboard and the report can still differ in the score they give one scan; known cases are Kerberos weak-encryption findings, DNSSEC findings, an HTTP service beside an mTLS-required TLS endpoint, TLS-designated ports in merged and notification scores, and below-HIGH findings (for example the dashboard's MEDIUM finding for non-RSA certificate keys, which does not move the score), and other findings may also differ.
- Known defects, Windows sensor. The installer does not yet write a sensor identity.
What's New in v5.28
5.28.2 is a fix release that makes Scan Coverage tell the truth about connectors. A connector now reads ran only if at least one of its targets answered. Otherwise it reads skipped with a named reason (for example internal-target-refused, missing-credentials or auth-failed), which Scan Coverage and the dashboard empty states show and which counts as a scan error. Failed PostgreSQL and MySQL targets now appear as failed rows, and the New Scan page warns before you submit when server policy would refuse a JWT or SAML URL. Scores can go down on upgrade for estates whose connectors were silently unscanned, because each skip now costs points; the headline can be capped. Known limitation: a score merged from sensor reports does not see the new coverage skips yet. See the CHANGELOG for the full list.
5.28.1 is a fix release. On Python 3.15, which is not supported, pip no longer silently installs an old release: every release without an upper Python bound is yanked (4.10.0 through 5.21.0, plus 5.25.0 and 5.27.0), so an unpinned install on 3.15 finds no candidate, and an exact pin still installs one. A scan that is configured to use semgrep or syft when the tool is not installed now reads Not assessed (skipped: missing-binary) and counts as a scan error, instead of a clean result. quirk doctor now fails on an unsupported Python and on an unusable database path, and warns when a configured scanner's tool is missing. See the CHANGELOG for the full list.
Scores change when you upgrade, and most estates score lower. v5.28.0 replaces the readiness score model (SCORING_VERSION 4.0 replaces 3.0), so a v5.28 score is not comparable with a score from an earlier version. See Report Interpretation for the model and worked examples.
- Classical keys are not counted as ready. RSA, ECDSA and EdDSA certificate keys are all treated as quantum-vulnerable; only a post-quantum key exchange or an ML-DSA, SLH-DSA or composite certificate key earns credit. A live TLS scan does not yet read an ML-DSA certificate (that endpoint is recorded as a scan error, not as a key), so the certificate-key credit is not reachable from a TLS scan today.
- Observing more healthy endpoints no longer raises the score. A weakness costs points by how many endpoints carry it, saturating at 40, so a wider scan cannot dilute a problem away.
- The dashboard and the report agree on more. Trend, timeline and multi-sensor merge scores now derive their findings the way the headline score does, and certificate-expiry findings and refused mail ports feed both scores. Tests pin this on covered fixtures only.
- Finding state follows what scans observed. Closure states, drift and sensor merge reflect what each scan saw.
- Findings that never fired now do: code-signing certificates, Kerberos encryption types, JWKS authentication,
--auth-basicand unsigned (alg:none) tokens. - QRAMM shows "Not assessed" for a dimension with no answered question, instead of a made-up level.
The full per-release history is in CHANGELOG.md.
Install
- PyPI:
pip install 'quirk-scanner[all]'(see Quick Start). Releases are published through PyPI Trusted Publishers with Sigstore attestations; verify them as described in Release Process. - Windows sensor: a zip with the frozen
quirk.exeand PowerShell install and uninstall scripts is attached to each GitHub Release from v5.12.0 onward. The installer registers a daily Scheduled Task. Known defect since 5.28.0: the installer writes a random sensor ID that the console does not recognise and gives the task no scan config, so the task's pushes are rejected until you set the console's sensor ID in the sensor config by hand; see Operator's Guide → Windows sensor deployment.
No
curl | bashinstaller. This is deliberate. Piping HTTP into a shell bypasses the integrity guarantees of Sigstore attestations and Trusted Publishers. Seedocs/release-process.md.
Develop from source
git clone https://github.com/0xD1g5/QU.I.R.K
cd QU.I.R.K
python3 -m venv .venv && source .venv/bin/activate
pip install -e '.[dashboard]'
playwright install chromium
quirk --help
The editable install is for contributors. End users should install from PyPI.
License
MIT. See LICENSE.
Metadata
Release files for quirk-scanner 5.29.1
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 |
|---|---|---|---|---|
| quirk_scanner-5.29.1.tar.gz | 3.4 MB | With provenance | Details for quirk_scanner-5.29.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quirk_scanner-5.29.1-py3-none-any.whl | Python 3 | none | any | Details for quirk_scanner-5.29.1-py3-none-any.whl |
Total release size: 5.2 MB
Release files / quirk_scanner-5.29.1.tar.gz
| Download URL | quirk_scanner-5.29.1.tar.gz |
|---|---|
| Size | 3.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
522380435f66ed0c55d1084dde893c13b22b01aa5a87277dec8a8385cd08c3b7
|
|
BLAKE2b-256 checksum How to use checksums |
8eac0bc4b97f930a4ecd15ec97a6d255cc9dbd70812e8cffbdade4c6efc5b40d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / quirk_scanner-5.29.1-py3-none-any.whl
| Download URL | quirk_scanner-5.29.1-py3-none-any.whl |
|---|---|
| Size | 1.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e40a6264fee39e6131818337954c83af6d17169dd5c51e00747643ffc5c5a292
|
|
BLAKE2b-256 checksum How to use checksums |
8aa646e883946e48eba4d35c6652bd4c89f3459b70186dbbe98c848810524fbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for quirk-scanner 5.29.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for quirk_scanner-5.29.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA 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.