TruthTrace — Follow the Evidence. Find the Truth.

An AI-powered Chrome extension that investigates claims in online content, analyzes video-related evidence, and helps people uncover the sources behind what they see and read.

Inspiration

How can we tell what's actual information online?

It's happened to all of before, we see some crazy claim on social media and think it's not real, but at the same time it COULD be real. Especially with all the propaganda, and over exaggeration we consume now through these social platforms it makes it difficult for us to differentiate what's real.

Sometimes the information is accurate. Sometimes it's misleading.

A clip might remove important context. An article might misrepresent what someone actually said. Several websites might repeat the same claim without independently confirming it. By the time a correction appears, the original claim may have already reached millions of people.

We started thinking about how difficult it is for an average person to investigate these situations.

You can search Google, read multiple articles, watch the original video, and ask an AI chatbot what happened. But even after doing all of that, it's often difficult to know whether the information is genuinely supported by independent evidence.

This becomes especially important when we're dealing with politics, elections, public health, international conflicts, and other issues that directly influence people's lives.

We also realized that simply asking AI whether something is true isn't necessarily the solution. An AI model can provide a convincing explanation while overlooking context or relying on sources that repeat the same information.

We didn't want to build another chatbot that tells people what to believe. We wanted to build a tool that gives transparency .

That's how TruthTrace began.

Inspired by the evidence boards used in detective stories, we imagined an application where a user could investigate a claim, discover relevant reporting, follow connections between sources, and understand the evidence behind an assessment.

And because so much information now comes through social media, we wanted our investigation workflow to extend beyond traditional written articles.

Our goal was to make fact-checking more accessible, transparent, and engaging.

Instead of simply giving someone an answer, we wanted to help them understand where that answer came from.

What it does

TruthTrace is a Chrome extension that turns fact-checking into an interactive investigation.

It combines AI-powered analysis, Bright Data web retrieval, video-related investigations, and an interactive evidence board that allows users to explore the relationships between sources.

Video analysis and investigation

One of the features we're most proud of is bringing video analysis into the TruthTrace experience.

Videos are particularly challenging to verify because viewers often encounter them without the surrounding context. A short clip can be persuasive even when the underlying claim is incomplete, outdated, or disputed.

We wanted users to be able to investigate information presented through video rather than treating the clip as the end of the story.

Our video-analysis work connects with the broader evidence-retrieval pipeline, allowing findings to be examined alongside relevant information from the web.

Bright Data is especially important here because meaningful verification requires evidence beyond the content being questioned.

For example, when a controversial statement circulates in a video, the important questions may include whether credible reporting confirms it, whether the available sources provide additional context, and whether other sources challenge the claim.

Claim verification directly in Chrome

Users can highlight a factual statement on a webpage or ask TruthTrace to analyze an article.

Our backend uses Gemini and retrieved information to produce an evidence-based assessment, explanation, and source references.

Instead of requiring users to manually research every claim, TruthTrace makes investigation available directly in the browser.

The interactive detective board

This is the visual centerpiece of our project.

Every retrieved source is represented as a piece of evidence pinned to a virtual corkboard.

Articles appear as newspaper clippings, documents, photographs-style cards, and research notes. Related sources are connected by realistic red yarn.

Users can drag evidence cards, zoom in and out, explore the investigation, and click individual sources or connections to understand their significance.

But the visual design has a practical purpose. Each connection is based on an identified relationship. Clicking a thread reveals the evidence explaining why the sources are connected.

We wanted users to feel like they were actively examining a case rather than passively reading an AI response.

Ask the Detective

We also built an AI-powered follow-up assistant called Ask the Detective.

After reviewing a finding, users can ask questions such as:

  • Are these sources independent?
  • What evidence challenges this claim?
  • What information is missing?
  • Can you search for additional evidence?

The assistant understands the current investigation, including its claim, assessment, sources, and identified relationships.

Using Gemini, it can explain the evidence and help the user continue researching.

We also implemented citation validation so the assistant cannot present invented source identifiers or arbitrary URLs as legitimate evidence.

Challenge the Verdict and expand the investigation

One of our favorite features is Challenge the Verdict.

Instead of assuming the initial assessment is correct, users can actively search for additional evidence that might complicate or challenge it.

TruthTrace uses Bright Data to retrieve new results, normalizes and deduplicates sources, and allows users to pin new evidence onto the detective board.

If the backend identifies supported relationships, new red yarn connections appear.

The investigation can grow as more information is discovered.

This was an important part of our vision: verification shouldn't end when an AI produces its first answer.

How we built it

We built TruthTrace using JavaScript, HTML, CSS, Python, FastAPI, Google Gemini, and Bright Data.

Chrome extension and frontend

We developed a Chrome extension with a side panel for analyzing content, reviewing findings, and continuing investigations.

We also built a separate full-screen detective board for exploring sources in greater detail

