code-423n4 / 2023-10-zksync-findings

3 stars 0 forks source link

QA Report #337

Open c4-submissions opened 11 months ago

c4-submissions commented 11 months ago

See the markdown file with the details of this report here.

bytes032 commented 10 months ago

3 r 10 nc

contracts

1 r

2 nc

3 nc

4 nc

5 bot

6 bot

7 r

8 r

system-contracts

1 nc

2 nc

3 nc

4 nc

5 nc

6 nc

era-zkevm_circuits

1 nc

ustas-eth commented 9 months ago

contracts

system-contracts

nethoxa commented 9 months ago

About your 2 regarding my submission, its point was that if either governor or the security council got compromised, the whole governance mechanism was broken, even when its purpose was to prevent exactly that. It's not about the misuse of their privileges to act untrustworthy, as it is what you talk about in your analysis and your QA like setting delay to 0 and bypass the timelock or doing shadow upgrades, which are gonna be used only to fix bugs in production. Those are different things. It's true that you say:

"Despite this arrangement, there remains a potential risk of organized manipulative actions or the theft of private keys from multiple members of these multisig wallets. As a result, the community must actively monitor these multisigs to promptly respond to any undesirable actions or events."

But you do not even mention anything about the flawed trust model, it's just a vague sentence regarding theft of keys. Moreover, the security council/delay being set to 0 at deployment can be easily checked via etherscan/cast and the community would notice that pretty fast, so it's not a real threat and via shadow upgrades is not possible, as security council can ask for the operation and check if its hash match the one that has been submitted by governance, so it is not possible to pass a "hidden payload" to trick the security council without them knowing.

c4-judge commented 9 months ago

GalloDaSballo marked the issue as grade-c

c4-judge commented 9 months ago

GalloDaSballo marked the issue as grade-b

GalloDaSballo commented 9 months ago

After reviewing 2.

I don't believe it is a duplicate

This finding asserts that the owner could change the council, but 260 acknowledges that this has a delay and that the council would cancel that

Am keeping as is

c4-judge commented 8 months ago

GalloDaSballo marked the issue as grade-a

GalloDaSballo commented 8 months ago

Given the penalty on 155, am raising this report to A due to high quality submissions