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

gograph

Latest version: v1.7.26

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
MCP server Transport: stdio Publisher: ozgurcd
233 Stars
16 Forks
46 Versions
Go Repo language

Scan summary

gograph was last scanned on 26 Nov 2026 at version 1.7.26. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 46 versions; the latest 4 were published within 4 days (23–26 Nov 2026).
  • Findings: 1 rule fired in version 1.7.26 (1 low). The score describes this version only.
  • MCP server: Runs over stdio.

Versions

46 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.7.26 LATEST 26 Nov 2026 1 rule fired
1.7.25 25 Nov 2026 1 rule fired
1.7.24 25 Nov 2026 1 rule fired
1.7.23 23 Nov 2026 Not shown
1.7.22 19 Nov 2026 Not shown

Rules fired in 1.7.26: 1

Findings

1 Low

Findings for v1.7.26. 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.

Requests broad command-line access

The skill asks to be allowed to run a wide range of shell commands. Developer tools often need this.

LOW
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

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

README

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

gograph

License: MIT Go Version Homebrew Docs

Local Go static analysis, call-graph, blast-radius, and CI architecture-gate CLI—with a built-in stdio MCP server (gograph mcp).

gograph indexes a Go repository into a local AST and optional type-checked (CHA/SSA) graph. Use it from the terminal or CI to trace transitive callers, select tests for uncommitted changes, render Mermaid dependency diagrams, and enforce package boundaries—without hosted services, embeddings, or target-code execution.

# Install
brew install --cask ozgurcd/tap/gograph
# or: go install github.com/ozgurcd/gograph/cmd/gograph@latest

# Index a Go repository (AST + type-checked CHA/SSA)
gograph build . --precise

# CLI workflows: blast radius, Mermaid graphs, targeted tests, CI gates
gograph impact Store.Save
gograph callers Store.Save --mermaid
gograph tests Store.Save --transitive
gograph tests --uncommitted --format go-test --max-depth 3
gograph boundaries && gograph gate

# Built-in stdio MCP server (no manual build step required)
gograph mcp .

Documentation · Interactive Demo · CI Architecture Gates · Tool Comparisons · Benchmark


Quick Start

1. Build and Inspect the Graph
gograph doctor --json              # verify binary path and graph health
gograph build . --precise          # AST + type-checked CHA/SSA graph
gograph build . --precise --strict # CI mode: exit non-zero if precise enrichment falls back
gograph stats                      # inspect precision and package/symbol/call counts

Common build flags:

  • --tags=integration — include build-tagged files and tests in the fingerprinted graph context.
  • --exclude-dirs=legacy,examples/broken — omit unrelated non-compiling subtrees (details).
  • --memory-mode=low --max-memory=1GiB — reduce Go heap pressure on constrained CI hosts without reducing precision.
  • --rev origin/main (global query flag) — query another commit, branch, or tag without a checkout (cached in .gograph/revs/).
2. Repository-Wide and Symbol Queries
# Repository-wide entry points (no symbol name required)
gograph summary
gograph hotspot --top 10
gograph coupling --internal-only
gograph flow --no-tests

# Symbol-level analysis (supports path/to/file.go:Name and file.go:Receiver.Method)
gograph explore YourSymbol --compact
gograph context YourSymbol
gograph plan YourSymbol
gograph path HandleOrder CommitLedger --mermaid
3. CLI and Built-In MCP Server
  • CLI: Reads .gograph/graph.json produced by gograph build . (or --precise). Check freshness with gograph stale (exit 0 current, 2 stale, 1 error).
  • MCP (gograph mcp .): Requires no manual build step. It builds an in-memory graph on first use, incrementally reparses changed packages before queries, and writes no disk artifacts unless started with --persist-refresh.

Local-only analysis: gograph does not execute target code or transmit source or telemetry to external services. It invokes the installed go toolchain for module/build context and --precise package loading (set GOPROXY=off GOTOOLCHAIN=local for offline runs). See docs/security-model.md for symlink confinement, .artifacts.lock publication, SHA-256 policy markers, and platform atomicity details.


