-
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
loss of funds due to accidental transfer of ETH #269
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Comments
code423n4
added
2 (Med Risk)
Assets not at direct risk, but function/availability of the protocol could be impacted or leak value
bug
Something isn't working
labels
Jun 19, 2022
jakekidd
added
the
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
label
Jun 24, 2022
Note: it may also be possible to simply remove the payable receive method here. Worth handling either way. |
jakekidd
added
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
and removed
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
labels
Jun 24, 2022
Duplicate of #67 |
LayneHaber
added
duplicate
This issue or pull request already exists
and removed
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
labels
Jun 30, 2022
Anyone can "accidentally" transfer ETH to a contract. Downgrading to |
There is no path of exploit so this issue is really just a best practice. |
0xleastwood
added
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
and removed
2 (Med Risk)
Assets not at direct risk, but function/availability of the protocol could be impacted or leak value
labels
Aug 14, 2022
Merging with #263. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Lines of code
https://github.com/code-423n4/2022-06-connext/blob/b4532655071566b33c41eac46e75be29b4a381ed/contracts/contracts/core/promise/PromiseRouter.sol#L132
Vulnerability details
Issue: a relayer or other component can send ETH to PromiseRouter.sol by mistake.
Consequences: this will lead to loss of funds since there is no function to withdraw the ETH.
Affected Code
Recommended Mitigation Steps
Add a withdrawEth function, where onlyOwner can withdraw ETH that is not part of the fees.
The text was updated successfully, but these errors were encountered: