<oembed><type>rich</type><version>1.0</version><author_name>npub1aslmpzentw224n3s6yccru4dq2qdlx7rfudfnqevfck637cjt6esswfqmx</author_name><author_url>https://nostr.ae/npub1aslmpzentw224n3s6yccru4dq2qdlx7rfudfnqevfck637cjt6esswfqmx</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2020-10-13&#xA;📝 Original message:&#xA;&gt;&#xA;&gt; &gt; If I were LOW-REP, I&#39;d still charge an unknown node a hold fee. I&#xA;&gt; &gt; would only waive the hold fee for high-reputation nodes. In that case,&#xA;&gt; &gt; the attacker is still paying for the attack. I may be forced to take a&#xA;&gt; &gt; small loss on the difference, but at least the larger part of the pain&#xA;&gt; &gt; is felt by the attacker. The assumption is that this is sufficient&#xA;&gt; &gt; enough to deter the attacker from even trying.&#xA;&gt;&#xA;&gt; The LOW-REP node being out of pocket is the clue here: if one party&#xA;&gt; loses funds, even a tiny bit, another party gains some funds. In this&#xA;&gt; case the HIGH-REP node collaborating with the ATTACKER can extract some&#xA;&gt; funds from the intermediate node, allowing them to dime their way to all&#xA;&gt; of LOW-REP&#39;s funds. If an attack results in even a tiny loss for an&#xA;&gt; intermediary and can be repeated, the intermediary&#39;s funds can be&#xA;&gt; syphoned by an attacker.&#xA;&gt;&#xA;&#xA;The assumption is that HIGH-REP nodes won&#39;t do this :) LOW-REP will see all&#xA;those failed payments and small losses and start to realize that something&#xA;strange is happening. I know the proposal isn&#39;t fully trustless, but I&#xA;think it can work in practice.&#xA;&#xA;&#xA;&gt; Another attack that is a spin on ZmnSCPxj&#39;s waiting to backpropagate the&#xA;&gt; preimage is even worse:&#xA;&gt;&#xA;&gt;  - Attacker node `A` charging hold fees receives HTLC from victim `V`&#xA;&gt;  - `A` does not forward the HTLC, but starts charging hold fees&#xA;&gt;  - Just before the timeout for the HTLC would force us to settle onchain&#xA;&gt;    `A` just removes the HTLC without forwarding it or he can try to&#xA;&gt;    forward at the last moment, potentially blaming someone else for its&#xA;&gt;    failure to complete&#xA;&gt;&#xA;&gt; This results in `A` extracting the maximum hold fee from `V`, without&#xA;&gt; the downstream hold fees cutting into their profits. By forwarding as&#xA;&gt; late as possible `A` can cause a downstream failure and look innocent,&#xA;&gt; and the overall payment has the worst possible outcome: we waited an&#xA;&gt; eternity for what turns out to be a failed attempt.&#xA;&gt;&#xA;&#xA;The idea is that an attacker node is untrusted and won&#39;t be able to charge&#xA;hold fees.&#xA;&#xA;- Joost&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20201013/5b59146c/attachment.html&gt;</html></oembed>