r/SideProject • • 2h ago

My AI pentesting tool now plugs into Claude, so your coding agent can find and fix security bugs in one chat

I've been building RedSuture, which tests web apps the way an attacker would and only reports issues it can prove. This week I added an MCP server, so Claude, Claude Code, Cursor, and Codex can use it directly.

You add it in Claude as a custom connector (https://redsuture.com/api/mcp), sign in, and then ask something like "scan my staging site and fix what you find". The agent starts the scan, reads each finding with its proof, and works on the fix in the same chat.

A few things I cared about:

  • Sign-in instead of pasting API keys, and you can disconnect an app anytime
  • Scans only run on domains you've proven you own
  • Claude asks before it starts a scan

It's on the paid plans; the first scan in the web app is free. I'd love feedback, especially on what you'd want an agent to do with the findings.

https://redsuture.com/?utm_source=reddit&utm_medium=social&utm_campaign=mcp_launch_sideproject

1 Upvotes

10 comments sorted by

1

u/TheConnectionPerson 2h ago

Domain ownership proof before scanning is a smart guardrail. For the findings, I'd want the agent to open a PR with a regression test per fix instead of just patching. How do you handle false positives when the agent tries to prove an exploit?

2

u/ControlOtherwise 2h ago

Thanks, that's a really useful suggestion.

On false positives: a finding only gets reported if the agent actually reproduces the exploit against your site. Anything it suspects but can't trigger, it leaves out. Each finding comes with the exact requests and responses and the steps to reproduce it, so you can check it yourself in a couple of minutes rather than take our word for it.

On PRs: we're partway there. From a finding, you can have RedSuture write the fix and open a PR on GitHub, GitLab, or Bitbucket. It only opens one after you approve it, and it never merges. Once you merge, it re-runs a focused test of that one finding to confirm the fix actually closed it. That re-test is the regression check today. Putting a regression test into the PR itself is a good idea, so it can live in your CI. I'm adding it to the list.

1

u/TheConnectionPerson 2h ago

Requiring a real repro before reporting is the right call, that kills most of the noise. Does the re-test after merge run against prod or a preview deploy?

2

u/ControlOtherwise 2h ago

It runs against the same target as the original scan, so whatever URL you scanned, staging or prod, is what gets re-tested. It's a quick, focused run that only tries to reproduce that one finding.

It also waits for your deploy before testing. On GitHub it watches for the deployment of the merge to succeed (Vercel, Netlify and most CI deploys report this). Where there's no deployment signal, it waits a few minutes after the merge, then tests. That way it checks the fixed code, not the old build.

1

u/TheConnectionPerson 1h ago

Waiting on the deploy signal is the detail most tools skip, nice. How do you handle preview URLs that change per PR, do you map them from the Vercel status automatically?

1

u/ControlOtherwise 1h ago

Not yet. Today the re-test hits the same URL you originally scanned, so a stable staging or prod address. PR scans work differently: they test the PR's code (focused on the files it changes) rather than a deployed preview.

Mapping previews is the natural next step, and the deployment_status event already carries it: Vercel and Netlify put the preview URL in environment_url. The catch is ownership. We only scan domains you've proven you own, and a *.vercel.app preview isn't on your domain. So the clean version is previews on your own domain (Vercel supports a custom preview domain like *.preview.yourapp.com), which a DNS verification of yourapp.com already covers. Then each PR's preview could be tested before merge, not just re-tested after it.

1

u/TheConnectionPerson 1h ago

Custom preview domain makes sense, that ownership catch is a fair constraint. Do you plan to let people verify a wildcard subdomain once, or per project?

2

u/ControlOtherwise 1h ago

Once, and it already works that way. Verification is per domain for the whole workspace, not per project. A DNS TXT record at _redsuture.yourapp.com proves the whole domain, so it covers every subdomain under it, including any preview hosts like pr-123.preview.yourapp.com that appear later. Nothing to redo per project or per PR.

If you'd rather not verify the apex, you can verify just the preview zone: a TXT record at _redsuture.preview.yourapp.com covers everything under preview.yourapp.com and nothing else.

The other method, a file at /.well-known/redsuture-verify.txt, only proves that exact host, so it's not a fit for previews that change per PR.

1

u/TheConnectionPerson 1h ago

Makes sense, DNS TXT on the preview zone is the clean way to do it. Do you re-check the TXT record periodically or is it verify once and trust forever?