SprintMeUp

Guardian

Vulnerability management platform

CSCFContinuous Scanning, Continuous Fixing

Built with AI

  1. The scanning engineChecks every application on a timetable, gathers all the results in one place, weighs which flaws can really be reached and writes the report. Rules written for Guardian, the same every time.
  2. The AI agentTakes each flaw I send to be fixed, changes the application's code, runs its tests and proposes the change. The next scan checks the flaw is gone.

Guardian checks all my applications for security flaws, on a timetable: the code they borrow from others, the code written for them, passwords left in the code by mistake, and their public web addresses. It works out which flaws can really be reached, lists them in one report ordered by risk, and turns each one into a fix when I ask, then checks it is gone.

Watches
4 applications
Scan
Every night by default

Why Guardian, in under two minutes

Why known flaws matter, then what Guardian does: one report, a scan every night, a fix prepared in test, and production only when you promote it. The console shows test data.

What it offers

  • Every application checked, on a timetable

    Every night, by default, the code of each application is downloaded and checked. The applications do not have to install anything.

  • Three kinds of check

    The code borrowed from other developers, the application's own code, and the whole history of changes, searched for passwords left by mistake. The borrowed code is checked by Guardian's own scanning code, written for it.

  • Web addresses checked from outside

    Each public web address is read like any visitor would: encryption, security settings, cookies, files left open by mistake. Done by Guardian's own code, plus one open-source tool for encryption. It never signs in and never fills in a form.

  • One report, the worst first

    One line per application with its open flaws: critical, high, moderate.

  • Only what really matters

    Each finding says whether it is in the phone app or the web app. Flaws already checked and found harmless are not counted again.

  • Fix with one click

    Nothing changes on its own. Press Fix and a task is written for that application, ready for whoever fixes it.

  • The same settings every time

    Each application keeps its own list of what to read and where its code runs, so every check is done the same way.

Functional architecture

How it works, step by step, without technology.

  1. OwnerAdd an appand what to check
  2. ScheduledCheckborrowed code, own code, passwords
  3. ScheduledComparewith the public list of known flaws
  4. SystemReportper app, by risk
  5. OwnerAsk for a fixa task for that app
  6. ScheduledVerifythe next check closes it

Technologies

  • Cloudflare Workers and D1the console and its database
  • Cloudflare Accesswho may open it
  • OSV.dev, Semgrep, gitleaksthe checks
  • GitHub Actions and Issuesthe nightly scan and the Fix tasks

Technical architecture

Cloudflare · EuropeGitHubOther servicesOwnerweb browserSign-in checkCloudflare AccessWeb consoleCloudflare WorkerThe databaseCloudflare D1Fix requestsGitHub IssuesThe apps' codeone archive per appThe checkevery nightKnown flaws listOSV.devopens the consoleonly the owner gets insaves, readsopens a fix requestreads the codechecks flawssaves what it found

All capabilities

Security flaws come in a few families. Each one is found in a different place, with a different tool, and is fixed in a different way. This is the ground Guardian works on.

  • Borrowed code with a known flaw

    Most of an application is code written by others: libraries, and on servers the operating system and its add-ons. When a flaw is found in one, it gets a public number and a fix. The cure is to update.

  • Mistakes in our own code

    The way the application is written lets a visitor's input be treated as a command, or forgets a check. For example a search box that lets someone read the whole database.

  • Passwords left in the code

    Keys and passwords written where others can read them, often in an old change nobody remembers. Deleting the line is not enough: the key has to be replaced.

  • Settings left open

    A door left open in the settings: a public storage folder, permissions wider than needed, a default password, a port nobody closed.

  • The entrance from the internet

    What anyone can reach from outside: how well the connection is encrypted, the site's certificate, the security instructions it gives the browser, files left in public by mistake.

  • Poisoned packages

    Code published on purpose to do harm, with a name close to a real one, waiting for someone to install it by mistake.

  • Flaws in the design

    Each piece works, but together they can be abused: no limit on password attempts, a payment step that can be skipped. Only a person testing the application finds these.

What Guardian checks

The same families, seen from Guardian: five are checked on a timetable, one is not yet and the tile says why, and a penetration test is coming soon.

  • Borrowed code: checked

    Every library each application uses, in the phone app and in the web app, compared with the public list of known flaws. For each flaw Guardian checks whether it can really be reached in our setup, with rules that never lower the risk of a flaw already used by attackers.

  • Our own code: checked

    Read line by line against known bad patterns, with an open-source checker.

  • Passwords left in the code: checked

    The whole history of every change is searched. The password itself is never copied, only where it is.

  • The entrance from the internet: checked

    Each public web address, read from outside like a visitor: encryption, certificate, security instructions, cookies, files left open.

  • Poisoned packages: checked

    Packages published to do harm are on the same public lists, so the same check finds them.

  • Settings and servers: not checked

    My applications run on services that look after their own servers (Cloudflare, Vercel, Supabase). The settings I choose on those services are not checked yet.

  • Penetration test: coming soon

    A person attacks the running applications for real, with permission and test accounts, to find what no scanner can: flaws in the design, and mistakes that only show while the application runs.

Read the guide (PDF)

The guide explains, in plain words, how security flaws are found, named and scored around the world, and then what Guardian does with them: 27 pages, with the sources.

How it works: CSCF

Continuous scanning, continuous fixing: the scanner, the reports, the check of what can really be reached, the two lists and the fix, drawn object by object.

A page of its ownGuardian: how it worksWho does what, to which object, on every scan.

Want to know more?

Write to me about Guardian: how it was built, or how something like it could work for you.