Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › Artificial Intelligence

Kavach: Building a Fraud Investigator That Questions Risk Scores

By Freedom251 Team · · 4 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A risk score can flag suspicious activity, but it cannot explain what the score misses or decide every next step. The project described in a public repository called FraudGraph Agent treats a score as an alert to investigate: it brings transaction and relationship evidence together, checks for uncertainty, and applies policy rules before recommending action. The available sources do not establish that this repository is the implementation described in the DEV Community article titled “Kavach: building a fraud investigator that knows when a risk score is lying.”

What the fraud investigator is designed to do

The public FraudGraph Agent repository describes a TigerGraph-based prototype built for a TigerGraph x Hacker House Goa challenge. It accepts an alert—such as a risk score, customer report, or analyst request—and investigates the surrounding activity and relationships. Rather than letting the initial score dictate the outcome, it aims to recommend a next step under bank policy, seek further evidence when uncertainty remains, explain the case, and store the investigation for future retrieval.

As an Amazon Associate I earn from qualifying purchases.

That distinction matters: “knowing when a risk score is lying” is a useful way to describe the project’s intent, not proof that a score is literally deceptive or that this system has been validated in a bank. The available material supports an account of the repository’s design and reported experiments, not a claim about the inaccessible Kavach article’s exact implementation.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How the investigation is supposed to work

  1. Start with an alert. A score or report opens an investigation; it is an input, not the sole determinant of the recommended action.
  2. Build connected context. Graph queries examine transactions, cards, customers, devices, and other linked entities, alongside prior cases. The repository describes episode modeling and rule detectors for patterns including card testing, structuring, and device rings.
  3. Look for relevant precedent. Graph vector search retrieves similar closed cases and policy or typology material to inform the investigation.
  4. Assess multiple signals and uncertainty. The system evaluates fraud probability, pattern, and independent signals. If evidence is limited or uncertainty remains, the prototype may request more information and revise its recommendation when new evidence arrives.
  5. Apply policy and route decisions. The repository distinguishes the language model’s role in reasoning and writing from the policy engine’s role in determining actions and approval routes.
  6. Explain and retain the case. The system can produce a case summary or SAR narrative from structured facts and save an AgentCase in the graph so future investigations can retrieve it.

The described interface includes an alert queue, investigation timeline, uncertainty, initial and final actions, evidence, a SAR panel, graph view, and case memory. These are repository-described prototype features, not confirmation of a deployed banking product.

Why connected evidence can change the picture

A score compresses signals into a number. A graph investigator is intended to expose the relationships behind those signals: whether activity connects to a device, card, entity, or earlier case, and whether the pattern resembles a known typology. A single transaction can look unusual in isolation but become more understandable when linked activity is considered; conversely, separate alerts may look more serious when they share a device or other entity.

Retrieval of similar cases and policy material adds a second kind of context: not just what is connected, but how earlier cases and applicable guidance may bear on the current decision. That can make an explanation more traceable than a score alone, provided the underlying graph is accurate and sufficiently current. The repository describes the approach, but does not establish the freshness or completeness of operational data or an independently validated advantage over score-only workflows.

Rank #2
Sale
McAfee Total Protection, Text, Email, Video Scam Protection | Auto-Renews
  • ALL-IN-ONE SCAM DETECTION – Texts, emails, videos, and QR codes all get checked automatically. Sorting real from fake stops being your job.
  • KEEP SCAMMERS OUT OF YOUR WALLET – Every click is no longer a gamble. Our scam detection spots suspicious texts, email scams, SMS phishing, and fake alerts before you click.
  • QR CODE SCANNING – Point the app at any code and see where it actually leads before you scan it.
  • DEEPFAKE DETECTION – When a video sounds like someone you know but isn't, you hear it from us first.
  • ON-DEMAND CHECKS – Got a message you're unsure about? Run it through the app and know in seconds, wherever it came from.

What the repository reports—and what it does not

The repository reports a dataset of 590,742 transactions, 14,893 cards, and 5,565 closed-case narratives. It says the bank risk score is deliberately excluded from the fraud model. Its reported evaluation uses grouped five-fold cross-validation on closed cases:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Measure Repository-reported result How to interpret it
Fraud AUC 0.987 Reported from grouped five-fold cross-validation on closed cases; not an independent operational result.
Pattern accuracy 0.83 Reported from the same closed-case cross-validation; the repository does not establish real-world accuracy.
Episode F1 0.80 Reported from the same closed-case cross-validation; episode reconstruction is weakest for account takeover on very heavy cards.
Benchmark accuracy Not measured The repository says no answer key is available.

These figures describe the project’s own evaluation, not independently reproduced results or proof of production readiness. The repository also notes a distribution quirk in its closed cases: cleared cases are associated with light cards and widely shared devices, patterns that a model might learn. It says probabilities are shrunk and verification loops run when signals are few, but that does not remove the need to test on representative, independently labeled cases.

Prototype limits and implementation details

The repository says customer and analyst replies are simulated, with assumptions recorded as evidence requests. The request-more-evidence loop should therefore be understood as prototype behavior, not demonstrated customer interaction in live operations.

Its README describes TigerGraph 4.2.5 Community Edition in Docker, with graph entities including customers, cards, transactions, device profiles, email domains, billing regions, closed cases, policy chunks, and agent cases. It also describes 1024-dimensional cosine vector attributes for retrieval. These details identify the implementation described by that repository; they should not be treated as enduring requirements for every fraud investigator.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How to assess an approach like this

A graph investigator is only as useful as the evidence and controls behind it. When evaluating this design or a comparable system, examine:

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Evidence coverage and freshness: Which transactions, devices, entities, and prior cases are available, and how quickly are changes reflected?
  • Uncertainty handling: How is uncertainty measured, what threshold triggers a request for more evidence, and what happens when the evidence remains inconclusive?
  • Decision governance: Are actions and approval routes determined by explicit, auditable policy rules, or can a language model make the decision?
  • Explanation quality: Can an analyst trace each recommendation to structured evidence and policy, rather than relying on a fluent but unsupported narrative?
  • Evaluation quality: Are cases representative and independently labeled, and is performance tested beyond closed-case cross-validation?

The repository supports the design rationale and describes a prototype workflow. It does not provide an independently validated comparison with score-only systems or other graph investigators.

Best Value
Fraud Fighter Counterfeit Dectection Scanner UV-16
  • Counterfeit Detection Scanner
  • Instantly distinguish fake from real
  • Cash, credit cards, driver's licenses, identification cards, passports, and many other important documents

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Artificial Intelligencefinancial technologyFraud Detectionrisk scoringTigerGraph

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.