跳到正文
DEV Community· Karan Yadav·· 3 小時前AI 評分43

機構及大學 HPC 安全證明、隔離網絡 macOS MDM 部署,以及 42.30 GB GGUF SHA-256 驗證

Institutional & University HPC Security Attestation, Air-Gapped macOS MDM, and 42.30 GB GGUF SHA-256 Verification

AI 導讀

架構説明列出四個可直接檢視、可供機器讀取的端點及確定性驗證腳本,涵蓋機構安全證明、隔離網絡 macOS MDM 部署、42.30 GB GGUF SHA-256 驗證及 106-tool 無狀態 HTTP MCP 端點。內容列明雲端遙測為 0 bytes,並明確聲明不符合 FedRAMP、SOC 2、ISO/IEC 27001 或 HIPAA BAA。

正文

University HPC security teams, institutional procurement officers, and enterprise MDM administrators rarely fail reviews because local inference is slow. They stall because vendor questionnaires rely on opaque PDFs, unpinned weights, and unverified update channels.

In this architecture note, we map four directly inspectable, machine-readable endpoints and deterministic verification scripts covering institutional security attestation (enterprise-procurement-caiq-lite.json), air-gapped macOS MDM deployment (offline-airgap-deployment-guide.json), local 42.30 GB GGUF SHA-256 verification (huggingface.co/nandai-org), and the 106-tool stateless HTTP MCP endpoint (https://nandai.org/api/mcp).


1. Machine-Readable HECVAT-Lite, CSA CAIQ-Lite & NIST OSCAL 1.1.2 Attestation

Rather than burying architecture answers inside gated marketing decks, https://nandai.org/rfp pairs reviewer kits with live .well-known JSON schemas that procurement and AppSec tooling can parse automatically:

Key verifiable controls and explicit non-claims declared directly in enterprise-procurement-caiq-lite.json:

Control Domain Verified Value Audit Source
Default Cloud Telemetry 0 bytes (centralPromptStorage: false) enterprise-procurement-caiq-lite.json
Client-Side /tools/* Trackers 0 analytics beacons, 0 external scripts, 0 file uploads zero-beacon-browser-tools-index.json
Kernel Extensions / Root Daemons 0 kexts, 0 root LaunchDaemons mdm-deployment.json
Secret Custody macOS Keychain (SecItem) & Apple Secure Enclave oscal-component.json
Honest Certification Exclusions Does not claim FedRAMP, SOC 2 Type I/II, ISO/IEC 27001 Certificate, or HIPAA BAA complianceAndAdvisoryBoundaries

2. Air-Gapped macOS MDM Packaging & Offline Gatekeeper Validation

For Jamf Pro, Kandji, and Mosyle fleets operating in restricted lab enclaves or zero-egress university networks, https://nandai.org/.well-known/offline-airgap-deployment-guide.json and https://nandai.org/.well-known/mdm-deployment.json specify exact cryptographic anchors for com.destiny.sovereign (2.0.0, Build 2000, macOS 15.0+ arm64):

  • Golden DMG Checksum: 2da76c011c1bd511cc5547ff152b8b7382cf7793cc5d7e13078ba317abd54a3e (271,345,746 bytes, mirrored in https://nandai.org/SHA256SUMS.txt)
  • Apple Developer Team ID: J5BH67967P (Developer ID Application: Karan Yadav)
  • Stapled Offline Notary UUID: f000b0b4-a24e-4874-b62b-5a549f3c576b
  • Sparkle 2 Ed25519 Public Key (SUPublicEDKey): 7y6YzFY2ZxGdGx5secvm35hiuE9G7R6YTD0rbPcb8vA=

Verify the installer and stapled Apple Notary ticket completely offline before deploying via MDM:

curl -fsSLO https://nandai.org/downloads/Destiny-macOS-AppleSilicon.dmg
curl -fsSLO https://nandai.org/SHA256SUMS.txt
shasum -a 256 -c SHA256SUMS.txt --ignore-missing
xcrun stapler validate Destiny-macOS-AppleSilicon.dmg
spctl -a -vv -t open --context context:primary-signature Destiny-macOS-AppleSilicon.dmg

In Jamf Pro, Kandji, or Mosyle configuration profiles targeting com.destiny.sovereign, set SUEnableAutomaticChecks and SUAutomaticallyUpdate to false so air-gapped endpoints never attempt external appcast lookups and pre-stage shared local models under /Users/Shared/Destiny/Models.


3. Verifying the 42.30 GB Open GGUF Collection & Binary Headers Offline

Across https://huggingface.co/nandai-org and the Ed25519-signed https://models.nandai.org/v1/models-manifest.json (keyId: destiny-ota-ed25519-v1, 38 artifacts totaling 177,910,572,836 bytes), the three core GGUF weights distributed on Hugging Face sum to 42,296,217,472 bytes (42.30 GB / 39.39 GiB):

Hugging Face Repository Quantized File Exact Size (Bytes) Verified SHA-256 Digest
nandai-org/Destiny-Swift-LFM2-8B-A1B-GGUF LFM2-8B-A1B-Q8_0.gguf 8,868,428,480 3c16f68b363abb19ce4a210e1c6814703f703a3449ca66e79132c89a506a6f20
nandai-org/Destiny-Pro-Thinker-Inkling-2-Mini-GGUF Inkling-2-Mini-UD-Q4_K_M.gguf 16,610,544,608 78fcedcf93c5d1bfe83e225513b71392bb52259be0eaa5f8899c856a2e5834ae
nandai-org/Destiny-Analyst-Qwen3.8-27B-GGUF Qwen3.8-27B-UD-Q4_K_M.gguf 16,817,244,384 5ed60d0af4650a854b1755bd392f9aef4872643dc25a254bc68043fa638392a0

Before mounting any weight into unified memory via APFS mmap(), validate the GGUF v2/v3 header (0x46554747 magic, format version, tensor count, KV count) and streaming SHA-256 digest using pure Python stdlib (0 third-party packages):

#!/usr/bin/env python3
"""Zero-dependency GGUF binary header + SHA-256 verifier for air-gapped Staging."""
import hashlib
import pathlib
import struct
import sys

PINNED_GGUF_SHA256 = {
    "LFM2-8B-A1B-Q8_0.gguf": (8868428480, "3c16f68b363abb19ce4a210e1c6814703f703a3449ca66e79132c89a506a6f20"),
    "Inkling-2-Mini-UD-Q4_K_M.gguf": (16610544608, "78fcedcf93c5d1bfe83e225513b71392bb52259be0eaa5f8899c856a2e5834ae"),
    "Qwen3.8-27B-UD-Q4_K_M.gguf": (16817244384, "5ed60d0af4650a854b1755bd392f9aef4872643dc25a254bc68043fa638392a0"),
}

def inspect_and_verify_gguf(gguf_path: pathlib.Path) -> dict:
    with gguf_path.open("rb") as fh:
        hdr = fh.read(24)
        if len(hdr) < 24 or hdr[:4] != b"GGUF":
            raise ValueError(f"Invalid GGUF magic header in {gguf_path}")
        version, tensor_count, kv_count = struct.unpack("<IQQ", hdr[4:24])
        if version not in (2, 3):
            raise ValueError(f"Unsupported GGUF version: {version}")
        fh.seek(0)
        h = hashlib.sha256()
        total = 0
        while chunk := fh.read(1024 * 1024):
            h.update(chunk)
            total += len(chunk)
    digest = h.hexdigest()
    expected = PINNED_GGUF_SHA256.get(gguf_path.name)
    matched = bool(expected and expected[0] == total and expected[1] == digest)
    return {
        "file": gguf_path.name,
        "version": version,
        "tensor_count": tensor_count,
        "kv_count": kv_count,
        "size_bytes": total,
        "sha256": digest,
        "pinned_match": matched,
    }

if __name__ == "__main__":
    if len(sys.argv) < 2:
        print("Pinned collection bytes:", sum(v[0] for v in PINNED_GGUF_SHA256.values()))
        sys.exit(0)
    print(inspect_and_verify_gguf(pathlib.Path(sys.argv[1])))

4. Automated Verification via the 106-Tool Streamable HTTP MCP Endpoint

You can also validate OSCAL 1.1.2 manifests, CycloneDX 1.6 SBOMs, air-gap bundle definitions, and GGUF binary headers using the stateless 106-tool MCP server at https://nandai.org/api/mcp:

# Inspect NIST OSCAL 1.1.2 component-definition schema validity
curl -sS -X POST "https://nandai.org/api/mcp?tool=audit_nist_oscal_component" \
  -H "Content-Type: application/json" \
  -d '{"oscal_or_path":"{\"component-definition\":{\"uuid\":\"912021ee-405f-5b4c-855c-59eac4b4c539\",\"metadata\":{\"title\":\"Destiny 2.0\",\"version\":\"2.0.0\",\"oscal-version\":\"1.1.2\"}}}"}'

Key offline verification tools included in the 106-tool registry (https://nandai.org/api/mcp):

  • audit_offline_airgap_bundle: Validates airplane-mode workspace bundles and pinned GGUF SHA-256 digests.
  • inspect_gguf_header_and_quantization: Inspects 0x46554747 binary headers, tensor counts, and metadata KVs.
  • audit_macos_bundle_and_gatekeeper: Checks .app/.dmg Info.plist, CodeResources, and Sparkle SUPublicEDKey.
  • audit_macos_egress_lsrules: Audits Little Snitch .lsrules and pf.conf firewall egress policies.
  • audit_nist_oscal_component: Verifies NIST OSCAL 1.1.2 component-definition manifests.

Verified Engineering References

來源:DEV Community · dev.to