Worm

I am pretty sure it's a peanut worm (sipunculan). The posterior part (lower left) is quite distinctive, and I think it's specific to rock boring species. They are harmless detritivores.
 
yes that is a peanut worm also known as a boring worm. sipunculans are generally brought into the tank by live rock. some are very small but others of the same family can get as big as 15inches/38 centremetres. the family contains 325 species i think, available in all seas, they eat food particles and organic debris from water and substrate.
 
AquariaCentral.com