Rule catalog

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 <rule> 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.

79 rules: 52 fix, 6 plan, 14 note, 7 pass. Override or extend entries with --remediations FILE; see Remediation catalog.

FamilyRules
kexkex.pq-hybrid, kex.classical-only, kex.legacy-draft-pq, kex.no-tls13, kex.p256-fallback, kex.inconsistent, kex.inconclusive, kex.unreachable-ips
tlstls.plaintext, tls.starttls-offered, tls.legacy-only, tls.weak-cipher, tls.legacy-enabled, tls.tls13, tls.no-tls13, tls.sni-required
sshssh.inconclusive, ssh.mlkem, ssh.sntrup-only, ssh.classical-only, ssh.sha1-kex, ssh.weak-cipher, ssh.weak-host-key, ssh.pq-host-key, ssh.classical-host-keys, ssh.inconsistent
lifelife.expired, life.expiring, life.not-yet-valid, life.hostname-mismatch, life.no-san, life.over-max-lifetime, life.next-max-lifetime
chainchain.rsa-weak, chain.sha1, chain.pq-auth, chain.quantum-vulnerable-auth, chain.leaf-only, chain.untrusted, chain.node-untrusted, chain.node-different, chain.intercepted, chain.distrust-in-life, chain.distrust-renewal, chain.distrust-non-web
awsaws.listener-pq, aws.listener-not-pq, aws.classic-elb, aws.cloudfront-legacy-tls, aws.cloudfront-info, aws.apigw-legacy-tls, aws.apigw-info, aws.ssh-open, aws.private-zone, aws.acm-imported, aws.acm-expired, aws.acm-expiring, aws.acm-not-eligible, aws.acm-rsa-weak, aws.acm-p256, aws.acm-unused
cloudcloud.frontdoor-legacy-tls, cloud.appgw-legacy-tls, cloud.appservice-legacy-tls, cloud.appservice-http, cloud.lb-legacy-tls, cloud.lb-compatible, cloud.ssh-open, cloud.private-zone, cloud.cert-no-renew, cloud.cert-expired, cloud.cert-expiring, cloud.cert-inactive
mcpmcp.local, mcp.plaintext, mcp.credential-in-url, mcp.stdio, mcp.auth-server, mcp.auth-plaintext

kex

kex.pq-hybrid

pass Post-quantum hybrid key exchange

kex.classical-only

fix Enable post-quantum hybrid key exchange (X25519MLKEM768)

Without it, recorded traffic can be decrypted later by a quantum computer (harvest now, decrypt later). The hybrid keeps X25519, so it is never weaker than today.

  1. Upgrade the TLS library to one with ML-KEM (OpenSSL 3.5+, BoringSSL, AWS-LC, Go 1.24+, rustls 0.23.27+).
  2. If the server pins a list of groups/curves, put X25519MLKEM768 first.
  3. Re-run shorsighted to confirm the server picks it.

nginx

ssl_ecdh_curve X25519MLKEM768:secp384r1:X25519:prime256v1;  # OpenSSL 3.5+

apache

SSLOpenSSLConfCmd Groups X25519MLKEM768:secp384r1:X25519:prime256v1

haproxy

ssl-default-bind-curves X25519MLKEM768:P-384:X25519:P-256  # global section

openssl.cnf

Groups = X25519MLKEM768:secp384r1:X25519:secp256r1  # [system_default_sect]

go

Go 1.24+ offers X25519MLKEM768 by default: leave tls.Config.CurvePreferences unset, or include tls.X25519MLKEM768.

aws

ALB/NLB: switch the listener to an ELBSecurityPolicy-TLS13-*-PQ-* policy (AWS recommends ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09; shorsighted scan aws names the newest one in your region).

windows

Windows Server 2025 with KB5099536+ (IIS, Exchange): Enable-TlsEccCurve -Name X25519_MLKEM768 -Position 0, then reboot. Older releases: terminate TLS on a PQ-capable proxy.

postgresql

ssl_groups = 'X25519MLKEM768:X25519:prime256v1'  # PostgreSQL 18+; 17 and older cannot do ML-KEM

