# US Treasury OFAC Sanctions, AML & Crypto Screener

> Standalone AML and sanctions screening playbook querying official US Treasury OFAC SDN, Alias, Address, and Consolidated Non-SDN public feeds directly with zero API keys or accounts required.

US Treasury OFAC Sanctions, AML & Crypto Screener is a free AI agent skill on Agensi by Ignacio De Saeger, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Ignacio De Saeger](https://www.agensi.io/creators/ignacio-de-saeger)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.1
- Last updated: 2026-11-29
- Security: scan passed (2026-11-29); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/us-treasury-ofac-sanctions-aml-crypto-screener
- Tags: legal-compliance, security, finance-accounting, sanctions-screening, ofac, aml-compliance, kyb, crypto-compliance

## About this skill

### US Treasury OFAC Sanctions, AML & Crypto Wallet Screener

#### Overview

This standalone compliance skill equips your AI agent to screen people, corporate entities, shipping vessels, aircraft, and cryptocurrency wallet addresses **directly against the official US Department of the Treasury Office of Foreign Assets Control (OFAC) Sanctions List Service (SLS)** public-domain exports (`17 U.S.C. § 105`) — with **zero API keys, zero external accounts, and zero third-party middleware**.

Read the companion files in this package before producing final compliance deliverables:
- `references/ofac-schemas-and-matching-rubric.md` — Exact US Treasury SLS CSV column layouts, `-0-` null sentinel rules, crypto wallet regex extractors, and the 0–100 deterministic name/alias scoring rubric.
- `templates/aml-screening-memo.md` — Auditable KYB/AML screening report template with disposition tiers and escalation checklists.

#### When to Activate This Skill

- **"Screen these companies or individuals against OFAC sanctions"** — counterparty KYB, vendor onboarding, M&A due diligence, or export-control checks.
- **"Check if this BTC / ETH / USDT / TRX wallet address is sanctioned by OFAC"** — exact case-aware/normalized lookup against `Digital Currency Address` tags inside OFAC SDN `Remarks`.
- **"List entities or vessels sanctioned under [CYBER2 / DPRK / RUSSIA-EO14024 / IRAN / SDGT]"** — program or jurisdiction exposure sweeps.

#### Step-by-Step Execution Workflow (Zero-Key Direct US Treasury Feeds)

##### Step 1 — Fetch Official US Treasury OFAC SLS Exports

Fetch the live public-domain exports directly over HTTPS from `sanctionslistservice.ofac.treas.gov` (cache locally in `/tmp/ofac_cache/` for up to 6 hours during multi-query sessions so repeat checks complete in milliseconds):

1. **SDN Primary List (`SDN.CSV`):**
   `the official public registry endpoint`
2. **SDN & Consolidated Aliases (`ALT.CSV`):**
   `the official public registry endpoint`
3. **Entity Addresses & Countries (`ADD.CSV`):**
   `the official public registry endpoint`
4. **Consolidated Non-SDN List (`CONS_PRIM.CSV` — SSI, NS-CMIC, FSE, etc.):**
   `the official public registry endpoint`

##### Step 2 — Parse RFC-4180 CSV & OFAC `-0-` Sentinels

Apply the parsing rules defined in `references/ofac-schemas-and-matching-rubric.md`:
- Parse standard RFC-4180 double-quoted CSV rows; treat literal `"-0-"` or `"-0- "` values as `null` (empty).
- Join `ALT.CSV` and `ADD.CSV` onto primary records (`SDN.CSV` and `CONS_PRIM.CSV`) using integer/string primary key `ent_num` (column `0`).
- Split bracketed program codes in column `3` (e.g., `[SDGT] [IRAN] [IFSR]`) on `] [` and strip `[` / `]`.
- Extract structured identifiers embedded in column `11` (`Remarks`):
  - **Digital Currency Addresses:** match `Digital Currency Address - ([A-Z0-9]{2,10}) ([^;]+);` (note OFAC uses `XBT` for Bitcoin `BTC`, `ETH`, `USDT`, `USDC`, `TRX`, `XMR`, `ARB`, `BSC`).
  - **Government / Vessel IDs:** match `Passport ([^;]+);`, `Tax ID No\. ([^;]+);`, `LEI ([A-Z0-9]{20});`, `IMO ([0-9]{7});`, `DOB ([^;]+);`.

##### Step 3 — Run Deterministic Entity, Alias & Wallet Matching

Never rely on loose substring guesses that cause false positives on common words (`"Bank"`, `"Trading"`, `"International"`, `"Group"`). Execute the 4-tier deterministic scorer in `references/ofac-schemas-and-matching-rubric.md`:

1. **Normalize names:** uppercase, Unicode NFKD ASCII fold, flip `"LAST, First Middle"` comma-separated personal names into both `"LAST FIRST MIDDLE"` and `"FIRST MIDDLE LAST"` forms, strip legal suffixes (`LLC`, `INC`, `LTD`, `CO`, `CORP`, `SA`, `GMBH`, `PJSC`, `JSC`, `PLC`), and collapse punctuation/whitespace.
2. **Evaluate against both `SDN_Name` and every linked `alt_name` in `ALT.CSV`:**
   - **`EXACT_SANCTIONS_HIT` (`100`):** Exact normalized match on `SDN_Name`, exact crypto wallet address match (case-insensitive for EVM `0x...`, exact for Base58/Bech32), or exact LEI / IMO / Tax ID match.
   - **`STRONG_ALIAS_MATCH` (`92–99`):** Exact normalized match on an official `ALT.CSV` strong alias, or Jaro-Winkler `>= 0.96` AND token Jaccard `>= 0.85` on non-stopword tokens.
   - **`POTENTIAL_FUZZY_MATCH` (`78–91`):** Jaro-Winkler `>= 0.90` AND at least one rare/distinctive token shared (flag for human compliance review).
   - **`CLEAR_NO_HIT` (`< 78`):** No candidate reaches threshold — record exact timestamp and `ent_num` catalog size verified.

##### Step 4 — Render the Auditable Screening Report

Format every screening output using `templates/aml-screening-memo.md`, citing:
- Exact UTC timestamp & live row counts loaded from `SDN.CSV` + `CONS_PRIM.CSV`
- Per-subject `matchDecision`, `matchScore` (`0–100`), `ofacEntNum`, `listSource` (`OFAC_SDN` vs `OFAC_CONSOLIDATED_NON_SDN`), `primaryName`, `matchedAlias`, `programs`, `countries`, extracted IDs/wallets, and recommended compliance action (`BLOCK / ESCALATE` vs `MANUAL_REVIEW` vs `PROCEED`).

#### Guardrails & Limitations

- **Official US Public-Domain Lists Only:** Screens US Treasury OFAC SDN and Consolidated Non-SDN lists; for multi-jurisdictional obligations, supplement with UN Security Council, UK OFSI, or EU Consolidated Financial Sanctions lists where applicable.
- **Quick-Lookup Scope:** Designed for fast single-registry OFAC sanctions checks (top 5–10 entities/wallets + disposition summary). Full transatlantic multi-registry KYB, EPA environmental, EU VIES VAT, and HTS tariff cross-joins live in our multi-skill Compliance Pro Pack.
- **Compliance Decision Support, Not Legal Counsel:** Potential and strong matches must be reviewed against secondary identifiers (DOB, citizenship, address, registration/IMO number) by a qualified compliance officer before blocking or filing an OFAC report.

## Requires

- Optional: Python 3.10+

Queries official public-domain US Government feeds directly over HTTPS; zero API keys or external accounts required.

## Known limitations

Covers official public registry filings and RFC records only; never scrapes login-walled sites or fabricates unverified personal contact details.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the US Treasury OFAC Sanctions, AML & Crypto Screener skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Do I need any API keys, paid subscriptions, or external accounts?

No. Every endpoint used in this skill is an official US Government public-domain feed (17 U.S.C. 105) queried directly by your agent with zero API keys or sign-ups.

### What is included inside the skill package?

Complete step-by-step agent execution instructions (SKILL.md), exact schema & deterministic scoring rubrics with zero-dependency Python 3 reference parsers (references/), and structured report templates (templates/).

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
