DEVELOPER & DEVSECOPS INTEGRATION  |  Zero-Data Edge Guardrail: Raw Prompts Are Rejected by Design
REST API · Netlify Edge · Vercel · GitHub Actions

Add 4-Second Cryptographic AI Proofs
in 10 Lines of Code

SI Standards enforces strict architectural separation: your application strips sensitive entities locally in memory, hashes the AI-BOM and policy state, and sends only 64-character SHA-256 hex digests to our XRPL anchor API. If raw text is accidentally sent, our API rejects the request at the edge.

1. Anchor a Compliance Commitment (POST /api/anchor) Live Endpoint
curl -X POST https://sistandards.tech/api/anchor \
  -H "Content-Type: application/json" \
  -d '{
    "merkleRoot": "02497f57a8008b3c8859317ad7d2bc48ebd9e6d49d5d7e2c352056695b78c5a1",
    "aiBomHash":  "6a10835d53aef09a4419283710cc981273645192837465192837465192837465",
    "policyDigest": "f5a319b790e972eb881920394857612398475610293847561029384756102938",
    "vertical": "banking",
    "standardId": "OCC_SR11-7_DORA"
  }'
2. Verify Any Receipt On-Chain (GET /api/verify) Trustless Check
curl -s "https://sistandards.tech/api/verify?tx=5F2C6E0F93AA2D31D6C0B9521AC6140569A82D5790F3E63CB0ABE24D7F5A2B79&root=02497f57a8008b3c8859317ad7d2bc48ebd9e6d49d5d7e2c352056695b78c5a1"

# Response:
# {
#   "ok": true,
#   "validated": true,
#   "ledgerIndex": 22482379,
#   "verifiedMatch": true
# }
3. Netlify Edge Function / Vercel Middleware Wrapper Edge Ready
// netlify/edge-functions/si-proof-gate.ts
export default async (request: Request, context: any) => {
  const payload = await request.json();
  // 1. Strip PII/secrets inside your own edge isolate before LLM call
  const cleanPrompt = stripSensitiveEntities(payload.prompt);
  const policyDigest = await sha256Hex(cleanPrompt);

  // 2. Anchor zero-data Merkle root asynchronously to XRPL
  context.waitUntil(fetch("https://sistandards.tech/api/anchor", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      merkleRoot: await sha256Hex(ENV_AIBOM_HASH + "|" + policyDigest),
      aiBomHash: ENV_AIBOM_HASH,
      policyDigest,
      standardId: "SOC2_EU_AI_ACT"
    })
  }));

  return forwardToStatelessModel(cleanPrompt);
};
4. GitHub Actions CI/CD AI-BOM Weight Pinning DevSecOps
# .github/workflows/si-seal-release.yml
name: Pin AI-BOM Release Seal on XRPL
on:
  push:
    branches: [main]
jobs:
  seal-aibom:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Compute AI-BOM Digest & Anchor on XRPL
        run: |
          BOM_HASH=$(sha256sum ai-bom.json | awk '{print $1}')
          POL_HASH=$(sha256sum system-prompt.txt | awk '{print $1}')
          ROOT=$(printf "%s|%s" "$BOM_HASH" "$POL_HASH" | sha256sum | awk '{print $1}')
          curl -fsSL -X POST https://sistandards.tech/api/anchor \
            -H "Content-Type: application/json" \
            -d "{\"merkleRoot\":\"$ROOT\",\"aiBomHash\":\"$BOM_HASH\",\"policyDigest\":\"$POL_HASH\",\"standardId\":\"CI_RELEASE_SEAL\"}"