coral-xyz / sealevel-attacks

☠️ Common Security Exploits and Protections on Solana
507 stars 95 forks source link

Update user authority from context accounts in class 3 #28

Open CrazyNorman opened 7 months ago

CrazyNorman commented 7 months ago

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