Explainable fraud decisions and AML/CFT monitoring for payment operations.
Byakugan is a Go-based platform for reviewing bank transfers, investigating suspicious activity, and giving operations teams a clear view of the evidence behind each alert. It combines a synchronous fraud-check API with a separate anti-money-laundering and counter-terrorist-financing (AML/CFT) monitoring subsystem and a standalone administrative dashboard.
Built around ISO 20022-style payment data, Byakugan is designed for teams that need configurable controls, traceable outcomes, and practical investigation workflows.
I started Byakugan in 2024 during my free time as a software developer working with ISO 20022 payments. I wanted to turn the payment data I worked with into clear, explainable fraud checks and useful tools for the people reviewing them. The project has since grown to include a separate AML/CFT monitoring and investigation workflow.
The name comes from the Byakugan ability in Naruto, known for seeing what others might miss. I chose it to reflect the project's goal: help reviewers see transfer risk, account behavior, and the evidence behind each decision more clearly.
- Evaluate a transfer synchronously and return an
allow,review, orblockdecision with the rule hits that explain it. - Accept canonical JSON and
pacs.008XML payment data. - Configure account controls, thresholds, watchlists, and portable JSON rules.
- Detect patterns involving velocity, new beneficiaries, account behavior, unusual routes, and transfer networks.
- Simulate rule changes and inspect decision history before updating policies.
- Manage reviews, fraud cases, notes, attachments, and audit records from the dashboard or REST API.
- Maintain a separate, append-only AML transaction ledger with customer risk snapshots and account profiles.
- Run versioned monitoring scenarios that produce explainable alerts and evidence without changing payment authorization decisions.
- Investigate alerts in confidential AML cases, attach evidence, and prepare regulator-neutral suspicious-activity report packages with independent approval.
- Import historical data through mapped CSV, JSON, NDJSON, or
pacs.008sources, then run separately authorized monitoring backfills. - Apply legal holds and retention controls to protected AML records.
- Use a standalone, role-restricted dashboard for fraud and AML workflows.
- Integrate through documented REST APIs, OpenAPI, and configurable webhooks.
- Run locally with an in-memory store, or use PostgreSQL persistence and optional Redis caching for a deployed environment.
- Access request tracing, health checks, metrics, and operational runbooks.
Payment integration ──> Fraud-check API ──> allow / review / block
│
└──> fraud evidence and case workflows
Transaction sources ──> AML ledger ──> monitoring ──> alerts and investigations
Standalone admin dashboard
Fraud checks and AML monitoring have separate records, permissions, and workflows. AML alerts inform investigations; they do not authorize, reject, or hold payments. The core is jurisdiction-neutral, so institution-specific lists, reporting formats, thresholds, and submission connectors are configured or integrated for the target environment.
These references provide context for Byakugan's threat model and financial-crime workflows. They guide design and evaluation; they do not certify a deployment or establish its detection accuracy. The project's AML threat model records the specific assets, trust boundaries, and controls for confidential AML data and workflows.
- Threat modeling: OWASP's Threat Modeling Cheat Sheet describes mapping data flows and trust boundaries, identifying threats, and reviewing mitigations. NIST SP 800-30 Rev. 1 provides a structured way to assess and document risk. Relevant Byakugan boundaries include payment intake, administrator actions, webhooks, AML imports, and protected evidence.
- Transaction authorization: OWASP's Transaction Authorization Cheat Sheet emphasizes server-side enforcement of authorization and transaction sequence. This is relevant to review approvals, report sign-off, and other privileged workflows.
- Payment data: The ISO 20022 message catalogue publishes approved message definitions and schemas. The BIS CPMI's updated harmonisation report explains why consistent structured data matters across payment systems.
- Risk-based AML/CFT practice: The FATF Recommendations set an international framework that jurisdictions adapt locally. The Basel Committee's AML/CFT guidance covers bank risk assessment, customer due diligence, ongoing monitoring, and confidential investigation and reporting.
- Research on transaction patterns: Bonato, Chavez Palan, and Szava (2024) study community and cycle patterns in anonymized bank transaction networks, illustrating why relationship-based signals can complement individual transaction thresholds. Jensen et al. (2023) present a synthetic AML dataset for reproducible benchmarking; such studies help frame tests but do not replace evaluation on an institution's own data.
Further development of Byakugan has moved to a private repository. For project information or access inquiries, contact lynolibarra@gmail.com.