That looks like a Pistol Shrimp.
Some species can hunt other Shrimp and I think you might have one of those. Do you have another small tank you can keep it in?
If you can get some good closeups I might be able to get a positive ID but until then I would not keep it in your display tank.