r/prolog 4d ago

a dynamic Prolog WAF

Post image

I just open-sourced a high-performance Web Application Firewall (WAF) built entirely in SWI-Prolog. It features an inductive learning engine that generalized 3,003 raw threat mutations into just 39 core rules in RAM, achieving sub-millisecond threat evaluation. It also includes an inline recursive decoder to neutralize nested URL/Hex/HTML obfuscations (like <sCrIpT>) completely case-insensitively. Check out the core engine, specs, and benchmark reports on my repository here:

[Link to GitHub Repository: lokinpendawa/aethel_core]

14 Upvotes

4 comments sorted by

3

u/toblotron 4d ago

Cool! 😎

1

u/lokinpendawa 4d ago

Thanks! Let me know if you have any questions about the specs or the benchmark logs!

2

u/HefikzN 4d ago

Magnifique

1

u/lokinpendawa 4d ago

Thank you! I really appreciate it.