Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

Nomos - Deterministic Git & AST Governance for AI Coding Agents

Latest version: v4.31.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
MCP server Transport: Streamable HTTP Publisher: mgantlett
6 Stars
0 Forks
7 Versions
Go Repo language

Scan summary

Nomos - Deterministic Git & AST Governance for AI Coding Agents was last scanned on 23 Nov 2026 at version 4.31.0. Risk score 20 of 100 (low). High-severity rules fired.

  • Releases: 7 versions; the latest 5 were published within 4 days (20–23 Nov 2026).
  • Findings: 1 rule fired in version 4.31.0 (2 instances: 2 high). The score describes this version only.
  • MCP server: Runs over Streamable HTTP.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
4.31.0 LATEST 23 Nov 2026 1 rule fired
4.30.0 22 Nov 2026 No rules fired
4.29.0 21 Nov 2026 No rules fired
4.28.0 20 Nov 2026 Not shown
4.27.1 20 Nov 2026 Not shown

Rules fired in 4.31.0: 1

Findings

2 High

Findings for v4.31.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Instructs fetching and running remote code

The skill's instructions or bundled files tell the agent to download content from a remote location and run it. This pattern can be used to change behavior after a review, but it also appears in legitimate installers. Check the source.

HIGH
Checking access…

🔒 Create a free account to see all 2 findings with descriptions and instance counts

The score describes 4.31.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Nomos (Νόμος)

Agents guess; Git cannot. The Apache 2.0 Go execution substrate beneath any coding agent (0 LLM tokens, certified up to 3.60M LOC).

CI Release License Docs Telemetry

Nomos is a single ~20 MB static Go binary (Apache 2.0, 0 LLM tokens, zero cloud account) between your coding agent (Claude Code, Cursor, OpenCode, Codex, Gemini CLI, Antigravity, Windsurf, or Aider) and Git. Run nomos init once (or paste 1 prompt into your agent) - Nomos blocks skipped tests, hollow stubs, monolith bloat, and leaked secrets in 24ms (<365ms full 42-gate diff verify even across 3.60M-LOC monorepos), your agent fixes its own mess mid-turn, and your feat/* workflow never changes:

You             -> Same plain-English prompts, same IDE, normal feat/* PRs (0 new commands to learn)
  |
Coding Agent    -> Claude Code · Cursor · OpenCode · Codex · Gemini CLI · Antigravity · Windsurf
  |
Nomos Substrate -> Invisible ~4ms hooks + 42 AST gates + Day-0 debt ratchet (0 LLM tokens)
  |
Git             -> main stays read-only & verified; shortcuts fail closed before commit

Initialize once, then forget nomos exists. Nomos supplies 0-token repository physics; your coding agent supplies the intelligence to self-correct before ending its turn. Use nomos xray . anytime you want a ~4s codebase health scan.

Two Ways to Set Up in 30 Seconds (Or Scan in Browser First)

Zero-Install Browser Scan (5s): Paste any public GitHub repository at sophialabs.ca/xray - or just replace github.com with sophialabs.ca in your browser URL bar (e.g. https://sophialabs.ca/go-chi/chi) - to inspect its 11-language AI Hangover Score (0-100) and download a pre-computed nomos.baseline.json + 4-line GitHub Action PR gate before installing anything locally.

Path A - Paste 1 Prompt Into Your Coding Agent (Zero Manual Setup):

Install Nomos (curl -fsSL https://sophialabs.ca/install | bash), run `nomos xray .` to summarize our Day-0 AI Hangover Score and top 3 structural hotspots, then run `nomos init` so Branch Guard, brownfield baseline ratcheting, and agent hooks run automatically underneath future feature branches (use `nomos init --local` if we want git status untouched; do not enable `--worktrees`).

Path B - Run 3 Commands in Your Terminal:

curl -fsSL https://sophialabs.ca/install | bash
cd your-project && nomos xray .          # 1. Read-only ~4s AI Hangover Score & hotspot scan (use --markdown to share)
nomos init                               # 2. Branch Guard + brownfield baseline + agent hooks (or --local for stealth trial)
git switch -c feat/auth                  # 3. Done - forget nomos and keep coding & committing as usual

What happens automatically underneath your agent the next time it tries taking a shortcut on feat/*:

$ git commit -m "fix: resolve flaky billing test"
✗ [AntiShimGate]    billing_test.go:42  skipped test (t.Skip) + 2 deleted assertions
✗ [UncheckedErr]    billing.go:108      discarded error return on ledger.Charge()
✗ [ProtectedRubric] .golangci.yml       linter config modified on feature branch
-> Commit blocked in 24ms (0 LLM tokens). Fix billing.go without weakening billing_test.go.

Your coding agent receives that deterministic AST fix recipe mid-turn and repairs billing.go itself before handing control back to you.


How It Works Without Changing Your Workflow (100% Apache 2.0 Open-Core)

Every single-repository governance capability ships locally in the open-source nomos binary with zero crippled commands, organized around three clear boundaries:

1. What You Touch Once (30 Seconds: nomos xray, nomos init)
  • On-Demand 5s Stethoscope (nomos xray . [--markdown]): Walks git ls-files across 11 languages for an AI Hangover Score (0-100, Grade A-F), clones, monoliths (>400 LOC), stubs, swallowed errors, secret/host-path leaks, CWE sinks, and ready-to-lock architecture_boundaries with zero repository writes. Run it on Day 0 or whenever you want a codebase report card.
  • Non-Breaking Legacy Drop-In (nomos init): Automatically freezes Day-0 debt bounds in nomos.baseline.json (strict_mode: false on brownfield, strict anywhere via --strict) so zero existing legacy files fail, ratcheting only touched files (<= 0 added complexity/debt, >= 0 coverage delta, 0 new clones or swallowed errors; self-hosted nomos holds 0/100 Grade A under strict_mode: true). Auto-detects installed agents, scaffolds a compact ~13-line AGENTS.md Branch Guard block, and wires native lifecycle + Git hooks (nomos --help shows everyday commands and hides internal agent RPCs; nomos --help-agent reveals them).
  • Zero-Footprint Stealth Trial (nomos init --local): Registers generated configs and hooks in .git/info/exclude instead of .gitignore, leaving git status 100% clean while you evaluate solo; promote anytime with nomos init.
2. What Runs Invisibly Underneath Every Agent Turn (0 Commands to Learn)
  • *Protected main & Automatic `feat/Verification:** Defaultisolation_mode: "branch"blocks directmain/masterwrites and config/hook tampering (nomos.yaml,nomos.baseline.json,.git/hooks/), while plaingit commitonfeat/branches runs42polyglot AST gates across **Go, TypeScript/Svelte, Python, Rust, Ruby, C/C++, Java, Kotlin, and C#** in~460ms(~24mssingle-file radar,0LLM tokens) - catching skipped/deleted tests (t.Skip,@pytest.mark.skip,#[ignore],xit,@Disabled,[Fact(Skip=...)]), hollow stubs (todo!(),pass,NotImplementedError),>60 LOCfunctions (400 LOCfile ceiling),architecture_boundaries, andstrict_types`.
  • ~4ms Pre-Tool Security Airlock & Loop Breaker (nomos hook): Denies agent reads of ~/.ssh, ~/.aws, ~/.kube, ~/.gnupg, ~/.config/gcloud, .netrc, .npmrc, .pypirc, blocks cloud metadata SSRF (169.254.169.254), rejects unverified "tests pass" claims, and halts 3 consecutive non-progressing tool failures before burning context windows.
  • Verified-Only Episodic Memory (mneme.db / nomos mcp): .git/hooks/post-commit distills trap -> fix lessons into pure-Go SQLite (mneme.db, <50ms lexical/vector recall + read-only stdio MCP via nomos mcp) only after verification passes, so broken attempts never poison future agent sessions.
3. Optional Scale-Up When You Outgrow Single Branches (--ci, --worktrees)
  • Zero-Trust CI Diff-Mutation Proofs (nomos init --ci, nomos verify --pr --mutate-diff): Mutates newly added conditionals/returns across Go, TS/JS, and Python so tautological tests fail closed on PRs, emits OASIS SARIF 2.1.0 for GitHub Code Scanning, and posts PR receipts via action.yml.
  • Parallel Multi-Agent Worktrees (nomos init --worktrees): Upgrade on demand when running multiple concurrent agents to enforce disposable git worktree sandboxes, live exported-symbol collision radar (MTPO), and causal spec-before-code (INT/SUB) separation (see Architecture Blueprint below).

Install Alternatives & Graduation Recipes

Alternative Package Managers & Updates
# Linux, macOS & WSL2 (SHA-256 verified release binary):
curl -fsSL https://sophialabs.ca/install | bash

# macOS & Linux (Homebrew):
brew install --cask mgantlett/tap/nomos

# Zero-install Node.js / Python Cloud Agent Sandbox Launchers (SHA-256 verified):
npx --yes @mgantlett/nomos xray .
uvx nomos-cli xray .

# Arch Linux / Omarchy (verified PKGBUILD):
(tmp="$(mktemp -d)" && cd "$tmp" && curl -fsSLO https://raw.githubusercontent.com/mgantlett/nomos/main/packaging/aur/PKGBUILD && makepkg -si && rm -rf "$tmp")

# Build from source (Go 1.26+; GOTOOLCHAIN=auto fetches Go 1.26+ automatically):
GOTOOLCHAIN=auto CGO_ENABLED=0 go install github.com/mgantlett/nomos/substrate/cmd/nomos@main

# Agent Skill, Remote HTTP MCP & Claude Code Plugin Catalogs (Thin Binary Bootstrapper):
npx skills add mgantlett/nomos
claude mcp add --transport http nomos https://sophialabs.ca/mcp
# Or inside Claude Code: /plugin marketplace add mgantlett/nomos && /plugin install nomos

Update or cleanly uninstall anytime:

nomos update && nomos update --sync-workspace
curl -fsSL https://sophialabs.ca/uninstall | bash
Optional Graduation: CI PR Proofs & Parallel Worktrees

Install the official Nomos Zero-Trust PR Proof GitHub Action from GitHub Marketplace, or scaffold CI workflows locally when ready:

# Scaffold zero-phone-home GitHub Actions (SARIF) & GitLab CI workflows:
nomos init --ci

# Graduate an existing repo to isolated git worktrees & causal INT/SUB task twins:
nomos init --worktrees

Enforce zero-trust PR mutation proofs in GitHub Actions (GitHub Marketplace):

- uses: actions/checkout@v4
  with: { fetch-depth: 0 }
- uses: mgantlett/nomos@v4.31.0
  with: { base-ref: origin/main, mutate-diff: 'true' }

Cheap Workhorse Stack (OpenCode + OpenRouter / Local 16GB GPU): Because .opencode/plugins/nomos.ts enforces frontier merge rules in local compiled Go (0 middleman token tax), 14B-32B open-weight models jump from 27.8% to 86.1% brownfield resolution (3.1x lift) while cutting token spend -43% to -57%.


Why Nomos Is a New Layer of the Stack

What Nomos Is Not Why Existing Tools Leave main Exposed What the Nomos Transaction Layer Adds
Not Another Coding Agent Switching models or IDEs does not stop a stochastic optimizer from cutting corners at 70% context. Keep your favorite agent; Nomos enforces sandbox isolation and merge rules underneath it.
Not a Linter or Post-Hoc CI Traditional linters assume honest humans after a branch is dirty; agents edit configs or add ignore comments. Evaluates feat/* branch or isolated git worktree diffs against main while locking nomos.yaml, baselines, specs, and assertions outside agent write scope.
Not a .cursorrules Prompt Pack Markdown rules decay past 60% context, and unverified agent notes poison future sessions. Enforces compiled Go exit codes (exit 1) outside context windows and records mneme.db lessons only after verified merges.

Verified Benchmarks & Runtime Footprint

Reproduce locally in one command: go -C substrate test ./cli -run "TestTraceTrialBench|TestCleanroomPolyglotObligation|TestCleanroomDownstreamVectors" -v

Live check

Not yet probed. This server declares a remote endpoint but we have not observed it, so nothing below is known either way.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry ca.sophialabs/nomos
  • MCP Registry io.github.mgantlett/nomos

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229