Cream together butter, peanut butter and both sugars with an electric mixer until light and fluffy.
Add egg and vanilla and mix until fully incorporated.
In a separate bowl, mix together flour, baking soda and salt.
Add flour mixture to butter mixture stirring until blended. Stir in peanuts.
Form 1 inch balls of dough, inserting one or two candy corns into the center. Make sure dough completely covers the candy on all sides. Place on baking sheet and slightly flatten.
Bake 13 to 15 minutes.
Remove from oven and immediately press a few candy corns into the top of each cookie. Let cool several minutes (baking sheet should be cool enough to touch). Carefully transfer cookies to wire rack to cool completely.