coral-xyz / sealevel-attacks

☠️ Common Security Exploits and Protections on Solana
518 stars 99 forks source link

Update user authority from context accounts in class 3 #28

Open CrazyNorman opened 8 months ago

CrazyNorman commented 8 months ago

The current recommended code does not seem to match the behavior of both the insecure and secure versions.