Inspiration

Scams are often reported as separate incidents, even when they may share common elements. One report might contain a suspicious website, another a phone number, and another a cryptocurrency wallet. These individual pieces of information may be connected, but identifying those relationships across multiple reports is not always easy.

We wanted to solve this problem by creating a platform that brings scattered scam reports and their supporting evidence together. Instead of investigating every report in isolation, investigators should be able to explore shared indicators, discover potential connections, and understand how different incidents might be related.

This idea led us to build GSIN (Global Scam Intelligence Network), with the goal of making fraud investigations more organized, connected, and evidence-driven.

What it does

GSIN is a fraud intelligence platform that helps Analysts discover potential relationships between different scam reports.

Its main capabilities include:

  • Report Management: Analysts can submit scam reports and attach supporting evidence.
  • Indicator Extraction: Identifies important information such as URLs, phone numbers, social media accounts, company names, and cryptocurrency wallets.
  • Data Normalization: Standardizes extracted indicators so they can be compared consistently.
  • Relationship Matching: Identifies exact matches and potential similarity leads across different reports.
  • Evidence-Based Corroboration: Supports corroboration through independent exact-match evidence.
  • Interactive Investigation Graph: Visualizes relationships between reports and indicators, allowing Analysts to explore connections and their supporting evidence.
  • Investigation Reports: Generates structured summaries with references to the reports and indicators supporting the findings.

An important part of GSIN is that it distinguishes potential leads from confirmed matches. It does not label individuals or organizations as criminals or treat similarities as proof of wrongdoing.

How we built it

We developed GSIN using a specification-first approach with Kiro. We started by defining requirements, designing the architecture, establishing security boundaries, and breaking the implementation into structured tasks.

Our technology stack includes:

  • Next.js 15: Application development using the App Router and Server Actions.
  • TypeScript: Application logic and type safety.
  • Tailwind CSS 4: User interface development.
  • Supabase: PostgreSQL database, authentication, Row-Level Security, and private file storage.
  • Cytoscape.js: Interactive investigation graph.
  • OpenAI-compatible APIs: Indicator extraction and investigation report generation.
  • Vitest and fast-check: Unit and property-based testing.
  • Playwright: Browser-based end-to-end testing.

The investigation workflow works as follows:

  1. An Analyst signs in and submits a report with supporting evidence.
  2. The platform extracts relevant indicators from the submitted evidence. Analysts can also enter and correct indicators manually.
  3. Each indicator passes through deterministic, versioned normalization rules.
  4. The matching engine compares normalized indicators across reports and identifies exact matches or potential similarity leads.
  5. Independent exact-match evidence can establish corroboration, while human review, disputes, and invalidations require explicit Analyst actions.
  6. The relationships are displayed in an interactive graph, where Analysts can inspect the connected reports, indicators, and supporting evidence.
  7. Analysts can generate investigation summaries with mandatory references to their supporting sources.

Security was considered throughout development. We implemented private evidence storage, server-side file verification, temporary signed URLs, authorization checks, database security policies, and append-only audit logging.

Challenges we ran into

One of our biggest challenges was identifying meaningful relationships without creating misleading connections.

For example, two URLs might differ only in their top-level domains or subdomains. Although this similarity could be worth investigating, it should not automatically be treated as an exact match.

We addressed this by introducing separate relationship classifications:

  • Exact Match: Two indicators have identical normalized values.
  • Similarity Lead: URLs differ only in their top-level domain or subdomain according to our defined matching rule.

Another challenge was maintaining evidence provenance. We wanted every relationship to be traceable to its original reports and supporting evidence, rather than simply displaying connections without explaining why they exist.

We also faced challenges involving:

  • Handling different formats of URLs, international phone numbers, and cryptocurrency indicators.
  • Ensuring corroboration relies on genuinely independent evidence.
  • Protecting sensitive reports and uploaded files.
  • Preventing unsupported or accusatory language in generated investigation reports.
  • Maintaining consistent security and authorization across application and database operations.

We addressed these challenges through deterministic matching rules, database constraints, security controls, and automated verification tests.

Accomplishments that we're proud of

We are proud that GSIN goes beyond simply collecting scam reports. It provides a structured way to explore relationships between incidents while keeping every connection explainable.

Some of our key accomplishments include:

  • Building an end-to-end platform for report submission, evidence management, indicator extraction, matching, and investigation.
  • Implementing exact-match and similarity-lead detection with evidence provenance.
  • Developing an interactive graph that allows Analysts to explore relationships between reports and indicators.
  • Implementing independent-evidence requirements for corroboration.
  • Establishing security controls through Supabase RLS, private storage, authorization checks, and audit logging.
  • Successfully verifying our matching engine against fictional demo data, producing all 7 expected relationships: 6 exact matches and 1 similarity lead.
  • Running automated tests against a hosted Supabase test project, including 9 successful integration tests and a successful browser-based report submission and evidence upload test.

Most importantly, we are proud of building a system that keeps human judgment and evidence at the center of fraud investigations.

What we learned

Building GSIN taught us that solving a real-world problem requires careful consideration of accuracy, security, usability, and accountability.

We learned that:

  • Connecting information is only useful when the underlying relationships are explainable.
  • Similarity should never automatically be treated as proof.
  • Data normalization plays a critical role in reliable matching.
  • Evidence provenance is essential for building trust in investigation systems.
  • Security and privacy must be part of the architecture from the beginning.
  • Technology should support human decision-making rather than replace it.

We also gained practical experience working with Kiro's specification workflow, Next.js, Supabase, database security, interactive graph visualization, automated testing, and AI-assisted development.

What's next for Global Scam Intelligence Network

GSIN is currently built around connecting scam reports through shared indicators. We see several opportunities to expand its capabilities.

Our future goals include:

  • Expanding indicator coverage to support more types of suspicious activity.
  • Improving relationship discovery across larger collections of scam reports.
  • Enhancing graph exploration to make complex investigations easier to navigate.
  • Improving investigation summaries and evidence references.
  • Strengthening testing and security as the platform grows.
  • Exploring opportunities for collaboration between trusted investigative teams.

Our long-term vision is to make fraud investigations more connected and efficient, helping investigators move beyond isolated reports and better understand the relationships behind suspicious activities.

GSIN — Turning Scattered Scam Reports into Connected Fraud Intelligence.

Built With

Share this project:

Updates

Submission history