The problem TRACEX solves
The Problem It Solves
Modern threat intelligence and OSINT investigations are often painfully slow, fragmented, and highly manual. When investigators or cybersecurity analysts start with a single piece of evidence—such as a burner phone number or a leaked email address—they typically have to manually query dozens of disconnected databases (telecom registries, bank APIs, vehicle vaults, dark web forums) and physically stitch the data together to understand the full identity profile.
TraceX solves this by acting as an Autonomous Graph Expansion Engine. It eliminates manual data hunting and mental mapping by fully automating the intelligence gathering process:
- Zero-Touch Discovery: It takes a single initial vector (e.g., a phone number) and uses automated breadth-first search (BFS) routing to autonomously crawl through 45+ live data endpoints.
- Infinite Entity Resolution: When it discovers a new node (like finding an Aadhaar number linked to the phone), it automatically uses that new data to trigger further recursive scans (finding bank accounts or vehicles linked to that Aadhaar), building out the entire digital footprint without human intervention.
- Visual Intelligence: Instead of dumping raw JSON or CSVs, it maps the entire investigation in real-time onto an interactive, hierarchical DAGRE node graph. Investigators can instantly visually comprehend complex syndicates, aliases, and financial connections.
- Breach Intelligence Synthesis: It cross-references generated identities against over 14 billion leaked records from the dark web, instantly highlighting compromised passwords and associations on the graph.
In short, TraceX turns what used to be a multi-day ordeal of manual cross-referencing into a 10-second visual scan, making high-end identity resolution fundamentally easier, faster, and more comprehensive for security professionals.
Challenges we ran into
Challenges I ran into
Building TraceX required orchestrating a highly complex pipeline of live OSINT data, asynchronous recursive graph logic, and real-time frontend rendering. Here are the major hurdles and how they were overcome:
1. Recursive Async API Cascading & Rate Limiting
The Challenge: TraceX isn't just a single API call; it runs a Breadth-First Search (BFS) algorithm. A single phone number triggers an API call that returns 5 emails, which in turn trigger 5 separate API calls to a Dark Web database, resulting in a cascading multiplier of network requests. Running these concurrently would frequently crash the browser or hit strict rate limits on the external OSINT gateways.
The Solution: I implemented a strictly controlled, asynchronous BFS queue within the React state (TraceXGraph.tsx). Instead of firing all promises concurrently, the engine processes nodes sequentially using for...of loops and await, inserting artificial delays if necessary to throttle request volume and prevent API blockades while still providing a fluid user experience.
2. Dynamic Graph Layouts and State Desync
The Challenge: As new intelligence nodes (Banks, Vehicles, Leaks, Identities) are discovered dynamically, injecting them directly into the React Flow (@xyflow/react) canvas caused erratic overlapping and chaotic visualizations.
The Solution: I integrated the @dagrejs/dagre engine to mathematically calculate hierarchical node positions in real-time. The hardest part was ensuring the layout engine only fired after React had flushed the new nodes to the DOM. I solved this by decoupling the layout function into a separate useEffect hook that triggers specifically when the rawNodes array mutates.
3. Context Loss During PDF Exporting
The Challenge: Generating an "enterprise-grade" intelligence report proved significantly harder than anticipated. Trying to screenshot the HTML DOM of the React Flow canvas using standard libraries (html2canvas) resulted in clipping, off-center viewports, and missing CSS elements due to the way React Flow handles transformation matrices.
The Solution: I pivoted entirely from a purely visual screenshot to a structured data export. I implemented jspdf and jspdf-autotable, extracting the raw intelligence data directly from the state management layer rather than the visual DOM. This allowed for the generation of clean, multi-page, text-based PDF reports complete with categorized data tables (Phones, Leaks, Banks) and sanitized unicode characters for maximum professional legibility.
4. High-Performance Cinematic Scrolling
The Challenge: Achieving the ultra-smooth "Apple-style" landing page presentation without causing jank or scroll-jacking was tricky, as standard CSS animations don't bind natively to the user's scroll depth.
The Solution: I utilized ReactLenis to hijack the native scroll wheel for inertial physics, and paired it with Framer Motion's useScroll and useTransform hooks. By mapping elements' opacity, scale, and Y-axis offsets directly via an interpolated array across a massive 600vh container, I created a flawlessly smooth cinematic tracking experience.
Tracks Applied (1)
