1
00:00:00,800 --> 00:00:04,631
This is a live demo of Kavach Vault, recorded on 19 November,

2
00:00:04,631 --> 00:00:06,390
right after the Q-Day Drill.

3
00:00:06,710 --> 00:00:10,498
Everything on screen is real output from the QoreChain testnet.

4
00:00:11,398 --> 00:00:14,193
First, the drill result, read straight from the chain.

5
00:00:14,513 --> 00:00:19,092
During the drill day, the drill account sent exactly one transaction:

6
00:00:19,092 --> 00:00:20,286
our proof of life.

7
00:00:20,606 --> 00:00:25,822
Its fee was paid by our fee grant, so the account still holds exactly 1 QOR,

8
00:00:25,822 --> 00:00:28,155
and it never opened an EVM window.

9
00:00:28,475 --> 00:00:30,486
Both vaults are where they started.

10
00:00:32,186 --> 00:00:36,157
Now let's play the attacker, with the real leaked classical key.

11
00:00:36,477 --> 00:00:39,501
A native transfer of the whole balance. Refused:

12
00:00:39,501 --> 00:00:43,974
the account has a post-quantum key, so the chain wants both signatures.

13
00:00:44,294 --> 00:00:48,578
Opening an EVM window. Refused, for the same reason.

14
00:00:48,898 --> 00:00:52,686
An EVM transfer. Refused, because there's no window.

15
00:00:53,006 --> 00:00:56,702
And the drain calls. The allowlist stops the attacker's address.

16
00:00:56,702 --> 00:01:00,803
The vault rejects a key that isn't the owner's, and a forged signature.

17
00:01:00,803 --> 00:01:02,593
The cold vault is still locked.

18
00:01:02,913 --> 00:01:04,141
Nothing moved.

19
00:01:06,241 --> 00:01:10,290
Next, the watchtower, on a fresh test vault with 5 QOR in it.

20
00:01:10,610 --> 00:01:15,051
A normal heartbeat goes through, and nothing is frozen. That's what we want.

21
00:01:15,371 --> 00:01:18,349
Now a withdrawal the watchtower wasn't told about.

22
00:01:18,669 --> 00:01:23,136
It spots the drop, and the guardian freezes the vault, 11 seconds later.

23
00:01:23,456 --> 00:01:25,959
A new withdrawal after the freeze is refused.

24
00:01:25,959 --> 00:01:28,628
And the same alerts reach our phone on Telegram.

25
00:01:30,728 --> 00:01:37,624
Last, the test suite: 94 tests, and an invariant run that checks 6 invariants.

26
00:01:37,944 --> 00:01:41,732
The invariant run takes four and a half minutes, so it's sped up here.

27
00:01:42,052 --> 00:01:43,358
Everything passes.

28
00:01:45,758 --> 00:01:48,654
Every command you saw is in the repo. Run them yourself,

29
00:01:48,654 --> 00:01:50,878
and the chain will show you the same thing.
