If it isn't your main account password it's not a big deal in my opinion... anyway if your machine is compromised you probably have more important things to worry about than your SE password. :P
Yeah but how can they get out (of course I'm not telling you to put the file with the hardcoded credentials on Github) ? And if your machine is compromised then your main account will be affected too (browser session cookies + possibly keylogging)...
Yeah, I'm paranoid too, but if your machine is compromised you're in trouble anyway (and possibly more trouble than SE, I'm talking about email/banking credentials)..