Changelog Master Feed

Dependencies are dangerous (Go Time #321)

10 snips
Jul 3, 2024
Ian and Johnny discuss dependency management in Go, the polyfill.io supply chain attack, Go Proverbs, and the importance of minimizing dependencies for security. The episode delves into supply chain security, risks of using CDNs, managing software dependencies, navigating dependency challenges, vulnerabilities in software development, updating dependencies, and the importance of learning C for foundational understanding in programming.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

CDNs: High Risk, High Impact

  • CDN supply chain attacks impact hundreds of thousands of websites by compromising widely used scripts.
  • The vast usage and caching of CDNs make them lucrative and dangerous targets for attackers.
INSIGHT

Go's Supply Chain Defense

  • Go mitigates supply chain attacks with build locks, cryptographic checksums, and source commit hashes.
  • The Go community prefers fewer dependencies and often copies code instead of importing libraries blindly.
ADVICE

Vet Dependencies Thoroughly

  • Be critical of imports; review dependency metadata, popularity, and code before adding.
  • Avoid blindly including dependencies, especially those with many transitive imports or unusual behaviors.
Get the Snipd Podcast app to discover more snips from this episode
Get the app