Dev.to Security πŸ” Cybersecurity πŸ‘ 0 πŸ“– 3 min read

IETF RFC Conformance (RFC 8615, 9116, 9728, 9420, 9605) & Zero-Trust macOS Egress Isolation

Modern developer tools routinely claim security and privacy compliance in prose while hiding behind opaque cloud telemetry and undocumented endpoints. A verifiable engineering alternative exposes machine-readable conform

Modern developer tools routinely claim security and privacy compliance in prose while hiding behind opaque cloud telemetry and undocumented endpoints. A verifiable engineering alternative exposes machine-readable conformance manifests directly under /.well-known/ per IETF RFC 8615, pairs them with stateless verification tools over Streamable HTTP MCP, and enforces network isolation at the macOS packet-filter and hypervisor boundaries.

In this architecture walkthrough, we verify live RFC conformance (RFC 8615, RFC 9116, RFC 9728, RFC 9420, and RFC 9605) across https://nandai.org/specs, https://nandai.org/.well-known/well-known-catalog.json, and https://nandai.org/api/mcp, then validate zero-trust macOS egress isolation rulesets with zero uploaded bytes.

1. Machine-Readable IETF RFC Conformance Matrix

Every ratified discovery, security disclosure, and cryptographic transport primitive on https://nandai.org/standards/ietf-cryptographic-network-well-known-rfcs-conformance maps directly to an auditable endpoint or protocol boundary:

Standard Scope Live Endpoint / Artifact Verified State
RFC 8615 Well-Known URI discovery catalog /.well-known/well-known-catalog.json 132 live endpoints (129 static files + 3 Nginx aliases)
RFC 9116 Vulnerability disclosure policy /.well-known/security.txt Contact, Expires: 2027-11-27T23:59:59Z, Canonical, Policy
RFC 9728 OAuth 2.0 Protected Resource Metadata /.well-known/oauth-protected-resource Declares /api/mcp with authentication_required: false
RFC 9420 OpenMLS group E2EE state machine /.well-known/cryptographic-security-posture.json OpenMLS paired with X-Wing (ML-KEM-768 + X25519) hybrid KEM
RFC 9605 SFrame real-time media frame E2EE /.well-known/ietf-rfc-standards-conformance.json Frame-level AEAD decoupled from WebRTC SFU transport

Checking https://nandai.org/.well-known/oauth-protected-resource (291 bytes) allows any compliant MCP client to discover public capabilities automatically before issuing a JSON-RPC request:

{
  "resource": "https://nandai.org/api/mcp",
  "authorization_servers": [],
  "bearer_methods_supported": [],
  "resource_name": "Destiny Verification & Provenance MCP",
  "resource_documentation": "https://nandai.org/.well-known/mcp/server-card.json",
  "authentication_required": false
}

2. Auditing Cryptographic Posture (RFC 9420 & RFC 9605) via MCP

Calling audit_cryptographic_security_posture on https://nandai.org/api/mcp (110 live MIT tools) verifies TLS 1.3 transport controls, HSTS max-age (63072000), Keychain/Secure Enclave seat binding (kSecAttrAccessibleWhenUnlockedThisDeviceOnly), and OpenMLS + X-Wing posture with bytes_uploaded: 0:

curl -sS -X POST https://nandai.org/api/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "audit_cryptographic_security_posture",
      "arguments": {
        "manifest_or_path": "{\"openmls\":\"RFC 9420\",\"sframe\":\"RFC 9605\",\"kem\":\"X-Wing ML-KEM-768+X25519\",\"keychain\":\"kSecAttrAccessibleWhenUnlockedThisDeviceOnly\"}"
      }
    }
  }'

Live execution returns ok: true, profile_id: "SEC-02", score: 100, grade: "A+", clean: true, and gpl3_host_dylib_count: 0.

3. Zero-Trust macOS Egress Isolation (pf.conf, .lsrules & Micro-VM Virtio)

Even when cryptography and discovery headers are sound, desktop software can leak data through background analytics SDKs or unpinned auto-updaters. The https://nandai.org/.well-known/zero-trust-egress-firewall-spec.json specification documents 0 bytes of default cloud telemetry, 0 third-party analytics SDKs, 127.0.0.1 loopback-only local GGUF inference, and an Apple Virtualization.framework ARM64 Linux micro-VM (29.12 MB) communicating strictly over host-guest virtio sockets with zero unsolicited WAN TCP/IP egress.

Operators deploying in air-gapped or high-assurance macOS fleets can enforce egress isolation at both the PF packet filter and application firewall layers:

# /etc/pf.anchors/com.destiny.airgap
pass quick on lo0 inet proto { tcp udp } from 127.0.0.1 to 127.0.0.1
block drop out quick on !lo0 proto { tcp udp } from any to any

Validate a Little Snitch .lsrules policy programmatically against audit_macos_egress_lsrules and verify live RFC endpoints in pure Python stdlib:

#!/usr/bin/env python3
"""Verify RFC 8615, RFC 9116, RFC 9728 endpoints and audit macOS .lsrules egress."""
import json
import urllib.request

for url in (
    "https://nandai.org/.well-known/well-known-catalog.json",
    "https://nandai.org/.well-known/security.txt",
    "https://nandai.org/.well-known/oauth-protected-resource",
):
    with urllib.request.urlopen(url, timeout=15) as resp:
        assert resp.status == 200, (url, resp.status)

catalog = json.loads(
    urllib.request.urlopen(
        "https://nandai.org/.well-known/well-known-catalog.json", timeout=15
    ).read()
)
assert catalog["totalLiveWellKnownEndpoints"] == 132

lsrules = {
    "name": "Destiny Zero-Egress Profile",
    "rules": [
        {
            "action": "deny",
            "process": "/Applications/Destiny.app/Contents/MacOS/Destiny",
            "remote": "any",
        },
        {
            "action": "allow",
            "process": "/Applications/Destiny.app/Contents/MacOS/Destiny",
            "remote-addresses": "127.0.0.1",
        },
    ],
}
req = urllib.request.Request(
    "https://nandai.org/api/mcp",
    data=json.dumps({
        "jsonrpc": "2.0",
        "id": 2,
        "method": "tools/call",
        "params": {
            "name": "audit_macos_egress_lsrules",
            "arguments": {"rules_or_path": json.dumps(lsrules)},
        },
    }).encode(),
    headers={"Content-Type": "application/json"},
    method="POST",
)
res = json.loads(urllib.request.urlopen(req, timeout=15).read().decode())
payload = json.loads(res["result"]["content"][0]["text"])
assert payload["airgap_verified"] is True and payload["score"] == 100
print({"ok": True, "well_known": catalog["totalLiveWellKnownEndpoints"], "egress_score": payload["score"]})

Verified Engineering Resources

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.