near / fast-auth-signer

https://fast-auth-signer.vercel.app
MIT License
30 stars 9 forks source link

Prevent Unauthorized Fund Spending in ChainSignature Contract using FunctionCall key #242

Open Pessina opened 3 months ago

Pessina commented 3 months ago

Currently, it's possible to call the ChainSignature contract using a FunctionCall key, allowing the dApp that holds the key to spend user funds. To prevent this, we propose adding a deposit fee to the contract call, ensuring only a FullAccess key can execute the contract.