<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Systemdesign on Bodha</title><link>https://bodha.siddh.me/tags/systemdesign/</link><description>Recent content in Systemdesign on Bodha</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Mon, 17 Aug 2026 01:25:59 +0530</lastBuildDate><atom:link href="https://bodha.siddh.me/tags/systemdesign/index.xml" rel="self" type="application/rss+xml"/><item><title>Zero-Trust Reversible Escrow for combating scams</title><link>https://bodha.siddh.me/posts/2026/08/17/zero_trust_reversible_escrow/</link><pubDate>Mon, 17 Aug 2026 01:25:59 +0530</pubDate><guid>https://bodha.siddh.me/posts/2026/08/17/zero_trust_reversible_escrow/</guid><description>Introduction In 2025, a 57-year-old woman in Bengaluru was kept under constant video surveillance for 6 months by scammers claiming to be CBI/RBI/Cybercrime officials. In those 6 months, she was terrorized into making 187 separate bank transfers, draining ≈ ₹32 crore of her life savings.1
There is a clear uptick in cases. So RBI put out a discussion paper. Reading about it on news motivated this post.
Reference: Discussion Paper on Exploring Safeguards in Digital Payments to Curb Frauds (April 2026)</description><content>&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>In 2025, a 57-year-old woman in Bengaluru was kept under constant video surveillance for 6 months by scammers claiming to be CBI/RBI/Cybercrime officials. In those 6 months, she was terrorized into making 187 separate bank transfers, draining ≈ ₹32 crore of her life savings.&lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup>&lt;/p>
&lt;p>There is a clear uptick in cases. So RBI put out a discussion paper. Reading about it on news motivated this post.&lt;/p>
&lt;p>&lt;strong>Reference:&lt;/strong>
&lt;a
href="https://rbidocs.rbi.org.in/rdocs/Publications/PDFs/DP090420261ED5D6E68D724A6EA870B7E68E45F80F.PDF"
target="_blank"
>Discussion Paper on Exploring Safeguards in Digital Payments to Curb Frauds (April 2026)&lt;/a>&lt;/p>
&lt;p>TLDR:&lt;/p>
&lt;blockquote>
&lt;p>The discussion paper sets out the following four options, namely,&lt;/p>
&lt;ol>
&lt;li>Lagged credit for authorised push payments other than low value;&lt;/li>
&lt;li>Additional authentication by trusted person for high-value digital transactions by vulnerable sections of society;&lt;/li>
&lt;li>Only accounts with satisfactory additional review to receive large credits; and&lt;/li>
&lt;li>Customer-induced controls&lt;/li>
&lt;/ol>
&lt;/blockquote>
&lt;p>The main proposals which were reported visibly in the news were 1 and 4. Basically, RBI proposed a 1-hour delay for sending &amp;gt; ₹10,000 to a new person / beneficiary, and a kill-switch for disabling transactions.&lt;/p>
&lt;p>As you can imagine, this is a stupid, feel-good idea.&lt;/p>
&lt;ul>
&lt;li>
&lt;p>The ruthless &amp;ldquo;digital arrest&amp;rdquo; criminals manipulate people into isolating/locking themselves up for multiple hours, days&lt;sup id="fnref:2">&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref">2&lt;/a>&lt;/sup>, or even months&lt;sup id="fnref1:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup> (like above). They don&amp;rsquo;t care if the victim kills themselves the next moment on camera. A 1-hour delay is meaningless, the attacker will simply tell the victim the system is &amp;ldquo;processing&amp;rdquo; or forces them to break the payment into smaller chunks to bypass the threshold. A one-hour delay is not the same thing as a one-hour interruption of the attack.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Disabling transactions after the money has left your account achieves nothing. The act of disabling would happen when the victim is no longer panicked, i.e., after the damage is already done.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>We are asking the wrong question. The question isn&amp;rsquo;t how to delay the &lt;em>victim&amp;rsquo;s&lt;/em> payment. It is how to choke the &lt;em>attacker&amp;rsquo;s&lt;/em> monetization.&lt;/p>
&lt;p>To systematically neutralize these threats, I propose a &lt;strong>&amp;ldquo;Zero Trust Reversible Escrow&amp;rdquo;&lt;/strong> architecture. This model shifts the friction from the sender&amp;rsquo;s outbound ledger to the receiver&amp;rsquo;s inbound liquidity, attacking the crux of the scam&amp;rsquo;s modus operandi.&lt;/p>
&lt;p>Disclosure: AI assistance was used to get a quick polished draft from my own speak.&lt;/p>
&lt;hr>
&lt;h2 id="1-unbundling-the-transaction">1. Unbundling the Transaction&lt;/h2>
&lt;p>The fundamental mistake in the RBI&amp;rsquo;s proposal is treating the &lt;em>time before payment&lt;/em> as the primary security boundary. A conventional instant payment collapses several distinct events into one split-second action. A safer architecture explicitly separates them:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>Authorization:&lt;/strong> The sender successfully authenticates and instructs the payment.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Visibility:&lt;/strong> The sender and beneficiary can clearly see that the transaction exists on the ledger.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Customer Credit Availability (Liquidity):&lt;/strong> The beneficiary can actually withdraw, spend, or transfer the funds.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Finality:&lt;/strong> The transaction passes the defined protection period and can no longer be reversed.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>These events do not have to be coupled. A payment can be &lt;em>visible&lt;/em> without being &lt;em>spendable&lt;/em>.&lt;/p>
&lt;p>This gives the banking system a period where the payment visibly exists on the screen to pacify the scammer, but the fraudster&amp;rsquo;s liquidity does not.&lt;/p>
&lt;hr>
&lt;h2 id="2-the-danger-of-sender-side-friction">2. The Danger of Sender-Side Friction&lt;/h2>
&lt;p>If the RBI implements a 1-hour delay on the sender&amp;rsquo;s side, it will likely take one of two flawed forms:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>The Hard Block (Threshold Friction):&lt;/strong> If the RBI outright blocks transactions over ₹10,000 to new beneficiaries, it simply forces the scammer to adapt. Because &amp;ldquo;low value&amp;rdquo; transfers are exempt, the scammer forces the victim into structuring: &lt;em>&amp;ldquo;The high-value limit was blocked. Break the payment into chunks of ₹9,900 and send them using different accounts or one-by-one&amp;rdquo;.&lt;/em>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>The Pending Void:&lt;/strong> What if the RBI holds the transaction in a &amp;ldquo;pending&amp;rdquo; void where the sender&amp;rsquo;s money is debited but the receiver sees ₹0? This escalates psychological terror. The fake police officer assumes the victim is trying to trick them, starts screaming threats, and forces the panicked victim to drain a secondary bank account.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>Thus, sender-side friction makes the issue worse as it forces the attacker to adapt and/or escalate the coercion.&lt;/p>
&lt;hr>
&lt;h2 id="3-the-core-model-24-hour-inbound-liquidity-escrow">3. The Core Model: 24-Hour Inbound Liquidity Escrow&lt;/h2>
&lt;p>Instead of creating sender-side friction, the transaction must process instantly and visually reflect on the destination ledger.&lt;/p>
&lt;p>This immediate visual confirmation of &amp;ldquo;Payment Successful&amp;rdquo; pacifies the immediate crisis. Because the scammer sees the funds have successfully landed in their ledger, they recognize the victim has complied. This stops the scammer from screaming at the victim to empty a secondary bank account out of panic.&lt;/p>
&lt;p>However, the destination account cannot withdraw, transfer, or monetize these funds for a baseline protection window of 24 hours. Note that the underlying interbank settlement does not need to remain pending for 24 hours.&lt;/p>
&lt;p>Sophisticated scammers will know this lock exists, but it forces them into a far more expensive logistical problem. Instead of a fast &amp;ldquo;smash-and-grab&amp;rdquo;, the scammer must now attempt to keep the victim awake, isolated, and under acute psychological control for 24 continuous hours to ensure they don&amp;rsquo;t hit the &amp;ldquo;revert&amp;rdquo; button.&lt;/p>
&lt;p>To be precise on the core-banking abstraction, the ledger state looks like this:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Sender Ledger:&lt;/strong> -₹10,00,000&lt;/li>
&lt;li>&lt;strong>Receiver Ledger Balance:&lt;/strong> +₹10,00,000 &lt;em>(Status: Restricted Credit)&lt;/em>&lt;/li>
&lt;li>&lt;strong>Receiver Available Balance:&lt;/strong> ₹0 &lt;em>(From the restricted amount)&lt;/em>&lt;/li>
&lt;/ul>
&lt;p>A 24-hour baseline lock ensures a massive intervention window. It creates enough time for phone batteries to die, internet connections to drop, family members to intervene, and a biological sleep cycle to physically interrupt the victim&amp;rsquo;s acute fight-or-flight compliance.&lt;/p>
&lt;hr>
&lt;h2 id="4-crippling-the-mule-network-economics">4. Crippling the Mule Network Economics&lt;/h2>
&lt;p>This architecture fundamentally alters the operational economics of money laundering. Mule networks rely entirely on rapid dispersion. When a socially engineered payment lands in a compromised account, fraudsters instantly split it and wire it to 50 other accounts or buy cryptocurrency before the victim realizes they&amp;rsquo;ve been scammed.&lt;/p>
&lt;p>By trapping the inbound liquidity for 24 hours, the conversion of fraudulent authorization into irreversible liquidity is interrupted. This completely destroys the rapid-dispersion model, granting the bank&amp;rsquo;s automated fraud-detection systems the time to flag the anomaly and freeze the mule account before the money escapes.&lt;/p>
&lt;hr>
&lt;h2 id="5-handling-prolonged-attacks-velocity-compounded-escrows">5. Handling Prolonged Attacks: Velocity-Compounded Escrows&lt;/h2>
&lt;p>Now you would say this won&amp;rsquo;t help the Bengaluru woman. And you would be correct. A critical scenario to address is the prolonged attack where scammers hold a victim hostage across multiple days to attempt to run out a single 24-hour clock.&lt;/p>
&lt;p>To neutralize this, lock times must scale with transaction velocity. If an account initiates back-to-back high-value transfers to new beneficiaries within a rolling 7-day window, the escrow duration &lt;strong>compounds dynamically&lt;/strong>. For example, Transfer 1 = 24h lock, Transfer 2 = 48h lock, Transfer 3+ = 72h+ lock.&lt;/p>
&lt;p>Simultaneously, consecutive high-value drain-attempts must automatically trigger {asynchronous, high-priority anomaly tickets} to the bank&amp;rsquo;s fraud operations desk for human intervention. The scammer cannot simply wait out the clock if repeated transfers keep pushing the liquidity horizon further away.&lt;/p>
&lt;hr>
&lt;h2 id="6-countering-buyer-fraud-protecting-genuine-receivers">6. Countering &amp;ldquo;Buyer Fraud&amp;rdquo; (Protecting Genuine Receivers)&lt;/h2>
&lt;p>A critical vulnerability in any reversible payment system is first-party abuse. If a sender can unilaterally pull funds back with a single button at hour 23, legitimate P2P trade (like buying a used laptop via UPI after meeting via OLX) becomes impossible. The buyer could simply take the laptop, walk away, and hit the &amp;ldquo;revert&amp;rdquo; button.&lt;/p>
&lt;p>To prevent the receiver from becoming the victim, the system must not allow reversal to happen instantly on sender&amp;rsquo;s request. The reversal is a fraud protection mechanism, so it must go through an appropriate fraud handling procedure.&lt;/p>
&lt;p>That is, the system must distinguish between a &lt;em>customer-requested cancellation&lt;/em> and a &lt;em>fraud-triggered reversal&lt;/em>:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>No Silent, Instant Clawbacks:&lt;/strong> Hitting &amp;ldquo;revert&amp;rdquo; does not execute an immediate, unverified refund to the sender.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Transition to Dispute Freeze (&lt;code>FRAUD_HOLD&lt;/code>):&lt;/strong> Triggering a reversal immediately freezes the provisional funds on the receiver&amp;rsquo;s end (preventing withdrawal) and locks the claim on the sender&amp;rsquo;s end.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Mandatory Legal Routing:&lt;/strong> Instead of an informal rollback, the dispute is formally routed into existing interbank fraud reporting and cybercrime investigation frameworks. Following through with the reversal should require the sender to submit a formal digital fraud declaration under penalty of law, introducing massive legal friction for bad-faith buyers trying to abuse the revert policy.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="7-emergency-bypass-out-of-band-mutual-de-anonymization">7. Emergency Bypass: Out-of-Band Mutual De-Anonymization&lt;/h2>
&lt;p>If a user genuinely needs to instantly send money for immediate use (like a sudden hospital bill for a family member), a bypass mechanism must be provided to ensure system liquidity is not choked during genuine emergencies. However, since it will allow one to bypass the timelock, it must have friction as a deliberate security feature.&lt;/p>
&lt;p>To prevent bloating the core payment rails (UPI/IMPS) with unnecessary things, the verification can occur &lt;strong>out-of-band&lt;/strong> via the banks&amp;rsquo; security overlay. The system must initiate an automated, synchronous &lt;strong>Dual-Node Video KYC&lt;/strong> session through a strict, step-by-step sequence, such as the following:&lt;/p>
&lt;ol>
&lt;li>
&lt;p>&lt;strong>Ephemeral Consent &amp;amp; Warning:&lt;/strong> The receiver is presented with a clear prompt: &lt;em>&amp;ldquo;To accept these emergency funds instantly, you must consent to a live video session and reveal your registered bank account number, branch, full legal name, residence address city, and current live geo-location to the sender&amp;rdquo;.&lt;/em>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Mutual Visual De-anonymization:&lt;/strong> Both the sender and the receiver must be present on the same video feed simultaneously. The sender sees the receiver&amp;rsquo;s live face, legal name, bank account number, registered KYC city, and their real-time location (for e.g. &lt;em>&amp;ldquo;Live from Jamtara, Jharkhand&amp;rdquo;&lt;/em>).&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Automated Integrity Checks:&lt;/strong> It&amp;rsquo;s 2026. We can use fully automated modern tools (without a human-in-the-loop, potentially employing AI) to enforce environmental integrity. The system can try to verify strict liveness (try to block deepfakes and screen-sharing), ask contextual security questions (e.g. forcing the sender to verbalize the purpose of the transfer), and match the physical face and ID on camera against the government KYC on file (Aadhaar and PAN records), to structurally defeat spoofed or stolen IDs.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Cryptographic Release:&lt;/strong> If all the checks pass, the verification layer issues an &amp;ldquo;Unlock Token&amp;rdquo; to the core ledger, bypassing the 24-hour escrow.&lt;/p>
&lt;/li>
&lt;/ol>
&lt;p>This high-friction bypass is intentional. It provides a necessary, forced pause for the user to think through the procedure before committing. Simultaneously, it gives the bank&amp;rsquo;s automated systems the required time and data to accurately assess the transaction&amp;rsquo;s risk.&lt;/p>
&lt;p>&lt;strong>Why this breaks the scam:&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>Shattering the Authority Illusion:&lt;/strong> Attackers impersonating law enforcement rely 100% on unilateral anonymity. By forcing the banking app to display the stark reality: that the money is landing in a private citizen&amp;rsquo;s account, accompanied by a live video feed of an unrelated individual broadcasting from a completely different state than they claim to be in, the psychological manipulation shatters.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>The KYC Mismatch (Spoof Defeat):&lt;/strong> Fraud syndicates often use stolen or spoofed ID documents to open shell accounts. Even if the KYC documents on file are forged, the physical person sitting in front of the live camera will not match the face on the KYC file. The automated verification detects the biometric mismatch and fails.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Mule Legal Exposure:&lt;/strong> Money mules will be incentivized to refuse to participate in a live, recorded, two-way video feed directly opposite the victim they are extorting out of fear of immediate, undeniable legal exposure.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>Because bad actors cannot satisfy this mutual de-anonymization condition without burning their operation, the bypass fails, and the 24-hour escrow remains firmly engaged.&lt;/p>
&lt;hr>
&lt;h2 id="8-progressive-trust-architecture-graded-beneficiary-status">8. Progressive Trust Architecture (Graded Beneficiary Status)&lt;/h2>
&lt;p>Defining a &amp;ldquo;first-time beneficiary&amp;rdquo; via a binary status is highly vulnerable to &amp;ldquo;penny testing&amp;rdquo;. An attacker will simply ask the victim to transfer ₹10 to ensure the account works, before demanding a ₹10,00,000 transfer. If the system simply registers the ₹10 transfer and marks the beneficiary as permanently trusted, the escrow is bypassed.&lt;/p>
&lt;p>Trust must scale in a graded manner. For example, transferring a small amount clears the base tier. Transferring a larger amount triggers the escrow mechanism. For even larger amounts surpassing subsequent thresholds, the escrow triggers again. The system could utilize a maximum of 5 (just an example) scaling triggers based on transaction value before an account is granted frictionless P2P capabilities.&lt;/p>
&lt;p>Historical transaction familiarity can reduce friction, but no single successful small payment should ever be capable of magically laundering a subsequent ₹10,00,000 payment into the &amp;ldquo;permanently trusted&amp;rdquo; category.&lt;/p>
&lt;hr>
&lt;h2 id="9-state-machine-diagram-transaction--dispute-flow">9. State Machine Diagram: Transaction &amp;amp; Dispute Flow&lt;/h2>
&lt;pre tabindex="0">&lt;code>[Initiate High-Value P2P Transfer]
|
[Check Velocity &amp;amp; Risk Tier]
|
+---------------+---------------+
| |
[Known / Cleared Tier] [New / High-Risk Tier]
| |
[Instant Settlement] [Ledger Updated (Debited / Credited)]
|
[Liquidity Locked in Escrow]
(24H Base / Compounding on Velocity)
|
+-----------------------+-----------------------+
| | |
v v v
[Timeout Expired] [Reversal Initiated] [Emergency Bypass]
| | |
[Settlement Finalized] [State: FRAUD_HOLD] [Out-of-Band Sync Video]
(Liquidity Available) (Funds Frozen on Both) [ De-Anonymization ]
| |
[Mandatory Fraud] [If Passed: Issue Unlock]
[ Triage ] [Token to Core Ledger ]
|
+---------------+---------------+
| |
[Fraud Confirmed] [Dispute / Legit Trade]
| |
[Ledger Compensated] [Escrow Maintained /]
(Funds Returned) [ Arbitration Hold ]
&lt;/code>&lt;/pre>&lt;hr>
&lt;h2 id="10-system-exceptions--policy-rules">10. System Exceptions &amp;amp; Policy Rules&lt;/h2>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>Strict P2M Exemption:&lt;/strong> Unilateral reversal workflows and provisional escrows are strictly disabled for verified P2M (Person-to-Merchant) transactions. Commercial commerce must route through standard payment gateway dispute and chargeback frameworks. Different payment relationships require different models of finality.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Extended Escrows for Vulnerable Demographics:&lt;/strong> Data shows that prolonged, multi-week digital arrests disproportionately target high-net-worth senior citizens. By default, the fast-track bypass feature should be disabled for high-risk demographics, and their escrow lock should be extended from 24 hours to &lt;strong>72 hours or more&lt;/strong>. This ensures the escrow cannot be socially engineered out of them under any circumstances, unless they have explicitly opted-in to the bypass feature via an in-person branch mandate.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="conclusion">Conclusion&lt;/h2>
&lt;p>This architecture physically breaks the ROI loop of fraudsters by choking their instant liquidity while protecting the transactional integrity of genuine users.&lt;/p>
&lt;p>Delaying the sender&amp;rsquo;s transfer merely tests how long a scammer can scream at a victim on the phone.&lt;/p>
&lt;div class="footnotes" role="doc-endnotes">
&lt;hr>
&lt;ol>
&lt;li id="fn:1">
&lt;p>
&lt;a
href="https://www.ndtv.com/bangalore-news/bengaluru-woman-loses-rs-32-crore-in-digital-arrest-that-lasted-6-months-9647994"
target="_blank"
>Bengaluru Woman Loses Rs 32 Crore In Digital Arrest That Lasted 6 Months&lt;/a>&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink">&amp;#x21a9;&amp;#xfe0e;&lt;/a>&amp;#160;&lt;a href="#fnref1:1" class="footnote-backref" role="doc-backlink">&amp;#x21a9;&amp;#xfe0e;&lt;/a>&lt;/p>
&lt;/li>
&lt;li id="fn:2">
&lt;p>
&lt;a
href="https://www.indiatoday.in/cities/jaipur/story/digital-arrest-scam-jaipur-former-judge-loses-crore-to-fake-cbi-rbi-officials-ptag-2970183-2026-08-13"
target="_blank"
>90-year-old Jaipur ex-judge held under 15-day digital arrest, loses Rs 2.5 crore&lt;/a>&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink">&amp;#x21a9;&amp;#xfe0e;&lt;/a>&lt;/p>
&lt;/li>
&lt;/ol>
&lt;/div></content></item></channel></rss>