Using tx.origin
may lead to problems when users are interacting via smart contract with your protocol. It is recommended to use msg.sender
for authentication.
Found in contracts/GmxProxy.sol ``Line: 352
Vulnerability to phishing attack
Potential contract manipulation through malicious intermediate contracts
Authentication bypass risks
Replace all tx.origin usage with msg.sender
Implement proper authentication checks
Add additional security layers for critical functions
Consider using OpenZeppelin's authentication patterns
Lightchaser: Medium-5
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.