A portable infusion pump can communicate with glucose monitor, such as a continuous glucose monitor (CGM), to receive continuous feedback relating to a user's blood glucose level during insulin or other medicament therapy and can automatically deliver insulin to a user when the CGM data indicates a need for additional insulin. Due to potential unreliability in the correlation of the CGM data to the user's actual blood glucose level, risk mitigation can be employed to limit the amount of extra insulin that can be delivered by the pump in response to the CGM data.