That's some kind of slug for sure, but it's not a sea hare. Hard to say if it's a carnivore, herbivore, or omnivore, without a positive I.D. and/or watching it for a while to see what it goes after.
The same goes for the crab, but I would say the odds are it's a xanthid crab (they seem to be the most common hitch hiker crab reported) which are not reef safe. Take a picture of it.