SQL injection
HighPOST /api/orders/search · param q · app/api/orders/route.ts:47
SecHound is a CLI that reads your source, probes your dev server, and points you to the exact line to fix — before anything is public.
npx sechoundSecHound correlates the HTTP finding with the source line that caused it, then explains the fix like a teammate would — not like a CVE feed.
SQL injection
POST /api/orders/search · param q
app/api/orders/route.ts
46 const q = await req.json()
47 db.query(`SELECT * FROM orders WHERE name LIKE '%${q}%'`)
48 return Response.json(rows)
Remediation
Bind q as a parameter. String interpolation into SQL is the sink — not the route itself.
No agents to deploy. No tunnel. No staging URL required to start. Command details live in the CLI docs.
# 1 — get the CLI
$ npx sechound
# 2 — sign in (browser or API key)
$ sechound login
Browser on sechound.com · or paste sechound_live_…
# 3 — scan localhost + source
$ sechound scan
Next.js detected · http://localhost:3000
4 findings synced to your dashboard
$ sechound reportSecurity, quality, and performance in a single pass. No flags to pick.
$ sechound scan
secrets keys, tokens, committed .env
dependencies known-vulnerable npm packages
code injection, XSS, eval, weak JWT
quality empty catch, leftover debug, fragile patterns
performance N+1 queries, unbounded reads, sync I/O
headers localhost CSP / CORS if the app is uplocalhost:3000 → disk → (optional) sanitized explain
SecHound runs against the process you already have open. AI explanations receive redacted finding context. The optional coding assistant asks before sending selected, redacted source files and never includes env or credential files.
No public deploy required to start a scan.
If you're shipping a Next.js or Node app on localhost and don't want to stand up Burp, open a tunnel, or wait for a staging deploy just to see what's wrong — SecHound is for you.
Solo builders use it before a push. Small teams use it to catch auth and API mistakes early. It's opinionated on purpose: fewer knobs, clearer findings.
Pricing
Scanning stays local. Credits cover AI explanations. Free includes 10 credits/month; Pro is $20 for 150; Team is $40 for 375.
$0forever
Try the CLI on a personal project.
$20/month
For developers who scan every branch.
$40/month
More credits, keys, and longer history.
Payments are processed by Paddle, our Merchant of Record. You have 30 days from purchase or renewal to request a full refund. See the Refund Policy.
Sign in, then point the CLI at your local app. Reports live on your dashboard.
npx sechound