References: https://datatracker.ietf.org/doc/rfc10024/ · https://go.dev/doc/go1.24 · https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_ecdh_curve · https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslopensslconfcmd · https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html · https://learn.microsoft.com/en-us/windows/win32/secauthn/tls-supported-groups-in-windows-11-24h2-and-later

kex.legacy-draft-pq

fix Move from the draft Kyber hybrid to X25519MLKEM768

X25519Kyber768Draft00 predates FIPS 203. Clients have removed it, so they fall back to classical key exchange.

  1. Upgrade the TLS library and replace X25519Kyber768Draft00 with X25519MLKEM768 in the groups list.

nginx

ssl_ecdh_curve X25519MLKEM768:secp384r1:X25519:prime256v1;

apache

SSLOpenSSLConfCmd Groups X25519MLKEM768:secp384r1:X25519:prime256v1

References: https://datatracker.ietf.org/doc/rfc10024/

kex.no-tls13

fix Enable TLS 1.3, then post-quantum key exchange

Hybrid ML-KEM key exchange exists only in TLS 1.3.

  1. Enable TLS 1.3 alongside TLS 1.2.
  2. Then enable X25519MLKEM768 (see kex.classical-only).

nginx

ssl_protocols TLSv1.2 TLSv1.3;

apache

SSLProtocol -all +TLSv1.2 +TLSv1.3

haproxy

ssl-default-bind-options ssl-min-ver TLSv1.2  # TLS 1.3 is on by default with OpenSSL 1.1.1+

aws

ALB/NLB: use an ELBSecurityPolicy-TLS13-* policy.

References: https://www.rfc-editor.org/rfc/rfc8446 · https://ssl-config.mozilla.org/

kex.p256-fallback

plan Prefer P-384 over P-256 for classical key exchange

Context, not a verdict. NSA’s December 2026 advisory asks organisations to inventory elliptic curves other than P-384 or P-521, and Mozilla now ranks P-384 ahead of X25519 and P-256 when hybrid post-quantum key exchange is unavailable. Reports that P-256 itself is weakened are unconfirmed: no attack, cost estimate or official statement naming it has been published. ShorSighted will change the severity only if one is.

  1. Enable X25519MLKEM768 first; that removes the dependence on the classical curve.
  2. For the fallback, list secp384r1 ahead of X25519 and P-256.

nginx

ssl_ecdh_curve X25519MLKEM768:secp384r1:X25519:prime256v1;

apache

SSLOpenSSLConfCmd Groups X25519MLKEM768:secp384r1:X25519:prime256v1

haproxy

ssl-default-bind-curves X25519MLKEM768:P-384:X25519:P-256

References: https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662430/nsa-advises-immediate-transition-to-post-quantum-cryptography-to-protect-nation/ · https://blog.mozilla.org/en/mozilla/post-quantum-transition/

kex.inconsistent

fix Make key exchange consistent across server IPs

Some nodes behind this name negotiate post-quantum key exchange and others don’t, so protection depends on which node a client reaches.

  1. Roll the same TLS library and group configuration out to every node / listener.

kex.inconclusive

note Key exchange probe inconclusive

The probe got no usable answer from some address. Often a timeout or a middlebox that drops large (post-quantum) ClientHellos.

  1. Rerun with a longer –timeout. If it persists, check firewalls/IPS in front of the server for drops of ClientHellos over ~1.2 KB.

kex.unreachable-ips

note Addresses unreachable from the scanner

The scanner couldn’t reach these addresses (commonly IPv6 from a network without IPv6 routing).

  1. Scan from a host with IPv6 connectivity, or pass –ipv4-only.

tls

tls.plaintext

fix Enable TLS on this service

Everything on the connection, including credentials, is readable on the network today. Post-quantum key exchange is moot until TLS is on.

  1. Install a certificate and enable STARTTLS (or the implicit-TLS port).
  2. Require TLS for authentication where the protocol allows it.

postfix

postconf -e 'smtpd_tls_security_level = may' 'smtpd_tls_chain_files = /etc/ssl/private/mail.pem' && postfix reload

dovecot

ssl = required

postgres

ssl = on  # postgresql.conf; use hostssl lines in pg_hba.conf

