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

Spare Jetblack Fish - BOTH_TRANSFER in GlobalVariables charges 5x the collateral, but only 2 are transferred always #1062

Open
sherlock-admin4 opened this issue Dec 30, 2024 · 0 comments

Comments

@sherlock-admin4
Copy link

Spare Jetblack Fish

Medium

BOTH_TRANSFER in GlobalVariables charges 5x the collateral, but only 2 are transferred always

Summary

Global variables charges 5x the collateral here. However, at most 2 collaterals + usda and eth are transferred, here. As such, fees will be overcharged.

Root Cause

No response

Internal pre-conditions

No response

External pre-conditions

No response

Attack Path

No response

Impact

Overcharged fees, loss for protocol.

PoC

No response

Mitigation

No response

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

No branches or pull requests

1 participant