filmov
tv
8 Best Practices for Writing Secure Go Code

Показать описание
Engineers from Snyk show how to write secure Golang code. The 8 practices are:
1. Use reflection sparingly
2. Defend against injection
3. Use HTML/template
4. Subshelling
5. Vulnerability scanning
6. Avoid "unsafe" and "cgo"
7. Use standard crypto packages
8. Minimize the container attack surface
1. Use reflection sparingly
2. Defend against injection
3. Use HTML/template
4. Subshelling
5. Vulnerability scanning
6. Avoid "unsafe" and "cgo"
7. Use standard crypto packages
8. Minimize the container attack surface