We created a custom renderer supporting draggable cards, interactive graph navigation, evidence details, and realistic SVG yarn connections.

Bright Data and video-related evidence

Bright Data powers the web-retrieval side of TruthTrace and plays a particularly important role in our video-investigation work.

We wanted users to be able to move from a claim presented in media to the surrounding information available online.

Our Bright Data integration retrieves relevant search results and feeds them into the source-processing pipeline.

That pipeline handles URL normalization, redirects, duplicate results, caching, and source metadata.

By connecting web retrieval to our analysis and visualization systems, we can investigate information using evidence beyond a single article or video.

Gemini and FastAPI

Our Python FastAPI backend coordinates claim analysis, source retrieval, chatbot interactions, and evidence-graph data.

Gemini helps analyze factual information and produces contextual explanations through Ask the Detective.

Rather than allowing the model to freely invent references, our backend validates citations against available source identifiers and URLs.

We also added safeguards for unsupported claims, empty evidence sets, prompt-injection attempts, and external API failures.

Source-tracing engine

We built a dedicated Python system to identify and represent relationships between sources.

It distinguishes explicit citation relationships from similarities and shared fact-check references.

The structured graph is then passed to the frontend, where it becomes the interactive detective board.

An important design decision was keeping the visual network grounded in the actual retrieved data. We didn't want to generate connections simply because they would make the board look more impressive.

Testing and integration

Getting everything to work together required extensive integration testing.

Our reported test runs included 162 passing backend tests, 239 passing source-tracing tests, and 31 passing extension unit and browser tests.

We also completed a live investigation using Bright Data in which a newly retrieved source could be pinned onto the existing board and connected through supported relationships.

Seeing the retrieval system, AI assistant, and visualization work together was a major milestone for our team.

Challenges we ran into

Video and online claims need context

One of the biggest conceptual challenges was understanding that analyzing a claim isn't enough if the surrounding evidence is missing.

This becomes particularly important with video, where the meaning of a statement may depend on context that isn't apparent from a short clip.

We had to think carefully about how to connect content analysis with information retrieved from the wider web, while avoiding claims that the available evidence could not support.

That shaped our decision to make follow-up investigation and source inspection central to the product.

Handling real Bright Data results

Integrating live search results was more complicated than expected.

Some results contained Google redirect URLs rather than direct destination links, causing our early parser to reject potentially useful sources.

We improved the URL-processing logic to recover valid destinations while maintaining strict validation.

We also introduced normalization, deduplication, and caching to keep the evidence graph consistent and avoid unnecessary requests.

Preventing AI hallucinations

For a fact-checking product, fabricated citations are especially damaging.

We couldn't simply assume that every URL or source reference generated by Gemini was valid.

We implemented backend validation that restricts citations to retrieved sources. We also created tests for invalid references, failed searches, and prompt-injection attempts.

We learned that making an AI response sound convincing is much easier than making it reliably auditable.

Accomplishments that we're proud of

Bringing video analysis into a source-based investigation

We're particularly proud of tackling video-related misinformation rather than limiting TruthTrace to ordinary written articles.

Video has become one of the most influential ways people encounter news, political statements, and controversial claims.

By connecting our video-investigation work with Bright Data and the broader evidence pipeline, we developed an approach centered on examining a claim against information beyond the original content.

For us, that is one of the most meaningful applications of the technology.

Building around transparency

We made deliberate choices not to fabricate graph connections, not to equate similar wording with copying, and not to present every AI-generated explanation as verified fact.

We believe those choices are essential for a tool designed to help people evaluate information responsibly.

What's next for TruthTrace

We see TruthTrace as the beginning of a broader platform for investigating online information.

More comprehensive video verification

We want to continue expanding our video-analysis capabilities, with stronger context retrieval, more precise references to relevant moments in videos, and better ways to compare statements against original sources.

We also want to explore methods for examining manipulated media and AI-generated video while clearly distinguishing what can and cannot be verified.

Re-verification with newly discovered evidence

Currently, new sources can be added to the board without automatically changing the original verdict.

We want to introduce a way to rerun the assessment using all newly gathered evidence and show users when and why a conclusion changes.

Deeper source-independence analysis

We want to help users distinguish independent reporting from repeated coverage more effectively.

That includes richer citation analysis, chronological source comparisons, and more detailed evidence inspection.

Our long-term vision

The challenge of misinformation isn't going away.

As AI-generated content becomes more convincing and video continues to dominate how people consume information, verifying what we see and hear will only become more important.

We don't believe the solution is another system that asks people to accept its answers without question.

We believe people need accessible tools that help them examine evidence, recognize uncertainty, and make informed decisions.

That's what we set out to build at SanD Hacks.

TruthTrace isn't about deciding what people should believe. It's about making it easier for them to investigate what they're told.

Built With

Share this project:

Updates

Submission history