I'd bank on a lone superworm pupating in there - this looks a lot like the pupa of Zophobas morio.