Repository avatar
AI Tools
v1.1.0
active

sva-forge-guard

io.github.eyeoverthink/sva-forge-guard

Fail-closed Atlassian Forge, Rovo Agent, and MCP DevSecOps PII & receipt verifier.

Documentation

SVA-Forge Guard (Codegeist 2026)

MCP Registry Glama Score License: Apache-2.0

Fail-closed AI verification, split-token PII/secret sealing with <untrusted> Sentinel quarantine, hidden Unicode stego-injection defense, and cryptographic execution receipts for Atlassian Jira, Confluence, Rovo Agents, and MCP workflows.

Codegeist 2026 Alignment

Track / Bonus CategoryHow SVA-Forge Guard Delivers
Apps for Software TeamsProtects Jira issues & Confluence ADRs/RFCs with deterministic PII sealing, CI/CD receipt verification, and hallucination checks.
Best Agents (Rovo)Native rovo:agent (SVA-Forge Guard) backed by 4 structured action modules and fail-closed sva-guard-prompt.txt guardrails.
Best Atlassian MCP AppBuilt-in zero-dependency stdio JSON-RPC 2.0 MCP server (mcp/sva-forge-mcp.mjs, 5 tools) designed to run alongside the Atlassian Remote MCP Server.

Architecture (3 Fail-Closed Verification Layers)

Jira Issue / Confluence RFC
   │
   ├─► Layer 1 (Privacy + Stego Gate): scanUnicodeStego() + StreamSealGuard + wrapUntrusted()
   │      Strips zero-width / variation-selector / Unicode-tag stego injections
   │      Seals API keys, AWS keys, SSNs, emails across arbitrary chunk boundaries
   │      Wraps flagged content inside <untrusted> + [SENTINEL WARNING] -> SEALED + QUARANTINED
   │
   ├─► Layer 3 (Epistemic Judge): auditRfcDocument() via SVA-JEV/1
   │      Verifies verbatim >=12-char quotes, planted-fake trap controls, and
   │      zero-LLM new_terms scanning (catches invented CVEs / ticket IDs / metrics)
   │
   └─► Layer 2 (Execution Receipt Gate): OPEG/1 + SVA-ER/1 + IETF AER-1 v0.4
          Blocks DIRECT_INFERENCE & tampered deliverables fail-closed; mints
          Ed25519 + RFC 6962 Merkle signed audit receipts for Jira comments

Live Simulator Scenarios (https://eyeoverthink.github.io/sva-forge-guard/)

Button / ScenarioWhat It ProvesExpected Verdict Badge
1. Seal PII + Scan StegoSeals secrets, emails, and SSNs across 9-char chunks, strips zero-width + variation selectors, flags prompt injection, and wraps output in <untrusted> with [SENTINEL WARNING]SEALED + QUARANTINED
2. Mint & Verify SVA-ER/1Real browser crypto.subtle Ed25519 signing + RFC 6962 Merkle root + SHA-256 deliverable bindingPASS
3. Test Tamper / DIRECT_INFERENCERejects ungrounded DIRECT_INFERENCE claims and 1-byte deliverable modifications fail-closedBLOCK
4. Audit Grounded RFCVerifies verbatim >=12-char source quote and zero invented new_termsPASS
4b. Test Hallucinated CVEDeterministically blocks invented identifiers (CVE-2026-99999, PROJ-8842, 99.99)BLOCK
5. Run Full 3-Layer Rovo PipelineExecutes Layer 1 -> Layer 3 -> Layer 2 and emits an Ed25519-signed BLOCK_REVIEW or ALLOW Jira audit commentBLOCK (or PASS when clean)

Quick Start & Local Verification

npm install
npm run verify-manifest
npm test

Stdio MCP Client Configuration

Pair SVA-Forge Guard with any MCP-compatible coding or DevSecOps client (e.g., alongside Atlassian Remote MCP):

{
  "mcpServers": {
    "sva-forge-guard": {
      "command": "node",
      "args": ["./mcp/sva-forge-mcp.mjs"]
    }
  }
}

Exposed MCP tools:

  1. forge_seal_jira_issue — cross-token secret/PII sealing, Unicode stego scanner, and <untrusted> Sentinel wrapping.
  2. forge_verify_receipt — OPEG/1 fail-closed verifier (SVA-ER/1 + IETF AER-1 v0.4).
  3. forge_audit_rfc — SVA-JEV/1 RFC quote & deterministic new_terms epistemic audit.
  4. forge_mint_rovo_receipt — Ed25519 + RFC 6962 Merkle action receipt minter.
  5. forge_triage_pipeline — full 3-layer Jira triage pipeline returning ALLOW or BLOCK_REVIEW with a signed receipt.

Deploying to Atlassian Cloud

See DEPLOY-FORGE.md for forge login, forge register, forge deploy, and forge install steps.