Preheat the oven to the temperature listed on your cake mix box (usually 350°F). Spray a 9×13-inch baking dish with nonstick spray.
Prepare the cake batter according to package directions. Pour into the dish and bake until a toothpick inserted in the center comes out clean.
Cool the cake for 10 minutes. Use the handle of a wooden spoon to poke holes about 1 inch apart across the cake.
In a large bowl, whisk the instant pudding mix, cold milk, vanilla extract, and salt for 2 minutes. Let stand 3 to 5 minutes to thicken.
Pour the pudding mixture over the cake. Spread evenly and press gently so it sinks into the holes.
Cover and refrigerate for at least 2 hours (overnight is great).
Place chocolate chips in a heat-safe bowl. Heat heavy cream in a small saucepan until steaming and bubbling around the edges. Pour over chocolate chips and let sit 2 minutes. Whisk until smooth.
Whisk in corn syrup (if using), vanilla extract, and a pinch of salt.
Pour ganache over the chilled cake and spread into an even layer. Refrigerate 30 to 60 minutes, until set.
Garnish if desired, slice into squares, and serve chilled.