HackHazards '26 · Neo4j Track (AuraDB)

BlastRadius

See what breaks before you change it.

Change-impact analysis for TypeScript and JavaScript, built on a Neo4j AuraDB call graph.

The problem

“If I change this function… what breaks?”

  • Every developer asks this before touching shared code.
  • Your IDE's “Find References” shows only direct callers - one hop.
  • The real danger is transitive: the function four calls away, in a flow you forgot about.
  • Today's answer: grep, guesswork, and hoping the tests catch it.
The insight

Code is a graph.
Impact is a traversal.

Functions call functions - that's a directed graph. “What breaks?” is simply everything upstream that can reach this node.

A graph question deserves a graph database.

What it does

Point it at a repo. Click a function. See the blast radius.

1. Paste a GitHub URL - or upload a local folder.

2. We build a call graph in Neo4j AuraDB.

3. Click any function → its full blast radius lights up.

4. A short summary lists what to double-check before shipping.

Selected function

In the blast radius

Unaffected

Why a graph database

The query that a relational DB can't do cleanly

MATCH path = ANY SHORTEST
  (t:Function {id: $id})<-[:CALLS]-{1,6}(a:Function)
RETURN a, length(path) AS hops
  • “Everything up to 6 calls away, and how far” - one Cypher pattern.
  • The same thing in SQL = recursive joins / CTE gymnastics.
  • The traversal runs inside Neo4j AuraDB, not in application code.
How it works

From source code to blast radius

Repo / FolderTS & JS source
→
ts-morphin-memory parse
+ call resolution
→
Neo4j AuraDBthe call graph
→
Cypher traversalblast radius
→
Graph UIvisualize & summarize

No code is executed - it's pure static analysis.

The data model

Two node types, three relationships

(:File {path})
(:Function {id, name, file, line})

(:File) -[:IMPORTS]-> (:File)
(:Function) -[:DEFINED_IN]-> (:File)
(:Function) -[:CALLS]-> (:Function)

CALLS is what the traversal walks. Every project is tagged with a projectId, so many codebases live in one database without colliding.

What ships

Built to work on real repos

▸ GitHub URL or browser folder upload
▸ Search + focus view - usable on repos with thousands of functions
▸ Callers or callees, 1 to 8 hops, with a written summary
▸ tsconfig path-alias resolution (@/… imports)
▸ Per-project isolation - multi-user safe
▸ Usage analytics dashboard at /stats
Tech stack

What it's built with

Neo4j AuraDB
graph database + Cypher traversal
ts-morph
parsing & call-graph resolution
Next.js + TypeScript
app, API routes, UI
react-force-graph
interactive visualization
Sarvam AI
plain-English impact summaries
Vercel
deployment
What made it hard

Getting the graph right

  • Cross-file calls resolved to the import, not the function - we followed the alias to the real declaration. (edges 4 → 14 on our test project)
  • Path aliases (@/…) broke resolution on modern repos - we read tsconfig to fix it. (imports 8 → 17, calls 14 → 28)
  • Big graphs are unreadable - we added search + a focused blast-radius subgraph so it scales.
Roadmap

Where it goes next

  • Language-agnostic via the Language Server Protocol - Python, Go, Java…
  • CI check - auto-comment the blast radius on every pull request.
  • Private repos & saved analysis history.
Thank you

BlastRadius

See what breaks before you change it.

LIVE DEMO
blast-radius-five.vercel.app
CODE
github.com/Shubhamm-02/BlastRadius