Security for
AI-era builders
Privacy-first scanning that runs locally. Plain-language findings with AI-generated fix prompts. Your code never leaves your machine.
You ship fast.
But is your code secure?
AI tools help you build in hours, not months. But they routinely ship hardcoded secrets, missing headers, and injection vectors. Enterprise scanners cost £300+/mo. Nobody teaches the basics.
80%
of cyber incidents target web apps
Verizon DBIR 2024
43%
of attacks target small businesses
Accenture Cybersecurity Report
$4.88M
average cost of a data breach
IBM Cost of a Data Breach 2024
62%
cite cost as a barrier to security testing
Ponemon Institute 2023
40%
more vulnerabilities in AI-generated code
Stanford University 2023
197
days — average time to detect a breach
IBM Cost of a Data Breach 2024
Three steps to ship secure
No accounts. No configuration. No cloud dependency.
Install
One command. Nothing to configure. Works with any Node.js project.
npx bastion-scan scanScan
12 checks run in seconds — secrets, headers, SSL, CORS, dependencies, code patterns.
Score: 78/100Fix
AI-generated prompts tailored to your exact stack. Paste into Claude or ChatGPT.
All checks passingWhat we check
12 automated checks covering the most common security gaps in web applications.
Configuration
Validates .gitignore patterns and .env file setup to prevent accidental secret exposure.
- .gitignore coverage
- .env.example validation
- Sensitive file detection
Suggested fix
Create a .env.example file listing every required environment variable with placeholder values.
Real results
We scanned 3 real projects. Every one improved after following Bastion's recommendations.
NotchWise
SaaS app — added security headers, fixed exposed .env, patched 3 dependency CVEs.
Lovable-Eject
AI-generated codebase — removed hardcoded keys, added rate limiting and CORS policy.
Bastion
Our own codebase — we eat our own cooking. Self-scan passes all 12 checks.
Simple, fair pricing
Start free. Upgrade when you need more.
Free
For hobby projects and learning
- 5 security checks
- 1 scan per day
- OWASP education
- Security score
- AI fix prompts
- CI/CD integration
- Compliance reports
Pro
For indie builders shipping real products
- All 12 checks
- Unlimited scans
- OWASP education
- Security score & badge
- AI fix prompts
- GitHub Action
- Compliance reports
Team
For small teams with compliance needs
- All 12 checks
- Unlimited scans
- OWASP education
- Security score & badge
- AI fix prompts
- GitHub Action
- Compliance reports & CVE alerts
Your code never leaves your machine
Inspect every line. The Bastion CLI is free, open source, and runs entirely on your machine. No telemetry. No uploads. No cloud dependency.