logoalt Hacker News

saturn_vktoday at 3:04 PM2 repliesview on HN

IIRC, go cannot run arbitrary code at build time, so that should not make it vulnerable


Replies

matheusmoreiratoday at 3:09 PM

That changes nothing. If you're downloading packages pushed by randoms, then it's vulnerable. There is no escaping it. Go's module index is filled with people's GitHub repositories. You have no idea what's inside those things unless you review the source yourself.