← All missions
S rank
Mission report

NoBreach AppSec Rulesmith

A local AppSec platform: 14 vulnerable/secure API pairs, a declarative YAML DAST engine, Semgrep SAST rules, before/after remediation validation and a central dashboard.

31 Aug 2026Python / Flask / Semgrep
#Python#Flask#Semgrep#YAML#Docker#OWASP

Rulesmith dashboard

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)

#ClassEndpointMapping
1Broken object level authorization (IDOR)GET /profile/2CWE-639 / API1:2023
2Missing admin authorizationGET /admin/usersCWE-862 / A01:2021
3Mass assignmentPUT /profile/1CWE-915 / API3:2023
4SSRFPOST /webhook/previewCWE-918 / A10:2021
5Insecure JWT (hardcoded secret, alg: none)POST /auth/loginCWE-798, CWE-347
6NoSQL injectionPOST /searchCWE-943 / A03:2021
7SSTIPOST /renderCWE-1336 / A03:2021
8Insecure file uploadPOST /uploadCWE-434 / A04:2021

The full catalog of 14 classes and the rules are in the repository.

Screenshots

Scan console

Live scan launcher

Findings inspector

Findings inspector

Rule browser

Rule pack browser

Remediation tracker

Before/after remediation tracker

Assessment report

Generated security assessment report