Skip to main content
2 min readUpdated 19 Oct 202610 weeks

API Security Testing and Rate-Limiting Tool

MediumBTech CSEBCAMCABSc IT+5 moreWeb DevelopmentCybersecurity
Share:
100% Free

Get Free Synopsis PDF

We will prepare a detailed synopsis for your college submission. Includes problem statement, objectives, DFD, ER diagram, and more.

This project builds a tool that tests a student's own REST API for common security weaknesses — missing authentication on endpoints, broken object-level authorisation, and lack of rate limiting — and then provides a Redis-backed rate-limiting middleware that can be plugged into the API to fix the last issue. The testing component runs a battery of authorised checks against the target API and produces a findings report, while the middleware component demonstrates the fix in action.

Problem Statement

APIs are increasingly targeted by automated abuse and credential-stuffing tools, yet many student API projects ship with no rate limiting or authorisation checks at all. Building both a tester and a working fix teaches the full cycle of finding and remediating a real API security gap.

Objectives

1

Study the OWASP API Security Top 10 risks relevant to automated testing

2

Build authorised test scripts for missing-auth and broken-object-authorisation checks

3

Implement a Redis-backed sliding-window rate-limiting middleware

4

Integrate the middleware into a sample FastAPI/Flask application

5

Measure and report abuse resistance before and after applying the fix

Modules

M1

API Security Test Suite

Runs authorised checks for missing authentication and broken object-level authorisation.

M2

Findings Reporter

Compiles test results into a structured report of discovered API weaknesses.

M3

Rate-Limiting Middleware

Implements a Redis-backed sliding-window limiter pluggable into Flask/FastAPI apps.

M4

Sample Target API

A small FastAPI/Flask application used to demonstrate both vulnerabilities and fixes.

M5

Before/After Comparator

Measures abuse resistance of the sample API with and without the middleware applied.

Expected Output

A working test suite that identifies security gaps in a sample API, plus a rate-limiting middleware that measurably reduces abuse when applied to that same API.

Future Scope

The tool could be extended to cover broader OWASP API Top 10 categories like mass assignment and excessive data exposure for more comprehensive automated testing.

Similar Project Ideas

Frequently Asked Questions

Click the "Get Free Synopsis PDF" button on this page. Fill in your details and we will send a detailed synopsis to your WhatsApp within 24 hours at no cost.
Yes, this project includes a detailed problem statement, objectives, and module breakdown that you can use for your college submission. The synopsis PDF we provide is formatted for academic submission.
This project uses: Redis, FastAPI, Flask, Python. Basic knowledge of these technologies is recommended before starting.