You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
P0: MaxPurchaseAmount permission cap bypassable (upfront-only basis + no retry enforcement) #1494
Tracking issue for a P0 / critical security bug: two live evasion paths against the MaxPurchaseAmount permission constraint, confirmed against current main. The fix is in review as #1477 (adversarial-review follow-up to #1210 / SEC-01, issue #1141); this issue exists so the P0 is visible in the priority-ordered issue queue independent of the PR.
The bugs (from #1477's analysis, verified on main)
Basis was upfront-cost-only, not total commitment.purchaseConstraintSets summed only rec.UpfrontCost across the batch, so a no-upfront (or partial-upfront) RI/Savings Plan — whose UpfrontCost is at/near zero — sails past a MaxPurchaseAmount cap regardless of the true total commitment. An API-key/limited principal could commit far more than their cap allows.
Resolved: fix PR #1477 (bind MaxPurchaseAmount to total commitment + enforce on retry) merged to main on 2026-07-22. The upfront-only basis and missing-retry-enforcement bypass paths are fixed. Closing this tracking issue.
Activity
cristim commentedon Jul 27, 2026
Resolved: fix PR #1477 (bind MaxPurchaseAmount to total commitment + enforce on retry) merged to main on 2026-07-22. The upfront-only basis and missing-retry-enforcement bypass paths are fixed. Closing this tracking issue.