common flatworm.
Not necessarily harmful, but they can reproduce to plague proportions rapidly. If there's just a few, I'd siphon them out. If there is a bazillion (and there can be) then you may have to resort to something like Flatworm Exit. Many wrasses find them to be a delicacy. That's how I finally got rid of mine.