From 67faeb42f7371646eaeaa0697ea1a9a531eacb51 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Tue, 22 Apr 2025 21:24:34 +0200 Subject: [PATCH] Minor fixes --- evaluations/threat-modeling.md | 78 +++++++++++++++++++--------------- 1 file changed, 43 insertions(+), 35 deletions(-) diff --git a/evaluations/threat-modeling.md b/evaluations/threat-modeling.md index d3b3049..d5677e2 100644 --- a/evaluations/threat-modeling.md +++ b/evaluations/threat-modeling.md @@ -695,7 +695,7 @@ Other users could access this information, creating a privacy risk. ╷ ▼ ╷ ╷ ┌──────────────────────┐ ╷ ╷ │ │ ╷ - └╶╶╶╶╶╶▶ │ Original file │ ◀╶╶╶╶╶╶┘ + └╶╶╶╶╶╶▶ │ Original file │ ◀╶╶╶╶╶╶┘ │ │ └──────────────────────┘ ``` @@ -759,7 +759,7 @@ one that offers a higher reward than the original slot. ╷ ╷ ╷ ┌────────────────────┐ ╷ ╷ │ │ ╷ - └╶╶╶╶╶╶╶╶╶╶╶╶▶ │ Codex network │ ◀╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶┘ + └╶╶╶╶╶╶╶╶╶╶╶╶▶ │ Codex network │ ◀╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶┘ │ │ ┌╶╶╶╶╶╶╶╶╶╶╶└────────────────────┘╶╶╶╶╶╶╶╶╶╶╶╶┐ ╷ ╷ ╷ @@ -776,7 +776,7 @@ Request 1 ╷ ╷ ╷ Request 2 ╷ ─│── ───│ ╷ ╷ │ │ ╷ ╷ │ │ ╷ - └╶╶╶╶╶╶╶╶╶╶╶▶ │ Lazy host │ ◀╶╶╶╶╶╶╶╶╶╶╶╶╶╶┘ + └╶╶╶╶╶╶╶╶╶╶╶▶│ Lazy host │ ◀╶╶╶╶╶╶╶╶╶╶╶╶╶╶┘ │ │ Reserve Request 1 Slot 2 │ │ Reserve Request 2 Slot 2 ─│── ───│ @@ -839,7 +839,7 @@ This overloads validators and delays their ability to detect missed proofs in ti ╷ ▼ ╷ ╷ ┌────────────────────┐ ╷ ╷ │ │ ╷ - └╶▶ │ Codex │◀╶╶╶╶┘ + └╶▶ │ Codex │◀╶╶╶╶┘ │ │ └────────────────────┘ ╷ @@ -988,7 +988,7 @@ Store the file ╷ ╷ content ╷ ─ ╷ ────── ╷ │ │ │ │ ╷ ─│ ─│ ╷ │ CID │◀╶╶╶╶╶╶╶╶│ User │ ╷ │ │ ╷ │ │ │ │ - └╶▶│ SP │◀╶┘ └───────────┘ ─│ ─│ + └╶▶│ SP │◀╶┘ └───────────┘ ─│ ─│ │ │ ────── ─│ ─│ ────── @@ -1019,37 +1019,45 @@ A storage provider attempts to fill multiple slots in the same storage request b multiple offers. This gives them a larger share of the deal, limiting participation by other providers. ``` - ────── - ─│ ─│ - │ │ - │ User │ - │ │ - ─│ ─│ - ────── - ╷ - Upload a file ╷ - ╷ - ▼ - ┌─────────────────┐ - │ │ - │ Codex │◀╶╶╶╶╶╶╶╶╶╶╶╶╶╶┐ - │ │ ╷ - ╷─────────────────╷ ╷ - ╷ ╷ ╷ - ╷ ╷ Block the ╷ -Store the file ╷ ╷ content ╷ ────── - ╷ ╷ ┌───────────┐ ─│ ─│ - ╷ ────── ╷ │ │ │ │ - ╷ ─│ ─│ ╷ │ CID │◀╶╶╶╶╶╶╶╶│ User │ - ╷ │ │ ╷ │ │ │ │ - └▶ │ SP │◀╶┘ └───────────┘ ─│ ─│ - │ │ ────── - ─│ ─│ - ────── - + ────── + ─│ ─│ + │ │ + │ User │ + │ │ + ─│ ─│ + ────── + ╷ +Upload a file ╷ + ╷ + ▼ + ┌─────────────────┐ + │ │ + │ Codex │ + │ │ + └─────────────────┘ + ╷ + ╷ + ╷ + ╷ + ▼ + ┌────────────────────┐ + │Slot 1│Slot 2│Slot 3│ + └────────────────────┘ + ╷ ╷ ╷ + ╷ ╷ ╷ + └╶╶╶╶╶╶╷╶╶╶╶╶╶┘ + ╷ + ▼ + ────── + ─│ ─│ + │ │ + │ SP │ + │ │ + ─│ ─│ + ────── ``` -Edit/view: https://cascii.app/279c5 +Edit/view: https://cascii.app/f3984 #### Impacts @@ -1182,7 +1190,7 @@ deal terms in their favor and take control of the funds. ─│── ───│ ╷ ╷ │ │ ╷ ╷ │ │ ╷ ╷ -│ Attacker │◀╶╶╶╶╶╶╶┘ ╷ +│ Attacker │◀╶╶╶╶╶╶╶┘ ╷ │ │ ╷ │ │ Manipulates ╷ ─│── ───│ incoming storage ╷