forked from nightscout/AndroidAPS
-
Notifications
You must be signed in to change notification settings - Fork 0
[UPSTREAM] CRITICAL: Medtrum Nano dispenses ~10U insulin during failed activation #43
Copy link
Copy link
Open
Labels
Description
Upstream Reference
Bug Description
CRITICAL SAFETY — At least 2 Discord users reported the Medtrum Nano pump (already on-body with needle pressed) fell back to priming stage after activation failure, dispensing ~10 units of insulin unintentionally.
Safety Impact
CRITICAL — Uncontrolled insulin delivery of ~10U can cause severe hypoglycemia and is life-threatening.
Scenario
- User activates Medtrum Nano patch (on body, needle already pressed)
- Activation fails for unknown reason
- App falls back to priming stage
- Priming dispenses ~10U of insulin through the already-inserted needle
Comments
- jbr7rr requested AAPS version info to narrow down the issue
Key Files
pump/medtrum/— Medtrum pump driver- Activation state machine and priming logic
- Failure recovery/rollback code paths
Action Items
- PRIORITY: Audit Medtrum activation state machine
- Verify priming can NEVER occur when needle is already inserted
- Add state guard: if needle is deployed, block priming
- Add regression test for activation failure recovery
Reactions are currently unavailable