Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 1.05 KB

041.md

File metadata and controls

29 lines (15 loc) · 1.05 KB

moneyversed

high

No input validation for _forwarder and _account in the hasApprovedMarketForwarder function

Summary

There is no input validation for _forwarder and _account parameters in the hasApprovedMarketForwarder function. This may lead to unexpected behavior or vulnerabilities.

Vulnerability Detail

The hasApprovedMarketForwarder function lacks input validation for the _forwarder and _account parameters. This could result in unexpected behavior or vulnerabilities in the platform.

Impact

Missing input validation could lead to unexpected behavior, vulnerabilities, or potential exploits in the platform.

Code Snippet

https://github.com/sherlock-audit/2023-03-teller/blob/main/teller-protocol-v2/packages/contracts/contracts/TellerV2Context.sol#L54

Tool used

Manual Review

Recommendation

Add input validation for the _forwarder and _account parameters in the hasApprovedMarketForwarder function to ensure the provided data is valid and safe to use. This will help prevent unexpected behavior and improve the security of the platform.