Preheat the oven to 350 degrees F. Line mini cupcake pans with paper liners (for a total of 36 mini cupcakes).
For the chocolate mayonnaise cake: Mix the sugar and cocoa in a medium bowl. In a small bowl, combine the baking soda and 1/2 cup cold water. Add the baking soda mixture to the sugar mixture, and then mix in the vanilla and salt. Add the flour and mix to combine. Fold in the mayonnaise.
For the dark chocolate chile cheesecake: Mix together the cream cheese, sugar, vanilla and egg in a stand mixer with the whisk attachment until fluffy and smooth, about 3 minutes.
Using a double boiler, melt the dark chocolate. Mix the chocolate into the cheesecake batter, and then mix in the ancho and cayenne.
Layer the cupcake liners with the chocolate mayonnaise cake batter first. Then add a layer of the dark chocolate chile cheesecake batter. Fill the liners with both batters about three-quarters full because the cupcakes will rise. (Depending on your layering technique, you may have more of one batter than the other. You can always make straight cupcakes or cheesecakes with the extra batter.)
Bake about 18 minutes. Set aside to cool completely.
For the chile cream buttercream frosting: In a medium bowl, sift together the ancho, cinnamon and cayenne with the confectioners' sugar. Cream together the cream cheese and butter in a stand mixer on medium speed. Add the ancho mixture and vanilla and mix until smooth.
Put the frosting in a piping bag and frost the cooled cupcakes generously.
You can adjust the spice level according to your preference of heat.
This recipe was created by a contestant during a cooking competition. It has not been tested for home use.