r/coolgithubprojects • • 1h ago

I built Nyx, a local security scanner that traces findings across files

Post image

I’ve been building Nyx for the past year and a half. It’s an open-source security scanner for reviewing application code. Nyx can follow a request value from a route handler through helper functions in other files and show the path to the operation it flagged. For eligible findings, it can also run a sandboxed check and report what it observed. Nyx checks for SQL injection, XSS, SSRF, command injection, unsafe deserialization, and path traversal. It also looks for missing ownership checks and resource-handling bugs.

You can open a finding in the local browser UI, inspect the source at each step of the trace, and triage it from there. If you prefer the terminal, run nyx scan . --no-verify from your repo root to start with a static scan.

I just released 0.9.0. It analyzes independent files in parallel and reuses findings on repeat scans when their inputs still match. On my M2 Max, a full Keycloak scan went from 11 minutes to about 30 seconds.

Try it out and let me know what you think! Nyx on GitHub

1 Upvotes

0 comments sorted by