From 0dc98150072c2317f0bc74cc8bc5c1c4f63e9132 Mon Sep 17 00:00:00 2001 From: Sylvain Bellemare Date: Mon, 12 Feb 2024 23:42:54 -0800 Subject: [PATCH] Update docs --- hacking/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hacking/README.md b/hacking/README.md index 53c2e906f..8d1eddabe 100644 --- a/hacking/README.md +++ b/hacking/README.md @@ -53,6 +53,7 @@ The above command simulates an adversary executing the following steps: sell the 40 `token_b`, increasing their balance of `token_a` by 1 and maintaining their balance of `token_b`. +### Animated GIF of attack ![](./sandwich-attack.gif) @@ -76,6 +77,7 @@ The above command simulates an adversary executing the following steps: * execute the victim's transaction to see if `guess` was enough to conver the victim's transfer transaction 3) If the `guess` was enough to cover the victim's transfer transaction then `guess` is the transfer amount +### Animated GIF of attack ![](./transfer-privacy-attack.gif)