coral-xyz / sealevel-attacks

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

Add comments to identify insecure, recommended, and secure patterns in 0-signer-authorization #38

Open techvoyagerX opened 2 months ago

techvoyagerX commented 2 months ago

This pull request adds comments to the 0-signer-authorization program in the Sealevel Attacks repository. The comments clarify which parts of the code are insecure, recommended, and secure. These changes aim to improve the educational value of the examples by clearly distinguishing the different levels of security practices in the code.