Employee was working on the 580 haul truck. As the employee was opening the engine compartment, the cover came up at an unexpected rate of speed causing the employee to hit their hand between the cover and a railing. This resulted in a laceration to the left pointer finger that required stitches.