References: https://www.postfix.org/TLS_README.html · https://www.postgresql.org/docs/current/ssl-tcp.html

tls.starttls-offered

pass STARTTLS offered

tls.legacy-only

fix Upgrade the TLS stack (TLS 1.2 and 1.3)

Current browsers and most API clients refuse TLS 1.0/1.1 (RFC 8996), so they can’t connect at all.

  1. Upgrade the server or its TLS library to one that supports TLS 1.2 and 1.3.

References: https://www.rfc-editor.org/rfc/rfc8996

tls.weak-cipher

fix Remove NULL, RC4 and 3DES cipher suites

  1. Allow only AEAD suites (AES-GCM, ChaCha20-Poly1305) with ECDHE. The Mozilla “intermediate” profile is a safe default.

nginx

ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305;

apache

SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305

References: https://ssl-config.mozilla.org/ · https://www.rfc-editor.org/rfc/rfc7465

tls.legacy-enabled

fix Disable TLS 1.0 and 1.1

Deprecated by RFC 8996; no supported client needs them.

nginx

ssl_protocols TLSv1.2 TLSv1.3;

apache

SSLProtocol -all +TLSv1.2 +TLSv1.3

haproxy

ssl-default-bind-options ssl-min-ver TLSv1.2

postfix

postconf -e 'smtpd_tls_protocols = >=TLSv1.2' 'smtpd_tls_mandatory_protocols = >=TLSv1.2'

dovecot

ssl_min_protocol = TLSv1.2

aws

ALB/NLB: use an ELBSecurityPolicy-TLS13-1-2-* policy; CloudFront: TLSv1.2_2021 or newer.

References: https://www.rfc-editor.org/rfc/rfc8996 · https://ssl-config.mozilla.org/

tls.tls13

pass TLS 1.3 supported

tls.no-tls13

fix Enable TLS 1.3

Required for post-quantum hybrid key exchange; when SSD-KEX already reports it, this finding is info-only context.

nginx

ssl_protocols TLSv1.2 TLSv1.3;

apache

SSLProtocol -all +TLSv1.2 +TLSv1.3

References: https://www.rfc-editor.org/rfc/rfc8446

tls.sni-required

note Server requires SNI

Handshakes without server_name fail. Every modern client sends SNI, so this only matters for legacy clients.

ssh

ssh.inconclusive

note SSH probe inconclusive

  1. Check that the port speaks SSH and isn’t filtered; rerun with a longer –timeout.

ssh.mlkem

pass ML-KEM hybrid SSH key exchange

ssh.sntrup-only

fix Add mlkem768x25519-sha256 (FIPS 203) key exchange

sntrup761x25519 protects against harvest-now, decrypt-later, but it is not a NIST algorithm, so it won’t satisfy FIPS / CNSA 2.0 requirements.

  1. Upgrade to OpenSSH 9.9+ (10.0 makes mlkem768x25519-sha256 the default).

sshd_config

KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,curve25519-sha256

References: https://www.openssh.com/pq.html · https://www.openssh.com/releasenotes.html

ssh.classical-only

fix Enable post-quantum SSH key exchange

Recorded SSH sessions can be decrypted later by a quantum computer (harvest now, decrypt later).

  1. Upgrade to OpenSSH 10.0+ (or 9.9+ and enable it explicitly).
  2. If KexAlgorithms is pinned, add mlkem768x25519-sha256 first.

sshd_config

KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,curve25519-sha256

References: https://www.openssh.com/pq.html

ssh.sha1-kex

fix Remove SHA-1 Diffie-Hellman key exchange

sshd_config

KexAlgorithms -diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1

References: https://man.openbsd.org/sshd_config#KexAlgorithms

ssh.weak-cipher

fix Allow only AEAD and CTR SSH ciphers

sshd_config

Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr

References: https://man.openbsd.org/sshd_config#Ciphers

ssh.weak-host-key

fix Remove weak SSH host key algorithms

  1. Remove the algorithm from HostKeyAlgorithms and delete the matching HostKey line (DSA keys especially).

sshd_config

HostKeyAlgorithms -ssh-dss,ssh-rsa

References: https://man.openbsd.org/sshd_config#HostKeyAlgorithms

