Preheat oven to 180°C (350°F).
Line a small baking pan (6–7 inches) with parchment paper.
Mash bananas in a bowl until smooth.
Whisk in eggs (and vanilla extract if using) until combined.
Add cocoa powder and a pinch of salt. Mix until smooth.
Optional: Fold in chocolate chips or chopped nuts.
Pour batter into the lined pan and smooth the top.
Bake for 20–25 minutes, until the top is set but still moist.
Cool completely before slicing into squares.
