This is a perfectly healthy wasp. It's a female and she's laying eggs inside the wood with very long ovipositor (that's not a stinger, it's a tube that she uses to penetrate wood with when she detects a beetle larva in there, and lay her eggs through it on the grub).
Michael
13-Sep-2008 06:09
Did you rupture that wasp or did you find it like that.