Question: is dobby good or evil?
Answer: Dobby was a free elf. Dobby was a great elf; he wasn't ever on Lucius's side, it was just that Lucius was his master. Also, he may have injured Harry in the Chamber of Secrets, but only because he wanted to save him from greater dangers. Just remember; Dobby was happy to die to protect Harry.