#2
Moth caterpillar? It seems green gastric contents are visible. Preparing to pupate?
I don't sure, but some ichneumonids parasitize on some (e. g. tetragnathid) spiders. On final stage larva suck out the spider's opisthosoma and then it pupate in dead spider's web.