At first I thought - wow late for a beetle larvae. But at 5mm long its tiny and has that er.. interesting black shapes on it. I'm not even sure if that's the front end or back. A moth larvae? OR something else? weird. I did look really hard for others but this was the only one I could find.
I found a couple of links online so it looks right? still looks weird. https://butterfliesdorrigo.weebly.com/tailed-emperor-charaxes-sempronius-sempronius.html