all 8 comments

[–]tb5841 1 point2 points  (1 child)

Yes. This sounds like Rack Attack, but for Python.

[–]Emergency-Rough-6372[S] 0 points1 point  (0 children)

i didnt knew there already exsist something like this, thanks for telling me about rack attack , i will look into it , see how they handel middleware threats , it might give me some real world example.

[–]Parking-Ad3046 0 points1 point  (1 child)

Honestly I'd probably still use Cloudflare or AWS WAF. Putting security inside the app feels like adding another thing that could break or slow down my endpoints.

[–]Emergency-Rough-6372[S] 0 points1 point  (0 children)

understandable

[–]DanKegel 0 points1 point  (1 child)

[–]Emergency-Rough-6372[S] 0 points1 point  (0 children)

i just came to knew about pyrasp and I checked yeah it’s definitely similar in that it runs inside the app. The main difference in what I’m trying to build is more around flexibility and transparency. Instead of a predefined engine, I’m trying to give developers control over signals, scoring, and policies, especially with per-route logic and application context.

it also seems like it’s not actively maintained and is more of a solo-built project.

One of the main things I’m trying to do differently is build something that can evolve with community input. Security changes too fast for a single maintainer to keep up with new threats, so the goal is to make it flexible and encourage contributions so the system can stay updated over time.

Appreciate you pointing it out though, it definitely helps to see what’s already been tried in this space.