
How San Antonio AWS Secures Its Web App with Aikido
How our San Antonio AWS User Group secures its open-source platform end-to-end with Aikido, from code and dependency scanning to the Zen in-app firewall, with no security team.
Series: AI Security (3 articles)
- 2How San Antonio AWS Secures Its Web App with Aikido This article
Community-run software has a quiet security problem. User groups, meetups, and open-source side projects ship real applications, registration forms, admin dashboards, member directories, file sharing, but they're built and operated by volunteers in their spare time. Security is usually the first thing cut, not because organizers don't care, but because the traditional AppSec toolchain assumes a budget, a team, and hours nobody has.
I've felt this firsthand. Our San Antonio AWS User Group platform sanantonioaws.com is a full production web app: a React frontend and an Express/Node.js API, backed by PostgreSQL, deployed on AWS, integrating Meetup OAuth, email, and S3 file uploads. It's the front door to our
community and that makes it worth attacking. Leaked member data or a defaced site wouldn't just be an incident; it would be a breach of the trust the community places in us.
So I set out to answer a question I think a lot of builders share: can you run credible, layered application security at community scale solo, unpaid, and without a security team? After putting it into practice on our own platform, I'm convinced the answer is yes, and that the approach is straightforward enough for any organizer to copy.
In this article, I'll walk through exactly how we do it, end to end:
- Modeling the threat so that tooling maps to real risk, not a checklist.
- Scanning the repository for our own code (SAST) and our dependencies (SCA), with reachability analysis to keep the noise down.
- Watching the domain and public surface DNS, TLS certificates, and outside-in (DAST) scanning of the live site.
- Running an in-app firewall (Zen) that blocks SQL injection, path traversal, SSRF, and more in real time, including the Express 5 gotcha we had to solve.
- The secure-by-default controls we own in the code itself.
Everything is grounded in our real, open-source configuration, so you can lift the same patterns into your own project. Whether you lead a user group or maintain a side project on AWS, my goal is that you finish this piece with a concrete, reproducible plan, not just a list of tools.

Start with a threat model, not a tool
Before picking any product, it helps to name what you're defending against. For a community web app running on AWS, the realistic threats are:
- Vulnerable dependencies, the majority of our code is other people's code.
- Injection at runtime: SQL injection, path traversal, SSRF, command injection against our API, and file/upload handling.
- Exposed surface: an expired TLS cert, a dropped security header, a misconfigured public endpoint.
- Leaked secrets, an accidental key or token committed to Git.
- Automated abuse bots are hammering login and public forms.
AWS gives us a strong foundation for the infrastructure layer, including IAM, security groups, TLS, and services like GuardDuty, Inspector, and WAF, which sit at the network and account level. What we needed was coverage that sits closer to the application: our source code, our npm dependencies, and the live request path inside our Node.js process. That application-layer coverage is where Aikido fits, and it's the gap most community projects leave open.
Why one platform instead of ten tools
Application security usually means stitching together separate tools: one for code scanning, one for dependency CVEs, one for secrets, one for infrastructure-as-code, one for runtime protection. Each has its own dashboard, its own noise, and its own false positives. No volunteer-run community has the time to babysit ten consoles.
Aikido consolidates these scanners into a single product and the part that actually makes it usable deduplicates and prioritizes findings so we spend our limited time on what matters.
And here's the part that matters most for a community: we run all of this at $0. We're a nonprofit, volunteer-run user group, so managing our budget is just as crucial as managing our risk every dollar we don't spend on tooling is a dollar that goes back to the community. We use Aikido's free Developer plan, which covers the code, dependency, secret, and surface scanning plus the Zen runtime firewall we describe here, at no cost. Credible application security didn't require a line item; it required setting it up well.
Here's the coverage, mapped to our app:
Layer | What Aikido does | In our platform |
|---|---|---|
Source code | Static analysis (SAST) for insecure patterns | Express API + React frontend |
Dependencies | Open-source CVE scanning (SCA) | npm packages in package.json |
Secrets | Detects leaked keys/tokens in the repo | Catches an accidental .env commit |
Infrastructure as Code | Scans IaC / CloudFormation / config | Our AWS deploy setup |
Containers | Scans base images for known CVEs | Build/runtime images |
Surface / DAST | Probes the live site + monitors the domain | sanantonioaws.com |
Runtime firewall | Zen blocks attacks in-app, in real time | Our Express server |

Scanning the repository code
A vulnerability usually shows up first in the code, so that's where we start. We connect our Git repository to Aikido, and from then on, every push and pull request is scanned automatically.
It looks at two things:
- Our own code (SAST). It flags insecure patterns, unsanitized input flowing into a query, a risky redirect, and a missing authorization check before they reach production.
- Our dependencies (SCA). It reads our lockfile and reports which packages have known CVEs, how severe they are, and the exact version that fixes each one.
The feature that keeps the signal-to-noise ratio sane is reachability analysis. Rather than alerting on every CVE in the tree, Aikido checks whether the vulnerable code path is actually reachable from our application. A critical CVE in code we never call is deprioritized; one we do call is pushed to the top.
What this looks like day to day
When a dependency needs updating, Aikido gives a concrete "update X to version Y" instruction. Recent, real examples from our platform:
-
nodemailerflagged for two CVEs → upgraded to a patched release.
-
zodflagged for a ReDoS in its base64 validator → upgraded to the fixed patch.
-
proxy-addr(the resolver behind Expressreq.ip) flagged for a trust-prefix issue → pinned to the patched version via an npmoverridesentry.
Each was a small, well-scoped change. Because the advisory named the exact fixing version, there was no guesswork and no "is this even exploitable?" rabbit hole.
> Practitioner tip: Pin security-sensitive dependencies to exact versions, and
> use your package manager
overrides to force a safe version of a transitive
> dependency you don't control directly. That's how we resolved the proxy-addr
> advisory without waiting on an upstream release of Express.
Watching the domain and public surface
Securing the code is only half the job. Aikido also watches the app from the outside, the way an attacker would.
- Domain & DNS monitoring. It keeps an eye on our domain (
sanantonioaws.com), its DNS records, and TLS/SSL certificate health. If a cert is close to expiring or a record changes unexpectedly, we hear about it before our members do.
- Surface / DAST scanning. It probes the live site from the public internet for exposed issues, missing security headers, misconfigurations, and common web weaknesses.
This outside-in view catches the class of problems that never appear in source code: an expired certificate, a subdomain that shouldn't be public, or a header that got dropped during a deploy.
We reinforce it with defense-in-depth on the app itself:
- Helmet sets a strict Content Security Policy and hardened HTTP headers.
- Nginx + HTTPS terminates TLS in front of the app (certificates managed with Certbot, renewable from our admin panel).
-
trust proxyIt is configured so that client IPs are read correctly behind the proxy that keeps rate limiting, geolocation, and audit logging accurate.

Zen: the in-app firewall that blocks attacks live
This is the layer I most want fellow builders to know about. A scanner tells you about a vulnerability. Zen, Aikido's open-source in-app firewall, actually stops the attack while the app is running no separate WAF appliance and no traffic rerouting.
Zen is an npm package (
@aikidosec/firewall ) that runs inside our Node.js process. Because it operates at the application layer, it sees the fully parsed request, the real SQL query, the real file path, and the real outbound URL your code is about to fetch, so it distinguishes legitimate input from an attack with very few false positives. Think of it as complementary to a network WAF like AWS WAF: the network layer filters traffic before it arrives, while Zen decides with full application context, right at the point the dangerous operation would execute.It defends against the attacks that matter for an app like ours:
- SQL injection input is trying to break out of a query.
- Path traversal
../../etc/passwd-style attempts to read files outside the intended directory (relevant, since we handle uploads and shared files).
- SSRF is coaxing the server into requests to internal or malicious hosts (we fetch RSS feeds and external job boards, so this is a live concern).
- Command injection and other common runtime exploits.
Zen also applies per-user/IP rate limiting and bot/abuse blocking at the edge of the app, on top of our own
express-rate-limit rules for login and form submissions.
How we run Zen (a real-world Express 5 gotcha)
Running Zen cleanly on Express 5 took a small workaround worth sharing, because you'll likely hit it too.
The documented way to load Zen is Node's
--require @aikidosec/firewall flag, which monkey-patches modules at startup. On Express 5, that patching conflicts with body-parser and throws getBody is not a function . Our fix is to load Zen from our own entry point before the server, instead of via --require :// server/entry.js — loads Zen safely, then the appif (!process.env.AIKIDO_BLOCK) process.env.AIKIDO_BLOCK = 'true'
// Load the real Aikido firewall (see build note below), then the servertry { require('@aikidosec/firewall/index.original.js')} catch (e) { if (process.env.AIKIDO_TOKEN) console.warn('Aikido failed to load:', e.message)}
require('./index.js')At build time, we neutralize the
--require path (replace the package's entry with a no-op and keep the real code as index.original.js ) so nothing double-loads:# buildspec.yml (excerpt)AIKIDO_MAIN="node_modules/@aikidosec/firewall/index.js"if [ -f "$AIKIDO_MAIN" ]; then cp "$AIKIDO_MAIN" "node_modules/@aikidosec/firewall/index.original.js" echo '// no-op: --require loads this harmlessly. Real Aikido loaded via entry.js' \> "$AIKIDO_MAIN" echo 'module.exports = {};' \>\> "$AIKIDO_MAIN"fiWe surface Zen's status directly in our admin panel firewall / monitoring / disabled, so anyone running the platform can confirm at a glance that protection is on.

Secure-by-default: the controls we own
Aikido is the backbone, but it works alongside the secure defaults we build into the application. These are the controls no external tool should have to save you from:
- Input validation with Zod on every public endpoint.
- Password hashing with PBKDF2 at 600,000 iterations.
- Signed, timing-safe tokens for admin authentication.
- Bot protection on public forms (honeypot fields + submit-timing checks).
- SSRF guards on every outbound fetch (HTTPS-only, with private-IP and cloud metadata-endpoint blocking).
Aikido catches what we miss; these defaults make sure there's less to catch.

A practitioner's checklist for your own community app
If you run a community or side project on AWS and want real security without a security team, this is the short version of what has worked for us:
- Model the threat first. Name what you're defending against before choosing tools; it keeps you honest about coverage.
- Connect your repo. Code + dependency scanning with reachability analysis is the highest-leverage, most-automatic step.
- Fix by advice, not by guesswork. Take the exact patch version the scanner gives you, and pin transitive deps with
overrides.
- Monitor from the outside. Domain, DNS, and certificate monitoring catch what your code never will.
- Run an in-app firewall. Zen blocks live attacks with minimal config and is open source.
- Own your defaults. Validation, hashing, rate limiting, and SSRF guards make every other layer's job easier.
The platform we live at sanantonioaws.com , do it on Aikido's free Developer plan at $0. If you're a community lead wondering whether "real" AppSec is achievable at community scale on a community budget, it is, and it's mostly a matter of layering a few good habits on top of one good platform.
Series: AI Security (3 articles)
- 2How San Antonio AWS Secures Its Web App with Aikido This article
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article