Truffles are symbiotic and if you permit them the right light, moisture and temperature you can find them inside a truffle. So be careful not to leave them long enough it is possible to have white worms thriving as you see here pictured below. So the debate about worms isn’t new and you can see some truffles will either have worms or develop them – it is all a part of nature.
So what are they doing in there anyway? They are feasting on the truffle and they multiply and as you see there are plenty of decent size worms all huddled together. A colony of worms indeed, so if you find worms it means the truffle could be beyond the reasonable period of storing them, or the worms are there from the beginning, and you slice through them and go for it.