Why gograph?

Illustrative point-in-time output comparison from an earlier gograph revision (counts vary as the repository evolves; these commands return different kinds of evidence):

Task grep -rn gograph Observed output difference
Find callers of loadGraph 158 matching lines (comments, docs, vars) 56 AST-derived call-site rows ~65% fewer rows in that run
Locate symbol definitions 842 lines matching "Symbol" 83 true type/method declarations ~90% noise eliminated
Read one function body cat displays 180+ lines of the whole file source extracts the 12-line function ~93% fewer source lines in that run
Gather common symbol context Separate node, source, caller, callee, and test queries context bundles those fields Five evidence types in one response

Key Capabilities

Call-Graph and Blast-Radius Analysis — trace direct and transitive callers, callees, paths, interface implementations (CHA/SSA), struct field mutations, HTTP routes, static PostgreSQL queries, and error origins. Export graph slices as text, --json, --files-only, or --mermaid.

Change-Scoped Test Selection and Coverage Gaps — run gograph tests --uncommitted --format go-test --max-depth 3 to print runnable go test -run commands for local changes, gograph untested --exclude-interface-methods to list untested production paths, and gograph uncovered --uncommitted --coverprofile cover.out to report unexecuted changed lines.

CI Architecture and Policy Gates — enforce package import layers (gograph boundaries), complexity/instability/god-object limits (gograph gate via .gograph.yml), exported API drift (gograph api --since origin/main), and machine-verifiable structural predicates (gograph validate). See the CI Architecture Gates guide.

Security Flow Triage — gograph flow --no-tests traces interprocedural source-to-sink paths from HTTP requests, decoded JSON, and environment variables to SQL, process execution, filesystem, and outbound HTTP sinks, with configurable sanitizer rules in gograph/flow.json.

Federated Workspaces — model multiple checked-out repositories through independently fingerprinted repository graphs plus a small deterministic cross-repository overlay. Resolution scopes support alternative fleets such as OSS/CE without merging repository ownership. P0 resolves Go modules, ordinary cross-repository Go calls, and first-class HTTP contracts for workspace-wide status, query, path, and impact analysis. The four read-only workspace MCP tools return the same native result values as CLI --json; member refresh and overlay publication remain explicit CLI mutations. Workspace guide →

Built-In Native MCP Server — all 66 repository query, analysis, and workflow capabilities have project-MCP equivalents (gograph_<command>) plus 4 session lifecycle tools (70 project tools total), and a separate 4-tool workspace MCP server (gograph workspace mcp). CLI-only process/host/artifact operations are build, validate, doctor, gate, snapshot, plugin/hook installation, MCP startup, workspace build/member refresh, version, and help. Complete CLI/MCP matrix →

Explicit Freshness and Query Contracts — CLI --json envelopes include gograph.graph-state.v1 (source, freshness, completeness, precision, refresh/persistence outcome); MCP attaches the same state in _meta.gograph_graph_state. File-qualified selectors (path/to/file.go:Name, file.go:Receiver.Method), bounded pagination (--limit/--cursor), and constant/field resolution are specified in docs/query-contracts.md.

Agent Compliance Auditing — optional local session tracking (gograph session create|end|audit|cleanup) records whether agents run plan before edits and review after, grading sessions A–F without logging raw query results. See llm-wiki/session-scope.md.

Companion projects: Scrinium provides repository-owned, evidence-backed knowledge for coding agents, while Rulefloor binds repository invariants to concrete tests and detects drift. They are independent, optional tools.


Command Reference

Query and composed-analysis commands support --json; --files-only emits deduplicated paths; --mermaid renders callers, callees, impact, endpoint, dependents, deps, path, coupling, and diagram as fenced Mermaid (MCP accepts mermaid=true).

