Skip to main content
HashiConf More sessions have been added to the conference agenda. Buy your pass and plan your schedule. Register
Presentation

8 Best Practices for Writing Secure Go Code

Learn 8 for writing secure code in Golang from engineers at Snyk. Learn 8 for writing secure code in Golang from engineers at Snyk.

»The 8 Best Practices

The video will explain each of these suggested best practices for securing Golang code from Snyk.

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

More resources like this one

  • 4/11/2024
  • FAQ
Introduction to HashiCorp Vault
Vault identity diagram
  • 12/28/2023
  • FAQ
Why should we use identity-based or "identity-first" security as we adopt cloud infrastructure?
  • 3/28/2023
  • Presentation
Hidden Hazards: Unique Burnout Risks in Tech
  • 3/28/2023
  • Presentation
Vault and Boundary - Managing Secrets at Home