
An internship project for the No Breach cybersecurity team, supervised by Mr. Mahmoud Mansouri.
Most security scanners tell you what is broken. The harder question is: how do you prove it was actually fixed?
The goal: move past black-box scanners and build detection rules that are reusable, explainable and testable. The same rules run against a vulnerable API and its secure twin, and every check is labeled FIXED, OPEN or REGRESSION. The final result: 17/17 fixed.
What’s inside
- Vulnerable and secure demo APIs: 14 distinct vulnerability classes in Python/Flask, each with a fixed twin.
- Declarative DAST rule engine: 14 custom YAML rules that evaluate HTTP response indicators, status codes and security headers.
- SAST rule pack: custom Semgrep rules for dangerous code patterns and cryptographic flaws.
- Differential remediation validator: automated before/after regression tests confirming every fix.
- Interactive dashboard on port 5050: executive charts, a live scan launcher, a findings inspector and a rule browser.
- Report generator: HTML and Markdown security assessment reports with one-click export.
- Knowledge base: CWE, OWASP Top 10 and OWASP API Top 10 mappings with remediation guides.
Vulnerability catalog (excerpt)
| # | Class | Endpoint | Mapping |
|---|---|---|---|
| 1 | Broken object level authorization (IDOR) | GET /profile/2 | CWE-639 / API1:2023 |
| 2 | Missing admin authorization | GET /admin/users | CWE-862 / A01:2021 |
| 3 | Mass assignment | PUT /profile/1 | CWE-915 / API3:2023 |
| 4 | SSRF | POST /webhook/preview | CWE-918 / A10:2021 |
| 5 | Insecure JWT (hardcoded secret, alg: none) | POST /auth/login | CWE-798, CWE-347 |
| 6 | NoSQL injection | POST /search | CWE-943 / A03:2021 |
| 7 | SSTI | POST /render | CWE-1336 / A03:2021 |
| 8 | Insecure file upload | POST /upload | CWE-434 / A04:2021 |
The full catalog of 14 classes and the rules are in the repository.
Screenshots
Scan console

Findings inspector

Rule browser

Remediation tracker
![]()
Assessment report
