Skip to content

About

KGCS Explorer: interactive portal over the knowledge graph

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

kgcs-explorer

Interactive portal to explore the KGCS graph. Part of the Ariadna-KGCS organization.

A single-page dashboard delivered as a Cowork artifact: it queries the live Neo4j instance through the local kgcs-neo4j MCP server (read-only) every time it is opened. No infrastructure, no credentials in code, no write path to the graph.

Features

  • Schema explorer (Overview) — the portal is schema-first: the causal-chain schema diagram (colored by standard, live counts) is the map and the navigation surface. Global metrics sit on top; a context panel on the right reacts to the selected schema element with aggregate visualizations (sankey of edge volumes, heatmaps, distributions). Instance data is always consumed as aggregates in context — never as raw node lists.
  • Entity search — auto-detects CVE-*, CWE-*, CAPEC-*, T####(.###) IDs or falls back to name search; renders an entity card with properties, per-version CVSS scores, and 1-hop neighbors along the chain.
  • Chain traversal — from a CVE, walks CVE → CWE → CAPEC → ATT&CK → {D3FEND, CAR, SHIELD, ENGAGE} step by step, showing where the chain thins out or breaks.
  • Top-N rankings — predefined aggregation queries (top CWE by CVE count, defensive coverage gaps, CVSS severity distribution, …) with adjustable N, colored by standard.

Layout

  • README.md — this file
  • IMPLEMENTATION.md — self-contained implementation guide for building the artifact in a fresh session (verified graph facts, query templates, artifact API contract, verification checklist)
  • FUTURE-FEATURES.md — candidate features beyond v1, grouped by dependency (explorer-only vs upstream support needed)
  • artifact/ — versioned HTML source of the artifact once built

How it connects

flowchart LR
    A["Cowork artifact"] -- "window.cowork.callMcpTool" --> B["kgcs-neo4j MCP\n(local, read-only)"]
    B --> C[("Neo4j")]

    classDef accent fill:#1F4E79,color:#fff,stroke:#2E6CB5;
    class B accent;
Loading

The sandbox cannot reach localhost; the kgcs-neo4j MCP server (mcp-neo4j-cypher, read-only) is the only supported route to the graph.

Graph version

The Neo4j database currently explored is the one built by kgcs-pipeline from kgcs-spec 1.0.0 (frozen). Explorer v1 displays this as a static label in the header; dynamic version detection (reading build metadata from the graph) requires pipeline support and is tracked in FUTURE-FEATURES.md.

Important

All Cypher is parameterized and template-based — no free-text query construction. The authoritative traversal order CPE → CVE/CVSS → CWE → CAPEC → ATT&CK → {D3FEND, CAR, SHIELD, ENGAGE} is preserved; no shortcut edges (e.g. direct CVE → Technique) are ever introduced. CVSS versions are kept separate, never merged.

Status

MVP v1 shipped (2026-07-12): built and accepted against the live graph following the IMPLEMENTATION.md §7 checklist. All acceptance criteria verified: live schema metrics + contextual lens (global sankey, CVSS version×severity heatmap, CWE/ATT&CK/CAPEC distributions), entity search (CVE-2021-44228, CWE-79, T1059 with 1-hop neighbors and per-version CVSS badges), chain traversal reaching the defensive layers with thinning/break indicators, all 8 rankings with adjustable N (fixture CWE-79 → 45,147 ✓), and dark mode via a header switch. Source: artifact/kgcs-explorer.html. Deviations and probed properties documented in IMPLEMENTATION.md §8; backlog in FUTURE-FEATURES.md.

Post-MVP UX (same session): per-section counts on entity cards, per-layer schema zoom (internal nodes + internal relationships), light/dark switch.

Public since 2026-07-27 (private preview launch); independent gitleaks scan clean (6 commits, no leaks).

About

KGCS Explorer: interactive portal over the knowledge graph

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages