Prepare workspace: Lightly grease silicone candy molds with cooking spray or line a baking sheet with parchment paper.
Combine ingredients: In a heavy-bottomed saucepan, mix sugar, corn syrup, and water over medium heat. Stir gently until sugar dissolves.
Heat to hard crack stage: Attach a candy thermometer. Boil without stirring until the mixture reaches 300°F–310°F (149°C–154°C), about 10–15 minutes.
Add flavor and color: Remove from heat. Quickly stir in flavor extract, food coloring, and malic acid (if using).
Pour into molds: Carefully pour the hot mixture into molds or onto the baking sheet in small pools. Work quickly as it hardens fast.
Cool and harden: Let candies cool at room temperature for 20–30 minutes.
Remove and store: Pop candies out of molds or break the sheet into pieces. Store in an airtight container.