ssh.pq-host-key

pass Post-quantum SSH host key

ssh.classical-host-keys

plan Plan for post-quantum SSH host keys

Host keys only need to resist forgery at connection time, so this is not urgent. ML-DSA hybrid host keys can be adopted once your clients support them.

ssh.inconsistent

fix Make sshd configuration consistent across IPs

  1. Apply the same sshd configuration on every node behind this name.

life

life.expired

fix Renew the expired certificate

Clients that validate certificates refuse the connection; any that still connect have certificate checking turned off.

  1. Renew now, then automate renewal (ACME client, cert-manager, or a managed certificate).

certbot

certbot renew && systemctl reload nginx

cert-manager

cmctl renew <certificate> -n <namespace>

References: https://letsencrypt.org/docs/ · https://cert-manager.io/docs/

life.expiring

fix Renew the certificate (renewal is overdue)

  1. Renew now and check why automated renewal didn’t run (timer, DNS/HTTP challenge, rate limits).

certbot

certbot renew --dry-run  # shows why renewal fails

life.not-yet-valid

fix Fix the server clock or certificate dates

  1. Check NTP on the server and the certificate’s notBefore date.

life.hostname-mismatch

fix Serve a certificate that covers this hostname

  1. Reissue with the hostname in subjectAltName, or fix the virtual host / SNI mapping so the right certificate is served.

life.no-san

fix Reissue with subjectAltName

Clients ignore the subject CN; the hostname must be in subjectAltName (RFC 6125).

life.over-max-lifetime

fix Reissue within the CA/B Forum maximum lifetime

Publicly trusted CAs can’t issue this, so it is likely private or will be rejected by browsers.

life.next-max-lifetime

plan Automate renewal before maximum lifetimes drop

CA/B Forum ballot SC-081 cuts maximum lifetimes to 200, 100 and then 47 days. The deployed certificate keeps working; manual renewal processes won’t keep up.

  1. Move issuance to ACME (or ACM / a cloud-managed certificate).

References: https://cabforum.org/2025/04/11/ballot-sc081v3-introduce-schedule-of-reducing-validity-and-data-reuse-periods/

chain

chain.rsa-weak

fix Replace the sub-2048-bit RSA key

  1. Generate an ECDSA P-384 or RSA-3072+ key and reissue.

openssl

openssl req -new -newkey ec -pkeyopt ec_paramgen_curve:P-384 -nodes -keyout server.key -out server.csr

chain.sha1

fix Reissue with a SHA-256 signature

References: https://cabforum.org/working-groups/server/baseline-requirements/

chain.pq-auth

pass Post-quantum authentication

chain.quantum-vulnerable-auth

plan Plan for post-quantum certificates

Signatures only need to resist forgery at connection time, so classical certificates are fine today. Track your CA’s ML-DSA / Merkle Tree Certificate roadmap.

chain.leaf-only

fix Serve the intermediate certificate

Browsers may fetch it themselves (AIA), but curl, OpenSSL, mobile apps and most API clients fail.

  1. Configure the full chain file (leaf followed by intermediates), not just the leaf.

nginx

ssl_certificate /etc/ssl/fullchain.pem;  # leaf + intermediates, not cert.pem

apache

SSLCertificateFile /etc/ssl/fullchain.pem  # Apache 2.4.8+

certbot

Point the server at live/<name>/fullchain.pem.

chain.untrusted

fix Use a publicly trusted certificate chain

  1. Serve a certificate from a publicly trusted CA with its full chain, or distribute your private CA to every client that connects.

chain.node-untrusted

fix Deploy the same certificate chain to every node

Clients that reach the failing IPs get certificate errors.

chain.node-different

note Different certificates across IPs

Common during staged renewals or across CDN regions.

chain.intercepted

note TLS interception by a middlebox

A proxy or DNS filter on the scanning network answered instead of the server, so nothing about the server was measured.

  1. Re-run from a network without TLS inspection or DNS filtering, or ask for a bypass for this host.

chain.distrust-in-life

fix Reissue from a chain without the distrusted CA key

Browsers stop trusting the chain while the deployed certificate is still valid.

  1. Ask your CA for a P-384 or RSA-3072+ chain, reissue and deploy before the date.

