coral-xyz / sealevel-attacks

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

Added comments to 7-bump-seed-canonicalization programs (insecure, recommended, secure) #45

Open techvoyagerX opened 1 month ago

techvoyagerX commented 1 month ago

Added necessary comments to 7-bump-seed-canonicalization programs. Clarified the key logic behind PDA derivation, bump seed validation, and value updates. Ensured comments highlight the insecure, recommended, and secure approaches.