akto-api-security / akto

Proactive, Open source API security → API discovery, Testing in CI/CD, Test Library with 150+ Tests, Add custom tests, Sensitive data exposure
https://www.akto.io/
MIT License
1.02k stars 196 forks source link

⛏️ Write a test to detect if a user cannot provide multiple ratings #174

Open aktoboy opened 1 year ago

aktoboy commented 1 year ago

💭 Introduction: We want to test whether an attacker can rate an product/video multiple times by exploiting race condition.

🎯 Requirements:

  1. Filters - This test should run on apis which are used to rate or like videos. You can choose an API that has word rating or like in url.
  2. Execute - Re-run the same request without any changes
  3. Validate - If we get 90% response match, then it is vulnerable

The test should correctly detect whether the api is vulnerable to race condition.

✅ Task summary:

📚 Reading You can find a detailed documentation of test editor rules here Find 100+ examples of YAML tests here

🙋🏼‍♂️ Questions: If you have questions, need any help, or just want to hang out, make sure to join us on our Discord server.

khanjasir90 commented 1 year ago

@aktoboy @Ankita28g i would like to work on this! : )

Ankita28g commented 1 year ago

Hi @khanjasir90 . Assigning to you! Happy hackfesting 🎉

Ankita28g commented 1 year ago

Hi @khanjasir90 thanks for your submission in Hackfest. 🔥 We are reviewing your work. Do these two below:

  1. Join this group on discord for discussions around prizes? 🚀 🏆
  2. Please fill this form your PR to be considered for prizes!
Anurag-space commented 1 year ago

@Ankita28g @ankush-jain-akto "Hi there, I want to work on the test to detect if a user cannot provide multiple ratings. Could you assign me this problem for further exploration? I'm eager to help enhance the system's functionality.

Thanks for your time.

SanchitMahajan236 commented 12 months ago

I would love to contribute. Can you please assign me this issue ?

avneesh-akto commented 11 months ago

I've assigned it to you, @SanchitMahajan236 . Happy hacking! Feel free to join our Discord if you need assistance.