safercode
Your AI agent learns what to watch for in your kind of app, and has to flag every security decision to you before
it makes the change.
AI agents make security decisions all the time without saying so: a route with no auth check, a Supabase
service-role key in client code, a Stripe webhook that doesn't check the signature, a query built from user input, a
strcpy into a fixed buffer. safercode makes those decisions visible, while your agent (Claude Code, Codex, Copilot)
writes the code.
How it works
- Turn it on for a project, once. safercode works out what kind of application it is (web app or API,
database, payments, LLM app, integrations, CLI) and what it's built on (Next.js, Supabase, Stripe, OpenAI, Gin,
axum, libcurl, …). You can change it.
- Your agent gets the watch areas for that kind of app, such as authentication on routes, secrets, row-level
access, payment webhooks, prompt injection, destructive migrations, new dependencies and memory safety in C and
C++. Before a change touches one, it tells you the decision and why, and records it.
- A change that wasn't flagged doesn't land. safercode reads what each edit and each command would add before
it runs. If it touches a watch area your agent hasn't flagged to you, the change is refused, for Claude Code, Codex
and Copilot alike, until the agent tells you and records it. Anything that gets past (a write no hook saw) is
caught when the agent stops: Claude Code and Codex are sent back to explain it.
- Every decision is kept where it happened. In the sidebar you see each area, the file and line, what the agent
decided, what it did, and whether you were asked. Open it, read it, and mark it reviewed. On Windows the free
goatedcode desktop app lists them too: goatedcode.com/#desktop.
It works on Python, JavaScript, TypeScript, C and C++. safercode doesn't claim to find vulnerabilities. It makes sure
no security decision in your code goes by without you hearing about it.
Your code stays yours
Everything runs on your machine. safercode never uploads your code, and keeps nothing about what you ask your
agent. It only connects to activate your licence, and once a month to renew a monthly plan.
Part of goatedcode
safercode is one of the goatedcode tools, built on the same engine as strictercode, fastercode and simplercode.
Installing it also installs the goatedcode core. Free in VS Code while we launch. See
safercode.ai.
| |