pull down to refresh
reply
Possibly multiple IPs. But we also have rate-limit per user-id to mitigate the multiple IPs.
Yes they are able to sell same shares multiple times. We use mongodb with transaction locking.
Maybe we need to switch to a transactional db like MySQL or Postgres.
reply
reply
Yes, we're working on moving to Postgres.
We fixed the issue by queuing the request via RabbitMQ.
The hacker tried to perform the same attack within minute of us coming back online but failed, gave us a real-time feedback that our fix worked.
We're back online! Thanks for your support and advice.
reply
seq 1 10 | xargs -n1 -P10 curl --output - 'https://beta.predyx.com/api...
, but some how this attacker is able to bypass that rate-limit.