-
Notifications
You must be signed in to change notification settings - Fork 0
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
QA Report #9
Comments
"Missing token whitelisting puts stakeholders on risk" (Disputed)Yes and no... Yes it can run malicious code in the "sendFees & sendFeesWithRoyalties not handling ETH token" (Disputed)We are only sending fees with ERC20 (so WETH and not ETH). In the "Incorrect return message" (Confirmed) |
Fixed in #70 commit |
My personal judgements:
|
Also adding in the reduced severity finding #10: |
Now, here is the methodology I used for calculating a score for each QA report. I first assigned each submission to be either non-critical (1 point), very-low-critical (5 points) or low-critical (10 points), depending on how severe/useful the issue is. The score of a QA report is the sum of these points, divided by the maximum number of points achieved by a QA report. This maximum number was 26 points, achieved by #66. The number of points achieved by this report is 2 points. |
Missing token whitelisting puts stakeholders on risk
Contract: https://github.com/code-423n4/2022-02-nested/blob/main/contracts/FeeSplitter.sol#L146
Attacker can call sendFees with a malicious token contract
This increases the share balance of malicious token for each stake holder
When stakeholders tries to withdraw there share of malicious token using releaseTokens, malicious contract will be called and code written by attacker will be executed (asking for unauthorized approvals, wasting Gas etc)
sendFees & sendFeesWithRoyalties not handling ETH token
Contract: https://github.com/code-423n4/2022-02-nested/blob/main/contracts/FeeSplitter.sol#L175
Incorrect return message
Contract: https://github.com/code-423n4/2022-02-nested/blob/main/contracts/abstracts/MixinOperatorResolver.sol#L101
The text was updated successfully, but these errors were encountered: