Because of how rare obscuri are, there are several misconceptions about them. They are sentient creatures, and not all of them are parasitic. Some have more of a symbiotic relationship with their hosts. The reason Credence was able to survive to adulthood was because his obscurus is a fairly friendly one. It's also very protective of Credence.
Credence, Obscurus- Misunderstood Creatures