Secure

Run the security checks on a project: the holes most often left in a small web app. Your coding agent runs them on your computer, fixes what is safe to fix, and asks you about the rest.

Your code stays on your computer

Three steps

  1. Connect your coding agent

    One line to copy and paste, once per computer. It brings the checker with it.

  2. Open your project and run the check

    In Claude Code, type the command below. In Cursor, Codex, Copilot or any other agent, run node ~/.breadledger/tools/scan.mjs . --secure --share from the project’s folder. Your agent confirms each finding by reading the code, and fixes the safe ones.

    /breadsecure
  3. Read the results here

    Each check gets a private results page in plain words: what was fixed for you, and what needs your yes.

    Your checks will be listed here.

What Secure looks for

  • Database queries built from what a visitor typed, which lets a visitor run their own query.
  • Pages that send a visitor’s input back unescaped, which lets someone run script in another person’s browser.
  • Keys, tokens and passwords left in the code, and secret values made in a way that can be guessed.
  • Passwords and secrets compared the unsafe way, and sign-in or privacy gaps around them.
  • Answers any website is allowed to read, and other settings left too open.
  • Keys saved where your coding agent keeps things: its settings, the commands you told it to always allow, and its past chats. Only the kind of key and the file name are shown, never the key.
  • What your agent is running: every hook, connected server, plugin and rules file, with hidden characters, risky commands and “ignore your instructions” text pointed out, and what changed since your last check.
  • Packages that don’t exist: a newly added package the public lists have never heard of, is under 30 days old, or almost nobody uses. Agents sometimes invent package names, and others register them.
  • Production left lying around: a database backup kept inside the project, or a settings file with live addresses and tokens saved in git.
  • Your agent’s privacy settings, in plain words: what can be read on your computer, what runs in the background, and a link to change the rest. Nothing is guessed.
These checks read your code; they do not attack your live site. A clean result means these known holes were not found, not that nothing else is wrong.