Skip to content
S

secureshadow

security control such as a firewall or WAF can st

Created on 8th October 2026

•

S

secureshadow

security control such as a firewall or WAF can st

The problem secureshadow solves

SECURESHADOW helps security teams review this architectural drift. They can establish an approved baseline, submit a current infrastructure scenario, and see what assets or communication paths changed. The system highlights changes that may violate modeled security assumptions, estimates their effect on protection, and presents remediation options for an operator to review

Challenges we ran into

  1. Too many false alarms (the biggest one). Our first detection logic flagged every security assumption as broken whenever any new asset or connection appeared, even if it was nowhere near the protected system. A printer added to an unrelated subnet would have "broken" the WAF's protection score.
    Fix: We made the assumption check topology-aware. It builds the subgraph around each control and its protected assets, and only flags a change if it actually connects to that area. We added a regression test (an unrelated asset must not trigger a flag), which the old logic failed and the new one passes.

  2. Terraform doesn't describe network reachability. We planned to auto-build the whole security graph from a Terraform plan, but plan files don't encode which services can reach which, and they don't know a WAF is supposed to protect an API.
    Fix: We scoped honestly. Terraform supplies the real asset inventory, and engineers declare the controls and assumptions, since those capture intent. Automatic path inference is future work.

  3. Docker and PostgreSQL deployment bugs. The container crashed on a missing PostgreSQL driver (psycopg), then failed again because a stale database volume still held old credentials.
    Fix: We normalised the connection string to an explicit driver, added the dependency, and reset the volume. We then re-ran the full flow against Postgres instead of trusting docker compose config.

  4. A bug found by attacking our own security tool. An adversarial test pass showed that unknown /api/* URLs returned HTTP 500 instead of 404, because a catch-all route misused FileResponse. The same pass found that the login endpoint had no brute-force protection and the container ran as root.
    Fix: Corrected the error response, added rate limiting, and switched to a non-root container user.

Technologies used

Discussion

Builders also viewed

See more projects on Devfolio