chain.distrust-renewal

fix Make sure the next renewal uses a newer chain

The deployed certificate expires before the distrust date; only its replacement is affected.

chain.distrust-non-web

plan Expect a new CA chain at your next renewal

A browser rule that doesn’t apply to this protocol, but CAs stop issuing from these CAs.

aws

aws.listener-pq

pass Listener uses a post-quantum SSL policy

aws.listener-not-pq

fix Switch the listener to a post-quantum SSL policy

aws-cli

aws elbv2 modify-listener --listener-arn <arn> --ssl-policy <ELBSecurityPolicy-...-PQ-...>

References: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html

aws.classic-elb

fix Migrate off the Classic Load Balancer

Classic Load Balancers have no post-quantum SSL policies.

References: https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/migrate-classic-load-balancer.html

aws.cloudfront-legacy-tls

fix Raise the CloudFront minimum protocol version

  1. Set the distribution’s security policy to TLSv1.2_2021 or newer.

References: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html

aws.cloudfront-info

note CloudFront viewer certificate settings

aws.apigw-legacy-tls

fix Raise the API Gateway domain security policy

  1. Set the custom domain’s security policy to TLS_1_2 or newer.

aws.apigw-info

note API Gateway domain security policy

aws.ssh-open

fix Restrict SSH exposure

  1. Limit port 22 to known ranges, or use SSM Session Manager instead of inbound SSH.

aws.private-zone

note Private hosted zone (not probed)

  1. Run shorsighted from inside the VPC to probe these names.

aws.acm-imported

fix Replace the imported certificate with an ACM-issued one

Imported certificates never auto-renew.

aws.acm-expired

fix Renew or replace the expired ACM certificate

aws.acm-expiring

fix Check ACM renewal status

  1. Make sure the DNS validation CNAME records still exist so ACM can renew.

aws.acm-not-eligible

fix Restore ACM managed renewal

  1. Check DNS validation records so ACM can renew the certificate.

aws.acm-rsa-weak

fix Reissue with EC_secp384r1 or RSA_3072+

aws.acm-p256

plan Prefer EC_secp384r1 keys

aws.acm-unused

note Unused ACM certificate

  1. Delete it if it’s no longer needed.

cloud

cloud.frontdoor-legacy-tls

fix Set the Front Door minimum TLS version to 1.2

cloud.appgw-legacy-tls

fix Use a TLS 1.2+ Application Gateway SSL policy

References: https://learn.microsoft.com/azure/application-gateway/application-gateway-ssl-policy-overview

cloud.appservice-legacy-tls

fix Set the App Service minimum TLS version to 1.2

cloud.appservice-http

fix Enable HTTPS Only

cloud.lb-legacy-tls

fix Attach a TLS 1.2+ SSL policy (MODERN or RESTRICTED)

References: https://cloud.google.com/load-balancing/docs/ssl-policies-concepts

cloud.lb-compatible

fix Move off the COMPATIBLE SSL policy profile

References: https://cloud.google.com/load-balancing/docs/ssl-policies-concepts

cloud.ssh-open

fix Restrict SSH exposure

  1. Limit port 22 to known ranges, or use Azure Bastion / IAP TCP forwarding.

cloud.private-zone

note Private DNS zone (not probed)

cloud.cert-no-renew

fix Use a managed certificate or automate renewal

cloud.cert-expired

fix Renew or replace the expired certificate

cloud.cert-expiring

fix Renew the certificate

cloud.cert-inactive

fix Fix managed certificate provisioning

  1. Check DNS authorization and that the domains point at the load balancer.

mcp

mcp.local

note Local MCP server

mcp.plaintext

fix Use an https:// MCP server URL

Tool calls, results and any bearer token cross the network unencrypted.

mcp.credential-in-url

fix Move the credential out of the MCP URL

URLs end up in logs, shell history and shared config files.

mcp.stdio

note Local stdio MCP server

mcp.auth-server

note MCP OAuth authorization server (probed as a target)

mcp.auth-plaintext

fix Use an https:// authorization server

References: https://modelcontextprotocol.io/specification/2025-06-18/basic/authorization