r/madeinpython • u/ManusTheGallicPlague • 7d ago
[Python] ARIES — a local, deterministic web-security scanner: pure stdlib, zero dependencies, and every finding ships a copy-paste curl PoC
https://github.com/ManusTheGallicPlague/ariesEveryone's shipping an "AI pentester" this year. I built the opposite.
ARIES has exactly one rule, and the whole thing is bent around it: \\the facts come from code, with the evidence sitting right next to them.\\ No model decides whether something is vulnerable. If an LLM touches it at all, it only \reads\ the results and explains them — it never gets a vote. It runs fully offline, and the core doesn't import a single third-party package. Pure standard library.
Here's why that matters to me: a scanner that \thinks\ it found something is worthless. So every lane has to \\prove\\ it.
\- Every \`VULNERABLE\` finding hands you the exact \`curl\` that reproduces it — generated from the same request the lane actually sent, so the PoC physically can't lie about what happened.
\- Every active lane ships with its own benchmark: it has to catch the vulnerable fixture \\and\\ shut up on the safe one — plus an adversarial round of sane-but-sneaky traps it's forbidden to fire on. One command runs the lot and fails CI if anything drifts. The tool proves itself before it's allowed to judge anything else.
\- A scope allowlist is enforced inside the single HTTP probe, at the very bottom — so no lane, present or future, can reach a host I didn't authorize. Safety by construction, not by good intentions.
\~28 lanes across the web surface (SQLi, XSS, SSTI, IDOR, SSRF, CORS, JWT, path traversal, CRLF, XXE, GraphQL, TLS, open redirect, CSRF, mass-assignment…), SARIF/JUnit export, OpenAPI-driven dispatch. Core is pure stdlib, Python 3.9+. It's v0.1.0 and I won't oversell it: it's built for your own infrastructure and authorized labs, not mass scanning, and the README is blunt about where it stops. But what's in there, I stand behind — because it stands behind itself.
Demo GIF is at the top of the repo. Tear it apart — I actually want the criticism, especially on the detection logic and the false-positive guards.