There are several ways to mitigate cost risk:
Conducting a cost analysis.
Conduct a risk analysis and document every process.
Create a resource management plan.
Always include a buffer stock.
Utilize technology.