Someone on Twitter posted some photos yesterday of a lump of mud that, when knocked off a chair by accident, revealed a number of caterpillars: https://twitter.com/solomilne/status/956135158381334528
I've uploaded one of the photos below. The assumption (which seems reasonable, but I suppose isn't certain) is that they were left there by a parasitoid.
Can anyone identify the caterpillars, confirm whether they are likely to have been left by a parasitoid and if so identify a likely culprit? The sample was from a forested area in Sabah, northern Borneo; I've requested a size from the person who posted the photos.