Prep the pan: Heat oven to 325°F (163°C). Line a 9x9-inch baking pan with parchment, leaving overhang for easy lifting.
Lightly grease the sides.
Make the crust: Combine cookie crumbs, melted butter, sugar, and salt until the texture resembles wet sand. Press firmly and evenly into the pan. Bake for 8–10 minutes, then cool slightly.
Beat the cream cheese: In a large bowl, beat cream cheese and sugar on medium speed until smooth and fluffy, about 2 minutes.
Scrape the bowl well.
Add the rest: Mix in sour cream, vanilla, and peppermint extract. Sprinkle in cornstarch and blend on low just to combine. Add eggs one at a time, mixing on low until just incorporated.
Avoid overbeating.
Color swirl (optional): Remove about 1/3 cup of batter to a small bowl and tint with a drop or two of gel coloring. Pour the plain batter over the crust, then dot with the tinted batter. Swirl gently with a toothpick or knife.
Bake: Bake at 325°F for 28–34 minutes, until the edges are set and the center wobbles slightly when jiggled.
Do not overbake.
Cool gradually: Turn off the oven, crack the door, and let the bars sit for 10 minutes. Remove and cool to room temperature. Chill, covered, for at least 3 hours (overnight is ideal).
Add topping: Just before serving, sprinkle crushed candy canes on top.
For extra flair, add mini chocolate chips or a zigzag of melted chocolate.
Slice cleanly: Lift the slab out with parchment. Use a hot, dry knife for neat cuts, wiping between slices.