Mine AI: Three Reference Modules for Payment Fraud Detection, Ledger Reconciliation and Compliance Reasoning
Open-source reference implementations for AI-enabled payment security, blockchain fraud detection, and AML/CFT compliance reasoning.
At a glance
- What is it?
- Mine AI is an MIT-licensed Python workspace holding reference implementations of three published fraud-detection architectures plus operational and compliance-reasoning modules. The repository is explicit that this is research infrastructure, not a fraud-detection product, and the README is the only source of detail available here.
- Who is it for?
- Adopt it if you are building or evaluating graph-temporal detection methods on transaction data and want published architectures with a directory map rather than a pip-installable service. Do not adopt it expecting a deployed fraud engine, a trained checkpoint, or compliance sign-off: the README states it is not a production product and not financial, legal or compliance advice.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 125 days ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on September 15, 2026, and from our analysis. They are not legal advice.
DEEP OPEN-SOURCE ANALYSIS
What Mine AI Is Trying to Fix in Payment Fraud Detection
The README frames the problem as a mismatch between how fraud is detected in practice and what the data actually looks like. Industry systems, it says, still lean on address blacklists, transaction-velocity thresholds, simple graph search and manual investigation queues. Those methods are cheap to operate and easy to explain to an auditor. They also handle three properties of payment networks badly: severe class imbalance between fraudulent and legitimate transactions, the graph-structured and temporal shape of the data, and the interpretability that regulated review workflows demand. Mine AI is aimed at engineers and researchers who need the better methods written down and inspectable rather than described in a paper and left there. The README states the scope plainly: research and reference-implementation infrastructure, not a production fraud-detection product and not financial, legal or compliance advice. That sentence should govern how you read everything else. The audience is narrow. Someone who wants a fraud API to call is in the wrong repository. Someone reproducing a graph-temporal classifier, or building an internal one and wanting a published baseline to compare against, is in the right one.
The Three-Layer Stack and Why the Modules Depend on Each Other
The architecture is drawn as three stacked modules with arrows pointing upward. Module 2 sits at the bottom: on-chain and off-chain reconciliation reference code, health-factor monitoring, automated rebalancing patterns, and notes on adversarial-execution and oracle-manipulation defense. Module 1 above it holds the detection models. Module 3 on top is LLM-powered compliance reasoning, with retrieval over a BSA, FinCEN, OFAC and Executive Order 14178 corpus and chain-of-thought traces intended for review workflows. The README gives the dependency argument in one line: if detection models cannot trust the underlying ledger state, their outputs are unreliable, and if those outputs cannot be explained, they are hard to operate in regulated workflows. That is a coherent layering claim, and it is also the part of the design most likely to be ignored in practice. Most people will clone the repository for Module 1 alone. The README anticipates this and says the modules can be adopted independently, which is the honest position: the arrows describe a well-formed stack, not a hard build dependency. Nothing in the material shows a shared interface, a common data schema, or an import path binding Module 2 to Module 1.
Module 1: Three Published Architectures and What Each One Adds
Module 1 contains reference implementations of three architectures, with PyTorch and Python source under models/ and a separate models/README.md holding the directory map and per-model faithfulness notes. The first is a CNN-LSTM hybrid from Detection of Blockchain Online Payment Fraud Via CNN-LSTM, published at BDICN 2026 with DOI 10.1145/3801228.3801323. The CNN branch captures local structural patterns in graph-derived transaction features; the LSTM branch captures temporal dependencies in transaction sequences. The README says the hybrid is engineered to address class imbalance through targeted sampling and loss-weighting strategies described in the paper. The methodological claim is a contrast: standalone GNN classifiers lack temporal sensitivity, and standalone recurrent classifiers lack graph-structural inductive bias. The second is CSSA, Cross-Modal Semantic-Structural Alignment, from Zhao, Yuan, Wang, Shen and Huang at CNML 2026, DOI 10.1109/CNML68938.2026.11452378. It combines LLM semantic representations with graph-contrastive structural representations under a single contrastive objective, targeting the gap left by separate NLP-on-memos and GNN-on-graph models whose representations are never aligned. The third is FinSCRA, an LLM-powered multi-chain reasoning framework for interpretable node classification on text-attributed graphs, from Pan, Chen, He, Yuan, Wang and Zhang at ICCECE 2026. Note what is and is not here. Every method claim resolves to a DOI. There are no reported accuracy figures, no dataset download instructions, and no trained weights in the material supplied, so the only way to know whether a given implementation matches its paper is the faithfulness notes in models/README.md.
Module 2 and Module 3: Reconciliation, Oracle Defense and Retrieval Over Regulatory Text
Module 2 is the least glamorous and probably the most reusable. It covers on-chain and off-chain reconciliation, health-factor monitoring with automated rebalancing patterns, and defense notes for adversarial execution and oracle manipulation. That last item matters because a detection model reading manipulated oracle prices is fitting to corrupted labels, which is exactly the failure the README's layering argument warns about. The scope here is patterns and reference code, not a reconciliation service: the README describes reconciliation reference and monitoring patterns, and nothing in the material suggests a scheduler, a database schema, or a deployment manifest. Module 3 is the compliance-reasoning layer: retrieval-augmented generation over a corpus of BSA, FinCEN, OFAC and Executive Order 14178 material, producing interpretable chain-of-thought traces for review workflows. Two things are worth flagging. First, the corpus is named but its provenance, licensing and update cadence are not described, and for regulatory text those details determine whether the retrieval layer is usable at all. Second, a chain-of-thought trace is not an audit trail. It is a generated explanation of a model's output, and the README does not claim otherwise. Treating a trace as evidence of correct reasoning would be a mistake the repository does not make for you.
Getting It Running: What the Material Actually Specifies
This is where the available material runs out. The README gives a models/ directory for the PyTorch source and points to models/README.md for the directory map and per-model faithfulness notes. It names Python and PyTorch as the stack. It does not give a pip install line, a requirements file, a CLI invocation, a configuration key, a dataset path or an environment variable. The project describes itself as a command-line workspace, but no command appears in the material supplied. That absence is itself the finding. If you need to know the entry point, the expected input format for transaction features, or how the CNN-LSTM, CSSA and FinSCRA implementations are invoked, you have to read models/README.md and the source tree, because the top-level README will not tell you. The practical order is: clone the repository, read models/README.md first, then check whether the implementations are self-contained or expect external feature engineering that is not shipped. There are no releases retrieved for this repository, so there is no versioned artifact to pin against and no changelog describing what changed between states. Plan for reading code rather than installing a package.
Where This Is the Wrong Tool
The clearest failure mode is expectation mismatch, and the README names it directly: this is not a production fraud-detection product. There is no inference server, no alerting pipeline, no case-management integration, and no model registry. A team that needs to block a transaction today cannot start here. A second limitation is reproducibility. Reference implementations of published architectures are only as useful as their faithfulness to the papers, and the repository's own answer to that question is a set of notes in models/README.md rather than a test suite or a benchmark harness. If those notes are thin, the code is a starting point and nothing more. A third is the regulatory framing. The README invokes FinCEN priorities, OFAC designations, the Anti-Money Laundering Act of 2020 and the 2026 revised interagency model-risk-management guidance as motivation, but citing a supervisory framework is not the same as satisfying it. Model validation, monitoring, governance and third-party review are the obligations that guidance describes, and none of them are artifacts in this repository. Finally, the compliance-reasoning module depends on a regulatory corpus whose maintenance is unaddressed in the material, and regulatory text changes.
How It Differs From an Established Graph Fraud Library
The obvious comparison is a mature graph machine-learning library such as PyTorch Geometric, or a tabular fraud baseline like XGBoost on engineered features. The difference is in what each one gives you. A general graph library hands you message-passing layers, sampling utilities and data loaders, and leaves the fraud-specific modelling entirely to you. Mine AI hands you three named architectures with papers attached and the graph-temporal and cross-modal design decisions already made. What it does not hand you is the surrounding machinery: no data loaders for a standard fraud benchmark, no training loop abstraction, no evaluation protocol. The XGBoost comparison is sharper still. A gradient-boosted model on velocity and aggregate features is the incumbent the README is arguing against, and it remains the right choice when your transaction graph is shallow, your labels are plentiful, and an auditor needs to read a feature importance chart rather than a contrastive alignment objective. CSSA and FinSCRA are answers to specific gaps (unaligned semantic and structural representations; interpretable node classification on text-attributed graphs), and if your problem does not have those gaps, the added machinery buys you nothing.
Licence, Maintenance and the Cost of Staying Current
The repository is MIT licensed, which permits commercial use, modification and redistribution provided the copyright notice and permission notice are retained. That is permissive and unsurprising for reference code. It also means no warranty and no support obligation, so the maintenance cost sits entirely with you. There are no releases retrieved for this repository, which means no tagged versions, no semantic versioning and no upgrade path to reason about. Upgrades become a diff against the default branch, public-release-filtered, whose name suggests the published tree is a filtered view of a larger internal one. That is worth noting before you depend on it: the filtering step is not described, and there is no way from the material to know what was removed or whether a model implementation depends on something that did not survive the filter. The last push recorded is 2026-05-13. The papers behind Module 1 are dated 2026, so the implementations are recent relative to their sources, but recency of a push is not evidence that the code runs. Verification is on you: read models/README.md, check each implementation against its DOI, and confirm the regulatory corpus behind Module 3 has a provenance and update story before you build a review workflow on top of it.
Editorial conclusion
Adopt it if you are building or evaluating graph-temporal detection methods on transaction data and want published architectures with a directory map rather than a pip-installable service. Do not adopt it expecting a deployed fraud engine, a trained checkpoint, or compliance sign-off: the README states it is not a production product and not financial, legal or compliance advice. Verify first whether models/README.md carries the per-model faithfulness notes and whether the CNN-LSTM, CSSA and FinSCRA sources align with the cited DOIs, because every method claim in this repository resolves to a paper, not to a bundled evaluation.
Community notes