Stir together the water, brown sugar, and cornstarch in a small saucepan. Bring to a simmer over medium-high heat, and stir until the sugar has dissolved and the sauce has thickened. Remove from the heat, and stir in the garlic and red pepper flakes.