Menu

1 / 2

I tested 9 name-matching methods on the OFAC sanctions list. Here's what I found.

DEV Community: dotnet·krunal solanki·11 days ago
#MUMGtSWh
#devtodotnet#devto#dev#name#names
Long article (1687 words) — no AI summary yet.
Reading 0:00
15s threshold

If you've ever built customer onboarding for a bank, a lender, a title company or a payments app, you've had to answer one question: is this person on the OFAC sanctions list?

The list is public. The hard part is the name. Customers type "Aymen Zawahri"; the list says "AL ZAWAHIRI, Dr. Ayman". An exact match misses it. A loose fuzzy match flags half your customers named John. And when a compliance analyst asks why a name was flagged, "the library returned 0.87" is not an answer.

I spent ten years building title and mortgage systems, including OFAC screening. This post walks through how I approached name matching in OfacMatch , an open-source screener, with the real numbers at each step. The ideas apply whatever language or library you use.

Why exact matching fails

The Specially Designated Nationals (SDN) list has about 19,500 entries and many more aliases.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.