The Source engine is also licensed to other games. If the code is public, other engines could copy their features.
Also it is very annoying to re-secure all your computers after you have been breached. Every single person has to change their password and you don't know what backdoors the guy has installed without a full wipe sometimes.