06 Docs

Build on
the aether.

REST API, JS SDK, MCP server for AI agents, Sentinel CLI. Base URL https://aethernet.world/api.

Quickstart

curl
$ curl -X POST https://aethernet.world/api/scan \
    -H 'content-type: application/json' \
    -d '{"url":"https://example.com"}'

Public passive scan. No key needed; 10 requests/hour/IP.

Auth

Create a key, then send it as Authorization: Bearer ak_…. Keys are stored hashed (SHA-256); we can't show it again.

$ curl -X POST https://aethernet.world/api/v1/keys -d '{"email":"you@domain.com"}'
{"key":"ak_live_8f…","org":"org_…"}

REST API

GET/api/healthliveness
GET/api/statspublic counters
POST/api/scanpassive scan · public
POST/api/waitlistemail signup
POST/api/v1/keyscreate API key
POST/api/v1/sitesadd site → verification token
GET/api/v1/siteslist your sites
POST/api/v1/sites/:id/verifycheck file / DNS TXT
POST/api/v1/scansrun scan on verified site
GET/api/v1/scans/:idscan report
POST/api/v1/agents/heartbeatSentinel check-in
POST/api/v1/findingsagent uploads findings
GET/api/v1/findings?site=:idlist findings
POST/api/v1/patchesagent reports a patch
POST/api/v1/patches/:id/approveapprove a proposed patch
GET/api/v1/skillsskill catalogue
GET/api/badge/:siteId.svgpublic shield badge

Finding schema

{
  "id": "HDR-CSP",            // stable check id
  "skill": "header-hardening",
  "severity": "high",         // critical|high|medium|low|info|pass
  "title": "Missing Content-Security-Policy",
  "detail": "No CSP header; XSS impact is unrestricted.",
  "fix": "Content-Security-Policy: default-src 'self'; …",
  "patchable": true
}

Sentinel CLI

aether init --site URL       create aether.yml + verification file
aether verify                 confirm ownership with the core
aether scan [--json]         web + local project scan
aether patch [--apply]       dry-run diff, or apply with snapshot
aether rollback <id>        restore a snapshot
aether watch --interval 15m  continuous mode + heartbeat
aether doctor                 environment check

JS SDK

import { Aethernet } from "@aethernet/sdk";
const ae = new Aethernet({ key: process.env.AETHER_KEY });
const report = await ae.scan("https://example.com");
console.log(report.grade, report.findings.length);

MCP server

Give any MCP-capable AI agent (Claude, Cursor, your own) security tools: scan_site, list_findings, explain_finding, propose_patch, list_skills.

mcp config
{
  "mcpServers": {
    "aethernet": {
      "command": "npx",
      "args": ["-y", "@aethernet/mcp"],
      "env": { "AETHER_KEY": "ak_live_…" }
    }
  }
}

Webhooks

Events: finding.created, patch.proposed, patch.applied, patch.rolled_back, agent.offline. Signed with X-Aether-Signature: sha256=HMAC(body, secret).

Badge

<a href="https://aethernet.world/scan">
  <img src="https://aethernet.world/api/badge/SITE_ID.svg" alt="Shielded by Aethernet">
</a>

Ownership verification

Deep scans and patches only run on targets you prove you control. Use one:

# A) file
https://yourdomain.com/.well-known/aethernet.txt  →  aethernet-verify=TOKEN
# B) DNS
TXT  _aethernet.yourdomain.com  "aethernet-verify=TOKEN"

Responsible disclosure

Found a bug in Aethernet itself? Email security@aethernet.world (see /.well-known/security.txt). We reply within 72 hours. Good-faith research is welcome and won't be pursued legally.