SaL--dApp icon indicating copy to clipboard operation
SaL--dApp copied to clipboard

Adding a check for owner in the donation function.

Open KritikaJoshi22 opened this issue 1 year ago • 2 comments

The donate function does not check if the msg.sender is the owner of the employee. This means that an attacker could send a donation to an employee that they do not own.

KritikaJoshi22 avatar May 23 '23 09:05 KritikaJoshi22