Heat the oven to 350 degrees and line a baking sheet with parchment paper.
Stir the flour, baking soda, and salt together in a bowl and set it aside.
Beat the butter with the brown sugar and granulated sugar until the mixture turns light and fluffy.
Mix in the egg, vanilla extract, and several drops of orange food coloring gel until the color looks even.
Add the dry ingredients to the wet mixture and stir until a smooth dough forms.
Scoop out eight portions of dough. Press one caramel square into the center of each portion and seal the dough around it to form a ball.
Place the balls on the baking sheet and gently flatten each one into a round shape.
Bake for 10 to 12 minutes until the edges turn golden. Let the cookies cool on the sheet for 5 minutes.
Pipe jack-o'-lantern faces onto each cooled cookie with the black decorating icing.