Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CS Note 8.2: CCR and SCR Considerations #496

Open
bingen opened this issue Oct 9, 2024 · 0 comments
Open

CS Note 8.2: CCR and SCR Considerations #496

bingen opened this issue Oct 9, 2024 · 0 comments

Comments

@bingen
Copy link
Collaborator

bingen commented Oct 9, 2024

Note that the CCR and SCR must be set in a way that they are not too close to each other to prevent intentional triggering of branch shutdown.

In particular, the CCR should be higher than the SCR by an amount that is greater than the largest expected price change in a single oracle update. Otherwise, an attacker could intentionally trigger shutdown by frontrunning the oracle update.

This would be similar to the known attacks for triggering recovery mode in Liquity V1.

The currently proposed values of CCR = 1.5 and SCR = 1.1 appear far enough apart that these attacks are not feasible. Any future deployments that use closer values should consider this attack vector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant