Flatheaded appletree borer larvae feed within the tree and can cause girdling when severe infestations occur.
A small cream colored larvae beneath tree bark.

James Solomon, USDA Forest Service, Bugwood.org