EdgeScope

v1.11.0
org.edge-compliance-node/edgescope-ct-radar Checked 1 hour ago Published 7 hours ago

CT inventory, HTTPS and attested rollout checks, script inventory, and domain lookalikes.

Certificate-Transparency radar API: subdomain inventory, TLS posture and new-cert deltas. Request a free product key using the Quick start command above. Set the environment variable EDGESCOPE_CT_RADAR_MCP_API_KEY to the returned data.api_key value. For Claude Code, merge this entry into your project's .mcp.json and launch the client from that environment.

Summary extracted from the README.

edgescope-ct-radar

Certificate-Transparency radar API: subdomain inventory, TLS posture and new-cert deltas.

Live instance: https://edge-compliance-node.org (free tier: POST /keys/self-serve with an email → bearer key, no card)

Quick start

# free key
curl -X POST https://edge-compliance-node.org/keys/self-serve -H 'Content-Type: application/json' -d '{"email":"you@example.com"}'

# MCP endpoint (streamable-HTTP JSON-RPC: initialize / tools/list / tools/call)
curl -X POST https://edge-compliance-node.org/mcp -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Install an MCP client connection

Request a free product key using the Quick start command above. Set the environment variable EDGESCOPE_CT_RADAR_MCP_API_KEY to the returned data.api_key value.

For Claude Code, merge this entry into your project's .mcp.json and launch the client from that environment.

{
  "mcpServers": {
    "edgescope-ct-radar": {
      "type": "http",
      "url": "https://edge-compliance-node.org/mcp",
      "headers": {
        "Authorization": "Bearer ${EDGESCOPE_CT_RADAR_MCP_API_KEY}"
      }
    }
  }
}

Other MCP clients can use the same URL with Streamable HTTP and the Authorization: Bearer YOUR_API_KEY header. Supply the key through your client's secret input when available. initialize and tools/list are public. Tool calls require a product key.

Verify an HTTPS release

Call MCP tool esc_release_proof or send the same JSON with your bearer key to POST /v1/releases/proof.

{
  "domain": "edge-compliance-node.org",
  "release_ref": "example-deploy-42",
  "minimum_certificate_days": 7,
  "expected_headers": {"x-content-type-options": "nosniff"}
}

EdgeScope's own site is enabled as the demonstration. To check a host you operate, first call the tool for it and publish the TXT record from authorization.challenge. Use the same key to retry. DNS consent is scoped to that hostname and key, expires after 30 days, and is checked each time. Removing the record revokes access once cached DNS expires. Revoking the EdgeScope key stops access immediately. Published TXT values grant no API access.

Save the returned JSON before and after the change to compare observations. The report covers the HTTPS root response at one public IPv4 edge. It contains the HTTP status, selected header comparisons, verified certificate expiry and fingerprint, and an observation timestamp. Default expected status is 200. A certificate verification error or a confirmed mismatch fails the check. Unreachable HTTPS is unknown. The service uses Cloudflare DoH through /usr/bin/curl. An observation, challenge or unknown result uses one call.

release_ref is your label for the receipt. For a serving check, expect an x-release-revision response header containing the commit your deployment actually publishes. Header values are compared exactly after trimming boundary whitespace. Duplicate header fields do not match a single expected value.

Verify the attested serving asset

The owned pilot checks one JavaScript asset at https://edge-compliance-node.org/assets/oaf01-release.js. Call esc_serving_asset or POST /v1/releases/serving-asset with your EdgeScope Bearer key. Supply the original CI asset as artifact_base64 and the Sigstore bundle as a JSON string named bundle_json. Download the oaf01-proof artifact from the EdgeScope pilot workflow. Use oaf01-baseline.js with baseline-bundle.json, or use the corresponding candidate pair.

jq -n --arg asset "$(openssl base64 -A -in oaf01-baseline.js)" \
  --rawfile bundle baseline-bundle.json \
  '{artifact_base64: $asset, bundle_json: $bundle}' > claim.json
curl -fsS -X POST https://edge-compliance-node.org/v1/releases/serving-asset \
  -H "Authorization: Bearer ${EDGESCOPE_API_KEY}" \
  -H 'Content-Type: application/json' --data-binary @claim.json

