Sea cucumbers are a good thing to have as part of your clean up crew, they can puke there guts if threatened and cause alot of damage if not caught in time. However as long as there aren't any aggressive fish picking at it or any large open powerhead intakes it shouldn't puke.
Also hopefully its a normal type of cucumber and not a sea apple, which are much harder to care for, tend to puke easier, and are more toxic