News for hackers. Stuff that matters.
Re:Be careful what you test or deploy to Vercel by thundergolfer on Thursday April 06, 2023 @08:45PM (#35476629)
It might be really hard to add in retroactively. Otherwise there’s no excuse, it’s such an annoying vulnerability for a customer, even if you can email support and get a refund. Where I work, modal.com, we have enforced budget limits for accounts.
Re:Be careful what you test or deploy to Vercel by brundolf on Thursday April 06, 2023 @08:55PM (#35476703)
> It might be really hard to add in retroactively

I don't see how?

  if (cap != null && service.currentBill > cap) {
    service.deactivate()
  }
Re:Be careful what you test or deploy to Vercel by lozenge on Friday April 07, 2023 @03:41AM (#35479172)
So do you want all your S3 buckets deleted when you reach the cap? How about that pet EC2 with ephemeral storage?
Re:Be careful what you test or deploy to Vercel by brundolf on Friday April 07, 2023 @12:04PM (#35483140)
Sure, it gets more complicated with storage. But I think we're mostly talking about stateless services here

And for storage or storage-having services you could easily have a "shut it down but preserve the data for a comparatively-small recurring fixed storage charge"