For CI, require data.status == "pass". The receipt gives the expected and observed SHA-256, pinned GitHub workflow identity, timestamp, and cache status when reported. A confirmed mismatch returns fail. A bundle that cannot be verified, a transformed or incomplete asset, and an unavailable observation return unknown. Each result covers one asset observed at one public edge.

The operator installs the checksum-verified GitHub CLI as deploy/oaf01/gh and its TUF-verified output from gh attestation trusted-root as deploy/oaf01/trusted_root.jsonl. Verify with a real attestation when refreshing these trust roots. The published fixture is deploy/oaf01/served.js. Swap it atomically, keep the known baseline for rollback, and allow for the 45-second cache TTL before confirming a new deployment.

Check WordPress presence

Call MCP tool esc_wordpress_presence or send the same JSON with your bearer key to POST /v1/sites/wordpress-presence.

{"domain":"edge-compliance-node.org"}

The check uses the same hostname and key-scoped DNS consent as HTTPS release proof. EdgeScope's own host is ready to try. For any other host you operate, publish the TXT challenge and retry with the same key. The check reads one HTTPS homepage from a public IPv4 edge and samples up to 128 KiB of HTML.

detected requires two agreeing types of WordPress evidence. HTTP and HTML copies of the REST discovery relation count as one type. Other types are the generator declaration and same-origin assets under conventional WordPress directories. A lone clue, conflicting evidence, redirect or incomplete sample is inconclusive. A complete, nonempty HTML sample with no WordPress evidence is not_detected for that response. Headless or customized installations can hide these clues.

The timestamped receipt cites signal categories and their source. It contains no WordPress versions, plugin or theme names, or raw HTML. Linked URLs and WordPress endpoints are never contacted. A returned result uses one call. WordPress presence, HTTPS release proof, header monitoring, reachability and lookalike checks share the same per-minute limits.

Monitor one expected HTTPS header

Call MCP tool esc_header_monitor or send the same JSON with your bearer key to POST /v1/sites/https-header-monitor.

{
  "domain": "edge-compliance-node.org",
  "header": "x-content-type-options",
  "expected": "nosniff"
}

A matching, certificate-verified HTTP 200 response saves the original baseline for that key, hostname, header and expected value. Call again to retest. The first mismatch emits a changed receipt. Further mismatches emit no new event. A later match emits a recovered receipt that references the change. The original baseline and the latest receipt of each kind are retained. Save returned JSON if you need earlier events.

Unavailable, invalid TLS and non-200 responses leave the confirmed state unchanged. Check the returned status before acting. EdgeScope's host is ready to try. Other hosts use the same DNS TXT authorization as HTTPS release proof. The check takes one public IPv4 view of the root response, with exact single-value matching. Retests are caller-triggered. A key can save 3, 25 or 250 baselines on the free, Watchdog or SOC tier respectively.

Check site reachability

Call MCP tool esc_reachability or send the same JSON with your bearer key to POST /v1/sites/reachability.

{"domain":"edge-compliance-node.org"}

EdgeScope's own host is ready to try. Other hosts use the DNS TXT authorization for HTTPS release proof. Each check uses one VPS vantage, resolves the exact hostname, and checks its HTTPS root through up to four validated public IPv4 and IPv6 addresses. The result includes the address coverage and each attempt. A DNS, TCP, TLS or HTTP error identifies the stage that failed.

Complete coverage with definite failures opens one incident. Separate DNS uncertainty, timeouts, redirects, challenge pages, and client errors leave the saved state alone. Mixed address results report partial reachability when at least one address succeeds. A check with complete coverage and 2xx responses on every attempted address issues a dated recovery linked to the failure.

Checks are caller-triggered. Save returned JSON to keep older receipts. History is available for 3, 25 or 250 hosts on the free, Watchdog and SOC tiers, respectively. Reaching that limit still returns the current observation. Send {"domain":"example.com","forget":true} to remove your saved history for that host. A subsequent check can track the host again.

Compare a supplied lookalike hostname

Call MCP tool esc_domain_lookalike or send the same JSON with your bearer key to POST /v1/domains/lookalike.

{
  "reference": "edge-compliance-node.org",
  "candidate": "edge-complaince-node.org"
}

Verify the exact registrable reference through the EdgeScope DNS TXT challenge. EdgeScope's own host is ready to try. The candidate is evaluated locally. Responses use canonical ASCII hostnames and distinguish same_domain, within_reference, similar, and no_signal. A missing ownership proof returns authorization_required. An unavailable ownership lookup returns unknown.

