News for hackers. Stuff that matters.
Re:Reverse engineering Lyft Bikes for fun (and profit?) by ibigio on Thursday January 22, 2026 @05:51PM (#46726152)
i actually think a quick-fix was setting a rate limit. which sadly thwarted my brute-forcing, but did not actually fix the race condition itself. though it's a very fair "kid, stop it" response until they fixed the race condition.
Re:Reverse engineering Lyft Bikes for fun (and profit?) by storystarling on Friday January 23, 2026 @02:34PM (#46736775)
Rate limiting is a stopgap, not a fix. I would have expected a transaction lock in Postgres (SELECT FOR UPDATE) to serialize the requests. Or a Redis mutex if they are worried about database contention.