Category Commands What it does
Indexing build . [--precise] [--strict] [--tags=...] [--exclude-dirs=...] [--memory-mode=low] [--max-memory=1GiB], stale, stats Parse AST, optionally enrich with CHA/SSA, verify freshness and build health.
Navigation explore, query, strings, callers [--depth N], callees [--depth N], path, source, node Ranked discovery, symbol/string search, call chains, exact AST source extraction.
Context context, explain, focus, endpoint, summary Bundled structural evidence in a single call.
Change Analysis plan, review [--uncommitted], risk, impact [--uncommitted\|--since], changes [--git], api --since Pre-edit impact planning, post-edit review, blast radius, and API drift.
Testing & Coverage tests [symbol] [--transitive], tests --uncommitted\|--since <ref> --format go-test, coverage <TestFunc>, untested [--coverprofile], uncovered --uncommitted --coverprofile, fixtures, mocks Direct/transitive test attribution, runnable go test -run selection, untested paths, and unexecuted changed lines.
Architecture & CI boundaries [--create], gate [init], check [--since\|--uncommitted], coupling, complexity [--no-tests] [--top N], godobj, orphans, arity, snapshot Layer import rules (gograph/boundaries.json), CI metric gates (.gograph.yml), complexity, coupling, and unreachable-symbol sweeps.
Machine Validation version --json, validate --repo PATH --binding-json JSON --json, whatsnew [--since vX.Y.Z] Closed structural and policy predicates (imports_only_from, callers_only_from, call_arg_constant) with tri-state exit codes (0 pass, 1 fail, 2 cannot evaluate).
Types & Infrastructure implementers, interfaces, fields, embeds, constructors, literals, usages, mutate, schema, routes, sql, envs, errors, concurrency [--locks <function>], globals, httpcalls, deps, dependents, imports Interface satisfaction, mutations, HTTP routes, static PostgreSQL queries, env reads, concurrency (with per-function lock scopes), and package dependencies.
Security & Errors flow [--no-tests] [--source] [--sink], errorflow, trace Source-to-sink taint leads with gograph/flow.json sanitizers; reverse-BFS error tracing.
Diagnostics & Docs doctor [--json], hotspot, returnusage, skeleton, diagram, public, identity, doc <pkg[.Symbol]>, wiki, session Install/graph diagnostics, hotspots, Mermaid architecture diagrams, go doc wrapper, llm-wiki/ generator, and audit sessions.

Full command reference with flags and examples: gograph.identuum.ai/docs/command-reference/

Generate a baseline from current imports with gograph boundaries --create, or define layers in gograph/boundaries.json:

{
  "layers": [
    { "name": "domain", "packages": ["internal/domain/**"], "may_import": [] },
    { "name": "handler", "packages": ["internal/handler/**"], "may_import": ["internal/service/**", "internal/domain/**"] }
  ]
}

Run gograph build . --precise && gograph boundaries in CI; violations exit non-zero with exact file and line numbers. See docs/architecture-boundaries.md.

gograph flow --no-tests reads gograph/flow.json (else .gograph/flow.json, or --config <path>):

{
  "sanitizers": [
    { "function": "security.CleanPath", "for": ["filesystem"] },
    { "function": "security.ValidateURL", "for": ["outbound_http"] }
  ]
}

Omit for to trust the return value for every sink kind. A validator returning only bool or error does not sanitize the original input.

Validate closed structural predicates without parsing text output:

gograph validate --repo /work/project --binding-json '{"schema_version":"gograph.binding.v1","predicate":"symbol_exists","subject":{"language":"go","kind":"symbol","id":"example.com/project/internal/auth::Authorize"},"required_precision":"ast"}' --json

Supports symbol_exists, package_imports, call_edge_exists, type_implements, imports_only_from, callers_only_from, and call_arg_constant. Read-only; exits 0 (pass), 1 (fail), or 2 (cannot evaluate / invalid). See docs/machine-validation-contract.md.

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 io.github.ozgurcd/gograph

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229