Works best when
- Institution must monitor transactions for AML or sanctions compliance.
- Privacy is required but regulators need audit capability.
- Real-time screening is mandatory before settlement.
Avoid when
- Full transparency is acceptable (no privacy requirement).
- Jurisdiction has no transaction monitoring requirements.
I2I vs I2U — context differences
Institution to institution
I2ICounterparties may accept a single compliance oracle operated by a trusted consortium member or shared service. Bilateral contracts govern screening rules and dispute handling. Appeals are resolved through existing institutional channels.
Institution to end user
I2UEnd-users have no visibility into oracle decisions and no direct recourse if flagged incorrectly. Threshold consensus across independent oracle operators, transparent appeal processes, and ZK-based screening that hides transaction details from individual operators become essential.
Post-quantum exposure
Risk · medium- Vector
- Signatures on screening attestations inherit host-chain and oracle signature assumptions. zero-knowledge proofs used in privacy-preserving screening inherit their proof system's exposure.
- Mitigation
- Hash-based signatures and STARK-based screening proofs. See Post-Quantum Threats.
Components
- Compliance oracle or screening service evaluates transactions against sanctions lists, AML rules, and internal policies. Can be centralized, federated, or threshold-operated.
- Rule engine stores jurisdiction-specific rules with versioning. Rule updates are logged and auditable.
- Threshold key management issues and rotates viewing keys distributed to authorized parties, so no single operator can unilaterally decrypt transaction contents.
- zero-knowledge proof verifiers (optional) validate compliance attestations such as "amount below reporting threshold" or "counterparty not on sanctions list" without revealing the underlying values.
- Alert and case management system handles flagged transactions through severity tiers with defined response times.
- Audit log records every screening decision with timestamp, rule version, and decision hash. Typically anchored on-chain via attestations for tamper evidence.
Protocol
- user Sender constructs a transaction and generates a compliance attestation (viewing key or zero-knowledge proof) alongside the encrypted payload.
- operator Compliance oracle pre-screens the recipient against sanctions lists and internal policies before the transaction is submitted.
- operator Oracle verifies the transaction against AML rules using the attestation, without seeing the full plaintext when zero-knowledge proofs are used.
- operator If screening passes, the oracle emits a cleared attestation; if flagged, an alert is generated with severity level.
- operator High-severity alerts trigger a hold and manual review; low-severity cases are logged for batch review.
- contract Cleared transactions settle on the host chain; flagged transactions remain held pending resolution.
- auditor Periodic compliance reports are generated from the audit log for regulator filing. Regulators can request selective disclosure via viewing keys on demand.
Guarantees & threat model
Guarantees:
- Transaction details are visible only to the compliance function and authorized parties.
- All transactions are screened against current sanctions lists and jurisdiction rules before settlement.
- Screening decisions produce an immutable, timestamped audit trail suitable for regulator review.
- Counterparty identities are protected from public view; disclosure is scoped to authorized auditors via viewing keys.
Threat model:
- Soundness of any zero-knowledge proofs used for screening attestations.
- Non-colluding oracle operators. A single compromised or coerced operator in a centralized deployment can leak transaction metadata or unilaterally block transactions.
- Rule engine integrity. A tampered rule set can allow prohibited transactions or block legitimate ones.
- Key management for viewing keys. Compromised keys enable unauthorized decryption of historical transactions.
- Network-layer metadata (IP, timing, submission patterns) is out of scope and must be covered separately.
Trade-offs
- Real-time screening adds 100 to 500 ms per transaction. Batch screening for low-risk flows mitigates this.
- False positives from overly strict rules block legitimate transactions. Tiered thresholds and human review for edge cases are standard mitigations.
- Oracle trust is a concentration point. Threshold operation with multiple providers or TEE-based screening reduces this risk.
- Per-transaction screening fees can be significant at volume; internal screening for high-frequency flows is common.
- Centralized oracles retain unilateral censorship power even when privacy is otherwise strong; threshold governance and transparent appeals are necessary counterweights.
Example
- An institution initiates a large bond purchase on a privacy L2.
- The sender's compliance node pre-screens the counterparty against the sanctions list (clear).
- The transaction is submitted with an encrypted amount and a zero-knowledge proof that the amount is within the reporting threshold.
- The oracle verifies the proof, checks the counterparty risk score (medium), and clears the transaction.
- Settlement executes. The audit log records timestamp, screening version, result, and proof hash.
- A monthly report aggregates cleared transactions for the regulatory filing.