<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ShorSighted</title><link>https://cpeoples.github.io/shorsighted/</link><description>Post-quantum readiness for TLS and SSH endpoints, tied to dated, sourced deadlines.</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://cpeoples.github.io/shorsighted/index.xml" rel="self" type="application/rss+xml"/><item><title>Overview</title><link>https://cpeoples.github.io/shorsighted/overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cpeoples.github.io/shorsighted/overview/</guid><description>ShorSighted is a read-only CLI that finds the TLS and SSH endpoints that will break, or are already exposed, as the Web PKI and SSH move to post-quantum cryptography. Give it hostnames, a file of targets, a cloud account or your AI clients’ MCP configs, and for each endpoint it reports:&#10;whether the key exchange is post-quantum (X25519MLKEM768 for TLS, mlkem768x25519-sha256 for SSH), which protects against “harvest now, decrypt later”; whether the certificate chain will stay trusted (Chrome and Edge distrust ECDSA P-256 CA certificates on 2027-03-15, the same day CA/Browser Forum lifetimes drop to 100 days); how far authentication is from post-quantum (RSA/ECDSA vs ML-DSA, SHA-1, weak keys, legacy TLS). Each finding is tied to a dated, sourced deadline, and its severity rises as the deadline approaches.</description></item><item><title>CLI reference</title><link>https://cpeoples.github.io/shorsighted/cli/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cpeoples.github.io/shorsighted/cli/</guid><description>Find endpoints that will break, or are already exposed, as the Web PKI (and SSH) move to post-quantum cryptography.&#10;Usage:&#10;$ shorsighted [OPTIONS] COMMAND [ARGS]... Options:&#10;--version: Show the version and exit. --help: Show this message and exit. Commands:&#10;explain: Explain what a check looks for, or how to… serve-mcp: Run an MCP server on stdio so AI agents… scan: Scan hosts, files, cloud inventories, or… deadlines: List and inspect the dated, sourced… shorsighted explain Explain what a check looks for, or how to fix one rule's findings.</description></item><item><title>Checks</title><link>https://cpeoples.github.io/shorsighted/checks/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cpeoples.github.io/shorsighted/checks/</guid><description>Each check id groups related findings; each finding carries a stable rule id (see the rule catalog). Run shorsighted explain &lt;check&gt; for the same text in your terminal.&#10;SSD-AWS-CONFIG: AWS configuration&#10;ELB SSL policies, Classic ELB, CloudFront, API Gateway, ACM and EC2 SSH exposure. AWS-side configuration, read with Describe/List/Get calls only: ELBv2 HTTPS/TLS listeners: whether the SSL policy is one of AWS’s post-quantum policies (fetched live with DescribeSSLPolicies, never hardcoded), with a recommended policy if not. Classic ELB: cannot negotiate PQ hybrids; migrate to ALB/NLB. CloudFront: viewer certificate source and minimum protocol version. API Gateway custom domains: security policy (TLS 1.0 is flagged). ACM: key algorithm (RSA_1024 is high; EC_prime256v1 is low, since the P-256 distrust applies to CA keys, which SSD-CHAIN checks on the live chain), expiry, renewal eligibility, InUseBy, and imported certificates (no auto-renewal). EC2: instances with SSH open to the internet (probed by SSD-SSH). Internal-only resources are reported config-only (probe_skipped: internal). Run shorsighted explain SSD-AWS-CONFIG for the same text in your terminal.&#10;SSD-CHAIN: Certificate chain algorithms&#10;Flags CA keys facing distrust deadlines, weak keys, SHA-1, and quantum-vulnerable signatures. Will the certificate chain stay trusted, and how far is it from PQ auth? For each certificate the server sends, plus the trust-store root, ShorSighted records key type/curve/size, signature algorithm, SKI/AKI and validity, then reports: CA keys matching a ca_key_algo deadline (e.g. ECDSA P-256 CAs, distrusted by Chrome and Edge on 2027-03-15). Programs distrusting on the same date produce one finding, graded by what actually breaks: deployed certificate still valid on the date → high, escalating to critical (“will be rejected”); certificate expires first → medium at most (“renewal must avoid …”); non-HTTPS service (SMTP, IMAP, LDAP, …) → low, since browser root programs don’t govern those clients; private or self-signed chain → not reported, since root programs only cover publicly trusted chains. RSA under 2048 bits, and SHA-1 signatures on anything but a self-signed root → high. Any RSA/ECDSA/EdDSA key → “quantum-vulnerable authentication” (info, rising as signature deadlines approach). ML-DSA / SLH-DSA throughout → pass. Merkle Tree Certificates (draft-ietf-plants-merkle-tree-certs) are not detected yet. Chain that doesn’t verify against the trust store → high, with the reason (self-signed, untrusted root, missing intermediate). Expiry and hostname failures on an otherwise trusted chain are left to SSD-LIFE. Other IPs behind the name serving a chain that doesn’t verify → high; serving a different certificate → info. Fix: reissue from a CA whose whole chain avoids P-256 keys (P-384 or RSA-3072+), and plan for MTC / ML-DSA certificates.&#10;SSD-CLOUD-CONFIG: Azure / GCP configuration&#10;Front Door, Application Gateway, App Service and GCP load-balancer TLS minimums; self-managed certificates; SSH open to the internet. Azure and GCP configuration, read with HTTPS GET requests only (Azure: the built-in Reader role; GCP: the cloud-platform.read-only OAuth scope with roles/viewer). Post-quantum key exchange on Front Door, Application Gateway, App Service and Google load balancers is decided at the provider’s edge, not by a customer setting, so the live SSD-KEX probe of each discovered hostname is the authority. This check covers what the probe cannot see:&#10;SSD-KEX: Post-quantum key exchange&#10;Raw ClientHello probe of every resolved IP to see whether X25519MLKEM768 is negotiated. Is traffic protected against harvest-now, decrypt-later? ShorSighted builds its own TLS 1.3 ClientHello instead of using the local OpenSSL, so the verdict is the same on Linux, macOS and Windows. It sends it to every resolved A/AAAA address: First hello: offers X25519MLKEM768 (0x11EC), SecP256r1MLKEM768 (0x11EB), SecP384r1MLKEM1024 (0x11ED), X25519Kyber768Draft00 (0x6399), x25519, secp256r1 and secp384r1, with only a small x25519 key share. A server that prefers a PQ group answers with a HelloRetryRequest naming it. If the server picked a classical group, a second hello offers only the ML-KEM hybrids with a full X25519MLKEM768 key share. Verdicts: pq_hybrid (pass), legacy_draft_pq (medium), classical_only (high), no_tls13 (high). Resets, timeouts and odd responses are “inconclusive”, never classical_only.&#10;SSD-LIFE: Certificate lifetime and expiry&#10;Compares the leaf’s lifetime and expiry to the CA/B Forum schedule and distrust dates. Lifetime and expiry versus deadlines. Expired (critical), expiring soon (high), not yet valid (high), hostname not covered by subjectAltName (high). “Soon” scales with the lifetime: a sixth of it, at least 7 days and at most –expiry-days. Leaf lifetime above the CA/B Forum SC-081 maximum in force when it was issued (200 days from 2026-03-15, 100 from 2027-03-15, 47 from 2029-03-15) → high. Renewals that must be shorter under the next step (low). The lifetime schedule binds publicly trusted CAs only, so it is skipped for self-signed and private-CA chains. A leaf that outlives a CA-key distrust date is reported by SSD-CHAIN. Fix: automate issuance (ACME/ACM).&#10;SSD-MCP: MCP client connections&#10;Remote MCP servers over plaintext HTTP, secrets embedded in server URLs, and which OAuth authorization servers MCP tokens go to. How AI clients (Cursor, Claude Desktop, Claude Code, VS Code, Windsurf, Gemini CLI) connect to MCP servers, read from their config files (shorsighted scan mcp). Each remote MCP server is probed like any other target, so SSD-KEX, SSD-CHAIN and SSD-LIFE grade its key exchange (which protects prompts, tool results and bearer tokens), certificate chain and lifetime. The same applies to the OAuth authorization servers it advertises in /.well-known/oauth-protected-resource (RFC 9728). That is one HTTPS GET per server origin (–no-oauth skips it), and only the origin-level document is fetched, so secret-bearing paths never go over the network.&#10;SSD-SSH: SSH post-quantum readiness&#10;Reads the SSH server’s KEXINIT to see whether ML-KEM hybrid key exchange is offered. SSH post-quantum readiness, from the server’s plaintext KEXINIT (no login): mlkem768x25519-sha256, mlkem768nistp256-sha256 or mlkem1024nistp384-sha384 offered → pass. sntrup761x25519 only → low (PQ, but not FIPS 203, so not FIPS/CNSA). No PQ key exchange → high (harvest-now, decrypt-later). SHA-1 DH groups, weak ciphers and ssh-rsa host keys → medium; ssh-dss host keys → high. Host keys: classical only (info) or ML-DSA hybrid (pass). Different key exchange lists across IPs → medium. Fix: OpenSSH 10.0+ uses mlkem768x25519-sha256 by default.&#10;SSD-TLS: TLS protocol hygiene&#10;STARTTLS availability, TLS 1.3 support, TLS 1.0/1.1 still enabled, and SNI handling. Protocol hygiene as context for the PQ verdict, not a full TLS scanner: TLS 1.3 support (required for PQ hybrids). Missing TLS 1.3 is scored by SSD-KEX (no_tls13); when it is, SSD-TLS lists it as info so it isn’t counted twice. TLS 1.0/1.1 still enabled → medium; only TLS 1.0/1.1 → high. NULL or RC4 suite negotiated → high; 3DES → medium. Whether the server requires SNI (info). STARTTLS services (smtp, imap, pop3, ftp, ldap, postgres, xmpp): ShorSighted runs the protocol’s own upgrade (EHLO + STARTTLS, CAPABILITY + STARTTLS, CAPA + STLS, AUTH TLS, the LDAP StartTLS extended operation, the PostgreSQL SSLRequest, XMPP &lt;starttls/&gt;), then sends the same raw ClientHello as on 443. It never authenticates or sends mail. {class=“pages pages-tree”}</description></item><item><title>Real-world results</title><link>https://cpeoples.github.io/shorsighted/realworld/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cpeoples.github.io/shorsighted/realworld/</guid><description>Every target in targets.yaml is scanned by ShorSighted and, on the same IP, by an independent implementation (OpenSSL 3.5+, LibreSSL, OpenSSH). Agree means both saw the same key exchange, protocol versions, certificate and trust result. A disagree is a bug in one of the two and fails the suite. The table records what each site did on the date below. It doesn’t rate the sites, and it changes whenever they change their configuration.</description></item><item><title>Rule catalog</title><link>https://cpeoples.github.io/shorsighted/rules/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cpeoples.github.io/shorsighted/rules/</guid><description>Every finding carries a stable rule id (rule in JSON, SARIF and CSV). This page is generated from the bundled catalog, remediations.yaml: the same guidance shorsighted explain &lt;rule&gt; prints and the HTML, Markdown and SARIF reports embed. The finding’s own remediation text, specific to what was detected, comes first in a report; this adds the detail.&#10;79 rules: 52 fix, 6 plan, 14 note, 7 pass. Override or extend entries with --remediations FILE; see Remediation catalog.</description></item><item><title>Remediation catalog</title><link>https://cpeoples.github.io/shorsighted/remediations/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cpeoples.github.io/shorsighted/remediations/</guid><description>Every finding carries a stable rule id (rule in JSON, SARIF and CSV), for example kex.classical-only or life.expired. Rule ids don’t change when wording does, so you can key tickets, suppressions and runbooks on them.&#10;The bundled catalog (src/shorsighted/data/remediations.yaml) describes each rule:&#10;Field Meaning kind fix (change something), plan (track it, nothing to change yet), note (about the scan, not the target), pass title Short fix headline used by the HTML report why Why it matters steps How to fix it snippets Copy-pasteable config per platform (nginx, apache, sshd_config, aws, …) references Primary sources (vendor docs, RFCs, standards bodies) The finding’s own remediation text is always specific to what was seen (detected software, the exact AWS policy to switch to). The catalog adds detail around it.</description></item><item><title>Deadlines</title><link>https://cpeoples.github.io/shorsighted/deadlines/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cpeoples.github.io/shorsighted/deadlines/</guid><description>Every date ShorSighted reports comes from deadlines.yaml, and a finding’s severity rises from before to after as its deadline approaches. verified entries cite a primary source (the standards body, vendor or regulator); unverified ones are marked and never count towards --fail-on unless you pass --include-unverified. milestone and announcement entries are context only and are never attached to findings. Run shorsighted deadlines list for the same data with days remaining.&#10;24 entries, 23 verified against a primary source.</description></item><item><title>Report schema</title><link>https://cpeoples.github.io/shorsighted/report-schema/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cpeoples.github.io/shorsighted/report-schema/</guid><description>JSON Schema for --format json (and each line of --format jsonl), generated from the Report model by python scripts/gen_docs.py. Raw file.&#10;{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://github.com/cpeoples/shorsighted/blob/main/docs/report.schema.json", "$defs": { "CertInfo": { "properties": { "position": { "title": "Position", "type": "string" }, "subject": { "title": "Subject", "type": "string" }, "issuer": { "title": "Issuer", "type": "string" }, "serial": { "title": "Serial", "type": "string" }, "sha256": { "title": "Sha256", "type": "string" }, "key_type": { "title": "Key Type", "type": "string" }, "key_size": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Key Size" }, "curve": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Curve" }, "key_oid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Key Oid" }, "signature_algorithm": { "title": "Signature Algorithm", "type": "string" }, "signature_oid": { "title": "Signature Oid", "type": "string" }, "signature_hash": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Signature Hash" }, "ski": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Ski" }, "aki": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Aki" }, "not_before": { "format": "date-time", "title": "Not Before", "type": "string" }, "not_after": { "format": "date-time", "title": "Not After", "type": "string" }, "is_ca": { "default": false, "title": "Is Ca", "type": "boolean" }, "self_signed": { "default": false, "title": "Self Signed", "type": "boolean" }, "san": { "items": { "type": "string" }, "title": "San", "type": "array" }, "from_trust_store": { "default": false, "title": "From Trust Store", "type": "boolean" } }, "required": [ "position", "subject", "issuer", "serial", "sha256", "key_type", "signature_algorithm", "signature_oid", "not_before", "not_after" ], "title": "CertInfo", "type": "object" }, "ChainObservation": { "properties": { "ip": { "title": "Ip", "type": "string" }, "leaf_sha256": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Leaf Sha256" }, "leaf_not_after": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "default": null, "title": "Leaf Not After" }, "served": { "default": 0, "title": "Served", "type": "integer" }, "verified": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Verified" }, "verify_error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Verify Error" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Error" } }, "required": [ "ip" ], "title": "ChainObservation", "type": "object" }, "DeadlineCategory": { "enum": [ "leaf_lifetime", "ca_key_algo", "kex", "signature_algo", "policy" ], "title": "DeadlineCategory", "type": "string" }, "KexProbe": { "description": "Result of the raw ClientHello probe against one IP.", "properties": { "ip": { "title": "Ip", "type": "string" }, "status": { "$ref": "#/$defs/KexStatus" }, "selected_group": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Selected Group" }, "group_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Group Name" }, "tls_version": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Tls Version" }, "hello_retry": { "default": false, "title": "Hello Retry", "type": "boolean" }, "alert": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Alert" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Error" }, "error_kind": { "anyOf": [ { "enum": [ "timeout", "refused", "reset", "unreachable", "closed", "starttls_not_offered", "starttls_rejected", "starttls_protocol", "starttls_closed" ], "type": "string" }, { "type": "null" } ], "default": null, "title": "Error Kind" }, "attempts": { "items": { "additionalProperties": true, "type": "object" }, "title": "Attempts", "type": "array" }, "starttls_greeting": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Starttls Greeting" }, "starttls_capabilities": { "items": { "type": "string" }, "title": "Starttls Capabilities", "type": "array" } }, "required": [ "ip", "status" ], "title": "KexProbe", "type": "object" }, "KexStatus": { "enum": [ "pq_hybrid", "legacy_draft_pq", "classical_only", "no_tls13", "error" ], "title": "KexStatus", "type": "string" }, "Kind": { "enum": [ "fix", "plan", "note", "pass" ], "title": "Kind", "type": "string" }, "ProbeResult": { "properties": { "target": { "$ref": "#/$defs/Target" }, "status": { "$ref": "#/$defs/ProbeStatus", "default": "ok" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Error" }, "ips": { "items": { "type": "string" }, "title": "Ips", "type": "array" }, "kex": { "items": { "$ref": "#/$defs/KexProbe" }, "title": "Kex", "type": "array" }, "ssh": { "items": { "$ref": "#/$defs/SshProbe" }, "title": "Ssh", "type": "array" }, "chain": { "items": { "$ref": "#/$defs/CertInfo" }, "title": "Chain", "type": "array" }, "chain_error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Chain Error" }, "chain_source": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Chain Source" }, "chain_verified": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Chain Verified" }, "chain_anchored": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Chain Anchored" }, "verify_error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Verify Error" }, "hostname_match": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Hostname Match" }, "tls_versions": { "$ref": "#/$defs/TlsVersionSupport" }, "sni_required": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Sni Required" }, "starttls": { "anyOf": [ { "$ref": "#/$defs/StartTlsInfo" }, { "type": "null" } ], "default": null }, "trust_store": { "default": "bundled", "title": "Trust Store", "type": "string" }, "duration_ms": { "default": 0.0, "title": "Duration Ms", "type": "number" }, "other_chains": { "items": { "$ref": "#/$defs/ChainObservation" }, "title": "Other Chains", "type": "array" } }, "required": [ "target" ], "title": "ProbeResult", "type": "object" }, "ProbeStatus": { "enum": [ "ok", "dns_error", "tls_error", "timeout", "skipped" ], "title": "ProbeStatus", "type": "string" }, "Provenance": { "description": "Where a target came from (argument, file line, AWS record...).", "properties": { "source": { "title": "Source", "type": "string" }, "detail": { "default": "", "title": "Detail", "type": "string" } }, "required": [ "source" ], "title": "Provenance", "type": "object" }, "Remediation": { "additionalProperties": false, "properties": { "kind": { "$ref": "#/$defs/Kind" }, "title": { "title": "Title", "type": "string" }, "why": { "default": "", "title": "Why", "type": "string" }, "steps": { "default": [], "items": { "type": "string" }, "title": "Steps", "type": "array" }, "snippets": { "additionalProperties": { "type": "string" }, "title": "Snippets", "type": "object" }, "references": { "default": [], "items": { "type": "string" }, "title": "References", "type": "array" }, "remediation": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Remediation" }, "runbook": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Runbook" } }, "required": [ "kind", "title" ], "title": "Remediation", "type": "object" }, "ScoredFinding": { "properties": { "id": { "title": "Id", "type": "string" }, "rule": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Rule" }, "severity": { "$ref": "#/$defs/Severity" }, "target": { "title": "Target", "type": "string" }, "title": { "title": "Title", "type": "string" }, "detail": { "default": "", "title": "Detail", "type": "string" }, "evidence": { "additionalProperties": true, "title": "Evidence", "type": "object" }, "deadline_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Deadline Id" }, "applies_to": { "anyOf": [ { "$ref": "#/$defs/DeadlineCategory" }, { "type": "null" } ], "default": null }, "remediation": { "title": "Remediation", "type": "string" }, "passed": { "default": false, "title": "Passed", "type": "boolean" }, "max_severity": { "anyOf": [ { "$ref": "#/$defs/Severity" }, { "type": "null" } ], "default": null }, "tags": { "items": { "type": "string" }, "title": "Tags", "type": "array" }, "owner": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Owner" }, "base_severity": { "$ref": "#/$defs/Severity" }, "deadline_date": { "anyOf": [ { "format": "date", "type": "string" }, { "type": "null" } ], "default": null, "title": "Deadline Date" }, "days_until": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Days Until" }, "deadline_verified": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Deadline Verified" }, "deadline_source_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Deadline Source Url" }, "runbook": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Runbook" } }, "required": [ "id", "severity", "target", "title", "remediation", "base_severity" ], "title": "ScoredFinding", "type": "object" }, "Severity": { "enum": [ "info", "low", "medium", "high", "critical" ], "title": "Severity", "type": "string" }, "SshProbe": { "description": "Result of reading an SSH server's banner and KEXINIT on one IP.", "properties": { "ip": { "title": "Ip", "type": "string" }, "banner": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Banner" }, "software": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Software" }, "kex_algorithms": { "items": { "type": "string" }, "title": "Kex Algorithms", "type": "array" }, "host_key_algorithms": { "items": { "type": "string" }, "title": "Host Key Algorithms", "type": "array" }, "ciphers": { "items": { "type": "string" }, "title": "Ciphers", "type": "array" }, "macs": { "items": { "type": "string" }, "title": "Macs", "type": "array" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Error" }, "error_kind": { "anyOf": [ { "enum": [ "timeout", "refused", "reset", "unreachable", "closed", "starttls_not_offered", "starttls_rejected", "starttls_protocol", "starttls_closed" ], "type": "string" }, { "type": "null" } ], "default": null, "title": "Error Kind" } }, "required": [ "ip" ], "title": "SshProbe", "type": "object" }, "StartTlsInfo": { "description": "What the plaintext side of a STARTTLS service said before the upgrade.", "properties": { "protocol": { "title": "Protocol", "type": "string" }, "offered": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Offered" }, "greeting": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Greeting" }, "software": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Software" }, "capabilities": { "items": { "type": "string" }, "title": "Capabilities", "type": "array" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Error" } }, "required": [ "protocol" ], "title": "StartTlsInfo", "type": "object" }, "Target": { "properties": { "host": { "title": "Host", "type": "string" }, "port": { "default": 443, "title": "Port", "type": "integer" }, "protocol": { "default": "tls", "title": "Protocol", "type": "string" }, "sni": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Sni" }, "tags": { "items": { "type": "string" }, "title": "Tags", "type": "array" }, "owner": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Owner" }, "provenance": { "items": { "$ref": "#/$defs/Provenance" }, "title": "Provenance", "type": "array" }, "probe_skipped": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Probe Skipped" }, "resources": { "items": { "type": "string" }, "title": "Resources", "type": "array" } }, "required": [ "host" ], "title": "Target", "type": "object" }, "TargetSummary": { "properties": { "target": { "title": "Target", "type": "string" }, "status": { "title": "Status", "type": "string" }, "grade": { "title": "Grade", "type": "string" }, "counts": { "additionalProperties": { "type": "integer" }, "title": "Counts", "type": "object" }, "nearest_deadline": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Nearest Deadline" }, "nearest_deadline_date": { "anyOf": [ { "format": "date", "type": "string" }, { "type": "null" } ], "default": null, "title": "Nearest Deadline Date" }, "nearest_deadline_days": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Nearest Deadline Days" }, "tags": { "items": { "type": "string" }, "title": "Tags", "type": "array" }, "owner": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Owner" }, "duration_ms": { "default": 0.0, "title": "Duration Ms", "type": "number" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Error" } }, "required": [ "target", "status", "grade" ], "title": "TargetSummary", "type": "object" }, "TlsVersionSupport": { "properties": { "tls13": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Tls13" }, "tls12": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Tls12" }, "tls11": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Tls11" }, "tls10": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Tls10" }, "ciphers": { "additionalProperties": { "type": "string" }, "title": "Ciphers", "type": "object" }, "weak_accepted": { "additionalProperties": { "type": "string" }, "title": "Weak Accepted", "type": "object" } }, "title": "TlsVersionSupport", "type": "object" } }, "properties": { "schema_version": { "default": 1, "title": "Schema Version", "type": "integer" }, "tool_version": { "title": "Tool Version", "type": "string" }, "generated_at": { "format": "date-time", "title": "Generated At", "type": "string" }, "trust_store": { "default": "bundled", "title": "Trust Store", "type": "string" }, "deadlines_source": { "items": { "type": "string" }, "title": "Deadlines Source", "type": "array" }, "targets": { "items": { "$ref": "#/$defs/TargetSummary" }, "title": "Targets", "type": "array" }, "findings": { "items": { "$ref": "#/$defs/ScoredFinding" }, "title": "Findings", "type": "array" }, "totals": { "additionalProperties": { "type": "integer" }, "title": "Totals", "type": "object" }, "severity_counts": { "additionalProperties": { "type": "integer" }, "title": "Severity Counts", "type": "object" }, "warnings": { "items": { "type": "string" }, "title": "Warnings", "type": "array" }, "slowest": { "items": { "additionalProperties": true, "type": "object" }, "title": "Slowest", "type": "array" }, "dns_failures": { "items": { "type": "string" }, "title": "Dns Failures", "type": "array" }, "tls_failures": { "items": { "type": "string" }, "title": "Tls Failures", "type": "array" }, "probes": { "items": { "$ref": "#/$defs/ProbeResult" }, "title": "Probes", "type": "array" }, "remediations": { "additionalProperties": { "$ref": "#/$defs/Remediation" }, "title": "Remediations", "type": "object" } }, "required": [ "tool_version", "generated_at" ], "title": "Report", "type": "object" }</description></item><item><title>Architecture</title><link>https://cpeoples.github.io/shorsighted/architecture/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cpeoples.github.io/shorsighted/architecture/</guid><description>ShorSighted is a one-way pipeline. Each layer hands the next a typed model (src/shorsighted/models.py, src/shorsighted/sources/inventory.py), so each can be tested alone. Adding a discovery source means adding one collector that returns an Inventory and, if it has configuration to judge, one config check.&#10;Pipeline flowchart TD S["&lt;b&gt;1 · Sources&lt;/b&gt;&lt;br/&gt;args · files · stdin · config&lt;br/&gt;AWS · Azure · GCP · MCP configs"] T["&lt;b&gt;2 · Targets&lt;/b&gt;&lt;br/&gt;normalize · mail discovery · dedupe"] P["&lt;b&gt;3 · Probes&lt;/b&gt;&lt;br/&gt;DNS · STARTTLS · ClientHello&lt;br/&gt;chain fetch · SSH KEXINIT"] C["&lt;b&gt;4 · Checks&lt;/b&gt;&lt;br/&gt;probe checks + config checks"] E["&lt;b&gt;5 · Engine&lt;/b&gt;&lt;br/&gt;deadlines · escalation · grades"] R["&lt;b&gt;6 · Reports&lt;/b&gt;&lt;br/&gt;table · json · jsonl · csv&lt;br/&gt;sarif · markdown · html · exit code"] S -- "RawInput" --&gt; T T -- "Target" --&gt; P P -- "ProbeResult" --&gt; C S -. "Fact (config only, no network)" .-&gt; C C -- "Finding" --&gt; E E -- "ScoredFinding" --&gt; R Stage What it does Code 1. Sources Turn CLI args, target files, stdin and shorsighted.yaml into RawInputs. Cloud and MCP collectors also return Facts (configuration that is judged without probing). sources/args.py, files.py, stdin.py, configured.py, aws/, azure.py, gcp.py, cloud/, mcp.py 2. Targets Lowercase and IDNA-encode hosts, resolve ports and protocol (TLS, SSH, STARTTLS), expand mail:// / mx:// into MX and SRV hosts, and dedupe on protocol + host + port + SNI while keeping provenance. targets/normalize.py, mail.py, dedupe.py, and the top-level protocols.py 3. Probes An async scheduler (global, per-host and per-IP limits, rate, resume) resolves each target and runs, per IP: the STARTTLS upgrade if needed, the raw ClientHello key-exchange probe, the chain fetch with trust-store verification and interception detection, or the SSH banner + KEXINIT read. probe/scheduler.py, resolve.py, starttls.py, kexprobe.py, clienthello.py, parser.py, chain.py, truststore.py, interception.py, ssh.py 4. Checks Pure functions. Probe checks (SSD-KEX, SSD-CHAIN, SSD-LIFE, SSD-TLS, SSD-SSH) read a ProbeResult; config checks (SSD-AWS-CONFIG, SSD-CLOUD-CONFIG, SSD-MCP) read an Inventory. checks/base.py (registry), one module per check 5. Engine Attach the nearest matching deadline, escalate severity as it approaches, grade each target A–F, and add catalog remediations. engine/deadlines.py, scoring.py, remediations.py, clock.py, data/deadlines.yaml, data/remediations.yaml 6. Reports Render the Report in the requested format and set the exit code. report/registry.py, one module per format Design rules Discovery never probes, and probes never know about clouds. A collector returns an Inventory: RawInputs that become probe targets, and Facts that config checks read. The probe layer only sees hosts and ports. Checks are pure functions with no I/O. Probe checks take a ProbeResult, config checks take an Inventory, and both get a CheckContext (deadlines and the evaluation instant). Both kinds register in checks/base.py, so the CLI runs whatever is registered and does not import individual checks. Read-only by construction. AWS calls are Describe/List/Get. Azure and GCP go through one GET-only HTTPS client that never follows redirects, so a bearer token cannot be forwarded to another host; the only POST is the OAuth token request in sources/cloud/auth.py. MCP config values are redacted to scheme, host and port before anything is stored; the only MCP request is one GET of /.well-known/oauth-protected-resource per server origin. The engine owns time. Only shorsighted.engine.clock reads the date, through an injectable now(), and checks receive “now” as data. (Cloud credential caching in sources/cloud/auth.py uses time.time() for token expiry, which never affects findings.) Reporters are plugins registered by format name in shorsighted.report.registry. Adding a format means adding one module and listing it in _BUILTIN. Failure isolation. A target’s DNS or TLS error becomes a ProbeResult with an error status, never an exception that stops the batch. One cloud service’s access-denied becomes a warning. Errors the user can fix (SourceError, ConfigError, CredentialError, …) exit 2 with a message; anything else is a bug: a traceback and exit 3. Why the KEX probe does not use ssl The OpenSSL linked into Python differs by platform (python.org builds for Windows and macOS have shipped OpenSSL 3.0.x, which cannot negotiate ML-KEM). To get the same verdict everywhere, SSD-KEX sends a hand-built TLS 1.3 ClientHello (probe/clienthello.py) and parses the ServerHello / HelloRetryRequest itself (probe/parser.py). A test asserts the KEX path never imports ssl.</description></item><item><title>Threat model</title><link>https://cpeoples.github.io/shorsighted/threat-model/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://cpeoples.github.io/shorsighted/threat-model/</guid><description>What ShorSighted touches, who could attack it, and what stops them. Reviewed for each minor release and for any change to a collector, the MCP server or a workflow.&#10;Actors and assets Actor Trust Can influence User running the CLI Trusted Targets, flags, shorsighted.yaml, which credentials are in scope Scanned endpoint (TLS/SSH server, DNS) Untrusted Every byte of ServerHello, certificates, SSH KEXINIT, STARTTLS banners, DNS answers Cloud provider APIs (AWS, Azure, GCP) Trusted transport, untrusted content Resource names, hostnames and settings returned by Describe/List/Get MCP client configs on disk Untrusted content Server URLs, headers, env values (may hold secrets) AI agent calling serve-mcp Untrusted Target lists and options passed to the scan tool Contributor Untrusted until reviewed Pull requests GitHub Actions, PyPI Trusted infrastructure Builds and distributes releases Assets: the user’s cloud credentials and MCP secrets, the user’s network position (ShorSighted can open connections from it), the correctness of the report, and the integrity of published releases.</description></item></channel></rss>