Overview
Anti-Money Laundering (AML) and Know Your Customer (KYC) compliance workflow. Sanctions screening, PEP detection, transaction monitoring, suspicious activity reporting (SAR), and OFAC compliance.
Overview
AML/KYC compliance covers sanctions screening, PEP detection, transaction monitoring, currency transaction reports (CTR), suspicious activity reports (SAR), and OFAC compliance. Essential for fintech, banking, and payment applications handling regulated financial transactions.
Installation
uv pip install requests # for sanctions API integration
Screening Rules
THRESHOLDS = {"ctr": 10000, "structuring_lookback": 5000}
HIGH_RISK_COUNTRIES = {"IR", "KP", "SY", "CU", "MM"}
def screen_tx(tx):
alerts = []
if tx.amount >= THRESHOLDS["ctr"]:
alerts.append("CTR required — cash transaction over $10k")
if tx.country in HIGH_RISK_COUNTRIES:
alerts.append("OFAC sanctioned jurisdiction — enhanced due diligence")
if tx.is_pep:
alerts.append("PEP flagged — enhanced monitoring")
return alerts
References
No additional documents ship with this skill.
Related Skills
AML Compliance Program
Drafts board-ready Anti-Money Laundering compliance programs for U.S. financial institutions under BSA/FinCEN requirements. Covers CIP, CDD, EDD, SAR…
BSA/AML Risk Assessment
Drafts a BSA/AML Risk Assessment for U.S. financial institutions per FinCEN, FFIEC, and OCC standards. Evaluates inherent risks (customer, product, g…
CIP Policy Drafting
Drafts a U.S. Customer Identification Program (CIP) policy compliant with USA PATRIOT Act Section 326 and 31 CFR 1020.220. Covers identity collection…
FCPA Compliance Policy
Drafts an implementable Foreign Corrupt Practices Act (FCPA) Compliance Policy for U.S.-jurisdictional corporations with international operations. Co…
SAR Filing
Drafts FinCEN Suspicious Activity Reports (Form 111) for BSA/AML regulatory filing. Compiles subject identification, transaction timelines, red-flag …