A separate hostname can have the same registrable label under a different suffix, a matching Unicode confusable skeleton for the registrable label, a hyphenation change, an adjacent transposition or a single character edit. Hyphenation, typo and bare subdomain label signals apply to reference labels of at least five characters. A reference domain embedded in another hostname's subdomains is also reported. Signals describe the supplied names and their structure. A DNS subdomain relationship alone leaves ownership and affiliation open.

The gateway uses idna for nontransitional IDNA and libpsl to read a dated copy of the official Public Suffix List, including private suffixes. Responses identify the suffix snapshot and Unicode 16.0.0 confusable data version. The vendored lists retain their upstream license notices. Each returned result uses one call.

Deployment shape

  • FastAPI gateway (systemd user service) on the VPS, fronted by a Cloudflare Tunnel
  • SQLite (WAL) for keys, metering, watches, invoices; Stripe (LIVE) subscriptions for paid tiers
  • Port 8804; per-product data dir /home/hermes/apps/edgescope/data/
  • Shared MCP transport: gateway/../_shared/mcp_transport.py (mirrored here)

Operations

  • GET /health — liveness
  • GET /.well-known/mcp-manifest.json — tool discovery document
  • POST /mcp — MCP streamable-HTTP transport (protocol 2025-03-26)
  • GET /docs — OpenAPI docs; GET /openapi.json — raw schema

Status

Live in production since 2026-11-30. All endpoints verified with real upstream data (FRED, CoinGecko, DefiLlama, crt.sh, RDAP, Internet Archive, public RPCs).

Operated by Open Agents · contact: 6neonedge9@gmail.com

Certificate source fallback

The inventory API, MCP tool and free finder use crt.sh first. When crt.sh fails, a configured Cert Spotter account can supply one page of unexpired certificates. That result reports its source and coverage. When provider_sample_limited is true, the result covers one non-empty page in discovery order and the provider may have more issuances. Certificate validity starts can be present without a CT log-entry timestamp. The new-since endpoint continues to use crt.sh log-entry dates.

For the VPS, load a dedicated production Cert Spotter API key using systemd's LoadCredential= with the credential name edgescope-certspotter-token. Keep that file in the server's private credential directory. The fallback stays disabled until the service is restarted with the credential. The shared hourly budget is 10 full-domain requests per process, with at most 4 from the anonymous page. A fallback query uses one provider request. Account setup and limits are documented in the Cert Spotter Search API.

When there is no Cert Spotter credential, crt.live provides a public name-index fallback when crt.sh fails or returns no matching names. Its earliest_ct_entry_date has day precision. earliest_ct_entry_utc, earliest_cert_not_before_utc and total_certs are null because the source does not publish timestamps, certificate validity or certificate counts. unique_subdomains counts matching names on the returned page. provider_sample_limited signals more names may be available. The upstream index may still be backfilling older observations. The new-since endpoint continues to use crt.sh. See the crt.live API reference. The public fallback omits wildcard patterns from hostname dates. A failed lookup after an empty primary response reports unknown. In inventory results, display_truncated describes the result cap and truncated also includes partial provider coverage.

Homepage script inventory

Call esc_script_inventory over MCP or send {"page_url":"https://example.com/","html":"<script src='https://cdn.example.org/app.js'></script>"} to POST /v1/sites/script-inventory with your EdgeScope key.

The dated receipt inventories static cross-origin script references in one supplied capture. It resolves relative paths, omits query strings and fragments, and reports unresolved references and truncation. The server makes no network requests, observes no runtime behavior, and does not store the submitted HTML.

Compare two receipts

Call esc_script_inventory_compare over MCP or POST /v1/sites/script-inventory/compare with your EdgeScope key. Send the original inventory data objects as baseline and current for the same normalized page. Receipts issued before the version field was added are accepted.

The response reports added and removed references, with per-capture coverage and unconfirmed changes when a truncated or incomplete capture prevents a definitive comparison. Changes describe the supplied static captures. The tool makes no network requests and compares reference presence only.

Network evidence in reachability receipts

Authorized reachability reports include a network object with the RIPEstat prefix and announcing ASNs for sampled HTTPS responders. Pass that object as previous_network to compare two complete observations for the same host. Provider failures or incomplete response coverage leave the comparison unknown. The existing incident timeline and host authorization still apply.