Top 10 SecureCoding Practices (CERT)1. Validate input.2. Heed compiler warnings.3. Architect and design for security policies.4. Keep it simple.5. Default deny.6. Adhere to the principle of least privilege.7. Sanitize data sent to other systems.8. Practice defense in depth.9. Use effective quality assurance techniques.10. Adopt a secure coding standard.6https://www.securecoding.cert.org/confluence/display/seccode/Top+10+Secure+Coding+Practices
7.
OWASP Top 10Proactive Controls 20161. 早期に、繰り返しセキュリティを検証する2. クエリーのパラメータ化3. データのエンコーディング4. すべての入力値を検証する5. アイデンティティと認証管理の実装6. 適切なアクセス制御の実装7. データの保護8. ロギングと侵入検知の実装9. セキュリティフレームワークやライブラリの活用10. エラー処理と例外処理7OWASP Top 10 Proactive Controls 2016より引用