Open Source

Transparency is key in enterprise security. Review our repositories, evaluate our graph algorithms, and see exactly how AML SecureNet processes data.

Frontend UI & WASM

Contains the React.js dashboard, glassmorphism UI components, and the WebAssembly modules responsible for client-side CSV parsing.

View on GitHub →

Core Graph Engine

The Python FastAPI backend and Neo4j graph algorithms used to score nodes, detect smurfing, and map cyclical transaction loops.

View on GitHub →

Inside The Engine

aml_graph_engine.py
import networkx as nx
from typing import List, Dict

def detect_muling_cycles(transactions_graph: nx.DiGraph, depth_limit: int = 5) -> List[Dict]:
    """
    Scans the directed transaction graph for closed loops (cycles)
    which indicate circular fund routing often used in money laundering.
    """
    suspicious_rings = []
    
    # Find all simple cycles in the directed graph
    cycles = list(nx.simple_cycles(transactions_graph))
    
    for ring in cycles:
        # Filter out standard 2-node refunds, look for multi-layer loops
        if 2 < len(ring) <= depth_limit:
            
            risk_score = calculate_ring_velocity(transactions_graph, ring)
            
            if risk_score > 0.85:
                suspicious_rings.append({
                    'nodes': ring,
                    'pattern': 'Circular Routing',
                    'risk_severity': 'CRITICAL',
                    'velocity_score': risk_score
                })
                
    return suspicious_rings