Skip to content
yof logo
MCP server
RegistryRemote

yof MCP Server

Checks AI-written code for leaked keys and made-up packages, on your machine. Never uploads code.

yof scores 63 (Good), licensed Apache-2.0 and written in TypeScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Databases, Version control. GitHub shows 0 stars. Package registries report about 99 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by yof-devApache-2.0TypeScript0 stars
Trust score
63Good
Trust score 63 of 100, Good

Good trust

63 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: apache-2.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 63 comes from

22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "yof-dev-yof": {      "command": "npx",      "args": [        "-y",        "@yof/cli@0.3.2"      ],      "env": {        "YOF_API_KEY": "YOUR_YOF_API_KEY"      }    }  }}

Environment variables

NameRequiredNotes
YOF_API_KEYSecretOptionalOptional. The key the yof dashboard makes for this connection (Connect your AI builder). Without it, only the local tools run.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

M8ven Score mcptry

Catch leaked keys and made-up packages before they ship.

yof (yof by sōtem) is yof on your laptop: a small command-line check for apps built with AI assistants (and apps built any other way). It finds secret keys sitting in your code and dependencies that don't exist or imitate popular ones, before they reach a commit, a pull request or production.

It is rules only: exact patterns, fast, and private. It runs on your machine, needs no account, and never sends your code anywhere.

Try it in 30 seconds

npx @yof/cli check

That checks the current folder. Node 20 or newer. Nothing to configure.

yof checked 2 files (profile: balanced)

Keys
  src/config.ts:1  Stripe live secret key  sk_live_FwIw••••••••  (fix now)
  A key that was ever committed or shipped counts as leaked: rotate it in the provider's dashboard,
  then keep it on the server only (an environment variable, not the code).

Packages
  package.json  reqeusts-helper (npm)  (fix now)
    This package doesn't exist on npm. AI assistants sometimes invent package names, and attackers register those names with malware. Check the spelling or remove it.
  package.json  expres (npm)  (fix this week)
    This name is one or two letters away from the popular package express. Make sure you meant this one and not express.

Found 3 problems: 2 to fix now, 1 to fix this week.
Want this on every pull request? https://yof.io

yof never prints a key in full. You see the prefix and four characters, enough to know which key it is.

Install it if you use it often:

npm install --save-dev @yof/cli
npx @yof/cli check

Check every commit (pre-commit hook)

npx @yof/cli hook install

This adds .git/hooks/pre-commit, which runs yof check --staged before each commit. In staged mode yof reads exactly what is about to be committed (the staged content, not your working copy), and checks only the dependencies the commit adds. If something must be fixed now, the commit stops and yof says why.

  • Remove it with npx @yof/cli hook uninstall.
  • Skip it once with git commit --no-verify.
  • If you already have a pre-commit hook, yof leaves it alone and tells you the one line to add to it.

Check every push (GitHub Action)

# .github/workflows/yof.yml
name: yof
on: [push, pull_request]
permissions:
  contents: read
jobs:
  yof:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: yof-dev/yof@v0.4.2
        with:
          path: .          # optional, default .
          offline: false   # optional, true = keys only, no registry lookups

The job fails when yof finds something to fix now, so it shows up as a red check on the commit or pull request.

Settings: .yof.yml

Optional. Put it in the root of your repository. It is the same file yof Guard reads on GitHub, so one file covers both.

profile: balanced    # relaxed | balanced | strict

ignore:
  - fixtures/        # a folder
  - docs/examples.md # a file
  - "**/*.snap"      # a glob: * stays inside one folder, ** matches any depth
ProfileShowsFails (exit 1) on
relaxedfix nowfix now
balanced (default)fix now, fix this weekfix now
stricteverything, including public keys that are finefix now, fix this week

--profile strict on the command line overrides the file. yof also skips node_modules, .git, dist, build, .next and similar folders, lock files, binary files, files over 1 MB, and what your root .gitignore lists (read simply: plain names, folders and globs; ! lines are not applied). A file git tracks is scanned whatever .gitignore says, because a committed file is in the repository for everyone who clones it.

On a pull request in CI (GitHub Actions), .yof.yml and .yof/accepted.json are read from the base branch, not from the pull request, so a pull request cannot ignore its own folder, relax the profile or accept its own finding. A change to those files counts once it is merged. The yof-dev/yof Action fetches the base branch for this; in your own workflow run git fetch --no-tags --depth=1 origin "+refs/heads/$GITHUB_BASE_REF:refs/remotes/origin/$GITHUB_BASE_REF" first. If the base branch cannot be read, no ignore list and no accepted risks are used, and the output says so.

Accepted risks: .yof/accepted.json

Some findings are fine on purpose, like a revoked test key in a fixture. Accept one from your editor (VS Code: the quick fix "yof: Accept this risk…") with a one-sentence reason, and commit the file it writes:

{ "version": 1, "accepted": [ { "rule": "secret.stripe_test", "file": "tests/pay.ts", "fingerprint": "…", "reason": "A test key in a fixture", "acceptedBy": "Ada", "acceptedAt": "2026-11-07T10:00:00.000Z" } ] }

yof check still prints an accepted finding, under "Accepted risks", with the reason, who and when; it no longer counts as open or fails the check. The fingerprint covers the rule, the file and the finding's line, so if that line changes the finding is open again. Remove the entry to reopen it. yof's signed reports list these entries in their "Accepted risks and why" appendix.

What it checks

Keys (exact shapes only, so a random hash never raises an alarm):

Fix nowFix this weekFine, public by design (shown in strict)
Stripe live secret and restricted keys, Stripe webhook secretsStripe test secret keysStripe publishable keys
OpenAI, Anthropic, Groq, Hugging Face, ReplicateAn AWS access key ID on its ownFirebase web keys
AWS access key with its secret next to itBrowser-visible settings named like a secret (VITE_, NEXT_PUBLIC_, REACT_APP_, EXPO_PUBLIC_ … SECRET / PASSWORD / PRIVATE)Supabase anon keys
Supabase service-role keys (the JWT is decoded, not guessed)
GitHub tokens, Slack tokens and webhook URLs
Resend, SendGrid, Mailgun, Twilio
Private keys (BEGIN … PRIVATE KEY)

Placeholders such as sk_live_xxxxxxxx or sk_live_your_key_here are skipped, so docs and examples stay quiet.

Packages in package.json, requirements*.txt and pyproject.toml:

  • Made up: the name does not exist on npm or PyPI. AI assistants sometimes invent package names, and attackers register those names with malware. (fix now)
  • Lookalike: one or two letters away from a popular package (expres, reqeusts) and not well established itself. (fix this week)
  • Brand new: first published in the last 14 days. (fix this week)
  • Known advisory: an exact pinned version with a published advisory in the OSV database. High and critical are fix now, the rest fix this week.

If a registry does not answer, yof says so and claims nothing about that package.

Code and config patterns (read offline, never run; --no-patterns leaves them out):

FamilyWhat yof looks for
InjectionRequest input that reaches a SQL, NoSQL, shell, template, eval, HTML, redirect or server-fetch call in the same function (JavaScript, TypeScript; Python in the simple forms)
CSRF, the code sideA cookie session with state-changing routes and no CSRF check or SameSite setting in the files read; sign-in cookies set without httpOnly or sameSite
Unsafe loadersnode-serialize, unsafe YAML, pickle, marshal, PHP unserialize, Ruby Marshal.load fed with request input
Weak cryptographyMD5, SHA-1 and unsalted fast hashes for passwords and tokens, Math.random for secrets, fixed keys and IVs, ECB mode, TLS checks switched off, JWTs accepted without a signature
Passwords in codeA literal given to a name that says password or secret, default logins, addresses with a password inside
UploadsA handler that keeps the client's file name or content type, an uploads folder served as pages
Containers and infrastructureDockerfile (secrets in ENV or ARG, curl | sh, ADD from a URL, an SSH server, end-of-life base images from a dated table), docker-compose, Kubernetes manifests, Terraform for AWS, Google Cloud and Azure

A pattern is not a proven problem. Each one is printed with its verdict: confirmed (the pattern alone is the defect and the file states it, such as ECB mode or a privileged container), needs validation (yof found the pattern and did not run the code) or hardening note (shown with --profile strict). Only a confirmed "fix now" pattern fails a check; with --profile strict every pattern that is not a note does. Request input is followed inside one function only. The JavaScript and TypeScript rules need the typescript package installed next to yof; without it they do not run and the output says so.

What it does not do: it does not read git history, scan your running website, check your database rules, follow a value from one function or file to another, scan built container images or their operating-system packages, or look at a running cluster or cloud account. The first three live in the yof app and Guard (below).

Attack your own app: yof attack

yof attack tests YOUR OWN running app the way an attacker would, with two test accounts you create for it (A and B, plus an admin account if you have one). It reports only what it saw happen twice, and turns each finding into a regression test.

npx @yof/cli attack http://localhost:3000
npx @yof/cli attack --mode light

What it tries:

GroupWhat it does
authOpens each signed-in route with no sign-in and with a broken token. A finding only when the answer holds the signed-in account's own data (an id, an email or a name another account does not get); a public answer is listed as "needs validation", not as a finding
tenantAccount A creates a test record, account B reads it by id, finds it in a list and changes it
rbacOpens each admin route as a normal member; with a viewer account, also as the read-only member, who then tries to create, change and delete a test record
aiYour own assistant route: asks for its hidden instructions, types a command into a message, hides one in a record it reads (an HTML comment, a link title, a "system" field), asks it for account B's record, to rename account B's record, and for admin data; checks whether account B's record steers account A's general answers (RAG poisoning); asks it to answer with live HTML or a picture link, to drop its rules for one harmless word, for its internal addresses and tool list, and to send an email to a .invalid address; and, only with "limits": true, sends 10 tiny messages two at a time and asks for one very long story
surfaceOpen redirects, security headers, the sign-in cookie flags, and (when you turn it on) twelve wrong passwords in a row

Safe by design, and enforced in the code:

  • Only a host you proved is yours. localhost; a preview that GitHub reports as a successful deployment of this repository for the commit under test, at an address that is also this repository's own (a Vercel, Netlify or Cloudflare Pages preview named after the repository, or after the Vercel project, and reported by that platform's own GitHub app, or a host on your app's own domain once the app is proven for your account; on shared hosting such as github.io only your own name counts as your domain; an environment whose name starts with prod, production or live, or your app's own host, is production); or your live host, once yof confirms it is proven for your account.
  • Proven for your account, not by a copied token. Before it tests a live host, yof attack asks yof whether that host is one of your own proven apps. It asks with YOF_HOOK_URL (the upload address from your app's Attack tests page) or YOF_API_KEY (from Connect your AI builder), and sends only the host name. The proof token on a site is public, so finding it there says nothing about who is running the test: the CLI no longer reads it, and YOF_VERIFY_TOKEN is no longer used. No account, a "no", or yof not reachable: nothing is tested, and the message says how to prove the app. A run on localhost and a platform preview reported by the platform's own GitHub app need no account.
  • Written consent per app, word for word in the config, naming the app.
  • Never production unless the config turns it on for this app. Then a light run may go any time, and a full run only inside the window you set. A light run is read-only and the HTTP client enforces it: only GET and HEAD requests are sent. It creates nothing, sends no message to your assistant and signs no account in (a sign-in is a POST with a real password). An account that signs in with a password is left out of a light run, and the run says so; an account given as a header (a token or a session cookie) is used.
  • No destructive requests. GET and HEAD, plus POST only to the create, sign-in and assistant routes you name. PATCH, PUT and DELETE only touch records the run created itself, and those are deleted at the end, always.
  • Hard budgets: 300 requests and 110 seconds by default (at most 2,000 and 15 minutes), a steady pace, a 10 second timeout. When a budget runs out the run stops and says so, after deleting its test records.
  • Stop it any time. Ctrl+C (SIGINT) or SIGTERM, as an editor or CI sends on cancel: nothing new is sent, the test records the run created are deleted (within 10 seconds), it says what it deleted and anything it could not, and exits 130 or 143. A second Ctrl+C quits at once.
  • Mild, fixed assistant messages. The assistant probes are the same fixed texts every run (the OWASP Top 10 for LLM Applications 2025 families). None asks for harmful content: the jailbreak asks only for a harmless test word, picture links point at yof-canary.invalid and the email probe at an example.invalid address, which never resolve. Rules decide every finding, never a model. For internal details only the kind is kept (a private address, a connection string, a server path, a tool list), never the text.
  • Usage limits are opt-in. "limits": true on an ai entry adds a burst of 10 tiny messages and one request for a very long story, because it costs you a little model use. Without it, nothing of the kind is sent.
  • Evidence is the shape of an answer, never its content. A finding says what came back in yof's own words (a JSON object with 3 fields (id, email, plan), 71 characters). No part of the answer is kept, so no name, phone number or record of a real user reaches a report, a log or the yof app.
  • Your test accounts stay in your CI secrets. The config names environment variables, never a token or password, and nothing is stored by yof.
  • Only YOF_ATTACK_ variables. Every environment variable an account names must start with YOF_ATTACK_ (YOF_ATTACK_A, YOF_ATTACK_A_EMAIL, ...). The config is a file in your repository, so a pull request can change it; with this rule a changed config cannot have GITHUB_TOKEN or another CI secret sent to the app.

The config lives at .yof/attack.json:

{
  "app": "shop.example.com",
  "consent": "I own shop.example.com and allow yof attack to test it and its preview builds with my own test accounts.",
  "accounts": {
    "a": { "header": "Authorization", "env": "YOF_ATTACK_A" },
    "b": { "header": "Authorization", "env": "YOF_ATTACK_B" },
    "admin": { "header": "Authorization", "env": "YOF_ATTACK_ADMIN" }
  },
  "routes": ["/api/me", "/api/notes"],
  "admin": ["/api/admin/users"],
  "objects": [{
    "create": { "path": "/api/notes", "body": "{\"title\":\"{{marker}}\"}" },
    "idPath": "id",
    "read": "/api/notes/{id}",
    "list": "/api/notes",
    "update": { "method": "PATCH", "path": "/api/notes/{id}", "body": "{\"title\":\"{{marker}}\"}" },
    "delete": "/api/notes/{id}"
  }],
  "ai": [{
    "path": "/api/chat", "body": "{\"message\":\"{{message}}\"}", "replyPath": "reply",
    "ingest": { "create": { "path": "/api/notes", "body": "{\"title\":\"{{document}}\"}" }, "idPath": "id", "delete": "/api/notes/{id}" },
    "limits": false
  }],
  "surface": { "redirectPaths": ["/login"], "rateLimit": false },
  "production": { "enabled": false, "window": "02:00-04:00" },
  "budget": { "requests": 300, "seconds": 110, "perSecond": 8 }
}

An account can also sign in with an email and password from your CI secrets: { "login": { "path": "/api/login", "body": "{\"email\":\"{{email}}\",\"password\":\"{{password}}\"}", "tokenPath": "token" }, "emailEnv": "YOF_ATTACK_A_EMAIL", "passwordEnv": "YOF_ATTACK_A_PASSWORD" }. Without tokenPath the session cookie is used.

More about accounts:

  • Accounts are optional. With no accounts block, yof attack runs the public tests only (the surface group) and says which groups it skipped and why. Sign-in tests need account A; admin-route tests need A (and compare with admin when you give one); the tenant-barrier test needs A and B in separate tenants.
  • Several headers for one account. When your API needs a session cookie and a workspace header together, give a headers list instead of a single header/env: { "headers": [{ "header": "Cookie", "env": "YOF_ATTACK_A" }, { "header": "X-Workspace-Id", "env": "YOF_ATTACK_A_WS" }] }. A sign-in account can add static headers the same way. Every header names an environment variable; a value in the file, or a key such as password, is refused.
  • Sessions that expire. A sign-in account signs in fresh on each run, so a short session (a 15-minute cookie, for example) needs no stored token. If the test account uses an authenticator app, add "totpEnv": "YOF_ATTACK_A_TOTP" inside login (the base32 secret, in your CI secrets) and put {{totp}} in the sign-in body.
  • A read-only member. The optional viewer account is a member who may only read, in the same workspace as account A. With it, the rbac group also opens each admin route as the viewer and, in a full run, has the viewer try to create a test record and to change and delete a test record of account A. Anything that works is reported as attack.viewer_escalation, confirmed twice, with a regression test. Only the run's own test records are touched, and they are deleted at the end.

Scope and rules of engagement

npx @yof/cli attack --scope-doc > yof-attack-scope.md
npx @yof/cli attack https://shop.example.com --mode light --scope-doc

Before a run, --scope-doc prints a Markdown document made from your config and its consent sentence: the hosts in scope, the test accounts by role (the names of their variables, never a value), the mode and the production window, the budget, which test groups will run and which are skipped and why, what is never done, and a signature block for the owner or a client. It reads the config file only: nothing is sent to any host. It describes automated attack testing, evidence for your security reviews. It does not replace a manual test where a standard requires one.

The rules a run works under, replaying and verifying a finding, stopping

npx @yof/cli attack --roe                                  # the record a run works under (Markdown). Sends nothing.
npx @yof/cli attack replay finding.json https://preview.example.com
npx @yof/cli attack verify finding.json https://preview.example.com
npx @yof/cli attack stop                                   # stop a run that is under way in this folder
  • --roe prints the rules-of-engagement record made from your config: the hosts, the kinds of test allowed on each, the time windows, the budgets, the paths that are never requested and what is never done. It reads the config file only.
  • replay runs a finding's recorded steps again (the replay part of a finding from --json; --finding 2 picks one from a whole report). Exit code 1 while the attack still works, 0 once it is refused.
  • verify tries to refute a finding. It signs in again, plants a new marker in a new test record and checks six plain rules: the marker only came back from the request itself, a cache gave out the owner's answer, the two accounts share a tenant, the object is public on purpose, the app answers the same for a record that does not exist, it did not show again. Exit code 1 when the finding stands, 0 when it is refuted, 2 when it cannot be decided.
  • stop asks a yof attack run under way in the same folder to stop: nothing new is sent and its test records are deleted.

Replay and verify go through the same proof of ownership as any run. They measure your app first (20 reads), check it every 25 requests, slow down and then stop when it answers 429 or 503, and stop on server errors, slow answers or a bot wall (reported as "blocked, not tested"). A run you start yourself is your own run: yof did not see it.

Regression tests

With --write-tests, every confirmed finding becomes a test in your own test framework (Vitest, Jest, Playwright or pytest, detected from your repository; a node --test file otherwise). It replays the recorded attack and expects the opposite: the test fails while the attack still works and passes once it is fixed. No AI writes it. It skips itself unless YOF_ATTACK_TARGET is set, so your normal test run is unaffected.

On every pull request

# .github/workflows/yof-attack.yml
name: yof attack
on: [pull_request]
permissions:
  contents: read
  deployments: read
  pull-requests: write
  issues: write
jobs:
  attack:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - uses: yof-dev/yof/attack@v0.4.2
        env:
          YOF_ATTACK_A: ${{ secrets.YOF_ATTACK_A }}
          YOF_ATTACK_B: ${{ secrets.YOF_ATTACK_B }}
          YOF_ATTACK_ADMIN: ${{ secrets.YOF_ATTACK_ADMIN }}

It waits for the preview deployment of the pull request, then attacks only what the change can reach: the routes of the files it changes (Next.js app and pages routes, Hono and Express route files, and the routes that import a changed helper). The comment says "partial run: N attack groups". When shared code changes (middleware, auth, permissions, database access, dependencies) or the mapping is unsure, it runs everything and says why. Pull requests from forks are skipped.

The comment lists what was found. Comment /patch apply on the pull request and the yof GitHub App commits the regression tests (and the security-header fix, when one applies) to the pull request's own branch. It works only for people with write access, never on a fork, never on the default branch, and never force-pushes.

Set YOF_HOOK_URL (the deploy hook address from your yof app) and yof attack --upload sends the masked findings to your yof app, where they show with your other findings.

Options

yof attack [url]          The address to test (or YOF_ATTACK_TARGET)
--config <file>           The attack config (default .yof/attack.json)
--mode <full|light>       light = read-only: GET and HEAD only, no sign-in
--base <branch>           Pull request run: attack only what the change can reach
--write-tests             Write a regression test for every confirmed finding
--comment <file>          Write the pull-request comment to this file
--upload                  Send the masked results to your yof app (YOF_HOOK_URL)
--json                    Machine-readable output

Inside your AI builder: yof mcp

yof mcp runs yof as a local MCP server (stdio), so the AI that writes your code can check it before it says "done". It works with any MCP client that starts a local command. The easiest way to connect is "Connect your AI builder" in the yof dashboard, which writes the config for you. By hand:

claude mcp add yof -- npx -y @yof/cli mcp          # Claude Code
codex mcp add yof -- npx -y @yof/cli mcp           # Codex CLI

Cursor, VS Code, Windsurf and Claude Desktop take the same command in their MCP settings: npx -y @yof/cli mcp. Always use the scoped name @yof/cli: the unscoped npm name yof belongs to someone else.

The tools:

ToolWhat it doesWhere it runs
yof_checkScan the project folder (or a folder inside it)Your machine
yof_check_diffScan only the lines that changed (a diff you pass, or the working tree against the last commit, plus new files)Your machine
yof_explainWhat a rule means, why it matters, the safe fixYour machine
yof_fix_promptExact fix steps for one findingYour machine
yof_verifyRe-scan one file and say fixed or notYour machine
yof_findingsOpen findings from your yof.io accountyof.io, needs YOF_API_KEY
yof_patch_statusPatch's open pull requests and their CI stateyof.io, needs YOF_API_KEY
yof_lessonsNotes from merged Patch fixesyof.io, needs YOF_API_KEY

Every answer starts with a line that says it is untrusted data from the scanned project, so text inside your files is never read as instructions. Secret values always come back as a short prefix plus REDACTED. Limits: a diff is at most 1 MB and 300 files, a scan stops after 90 seconds, and paths must stay inside the project folder.

YOF_API_KEY is made by the yof dashboard for one connection and can be revoked there at any time. With it, the server sends one ping when it starts (so the dashboard can show that the connection works) and, for the three account tools, the tool name and its arguments (ids and rule ids). Never code or file contents.

Privacy

yof check runs on your machine. It reads files, matches patterns and prints the result. Your code, file names and keys never leave your computer. (yof attack sends requests only to the app you proved is yours, and to GitHub's API to read this repository's deployments.)

The only network calls of yof check are package-registry lookups: package names (and exact pinned versions) go to registry.npmjs.org, api.npmjs.org, pypi.org and api.osv.dev, and to no other host. Skip them with --offline, and yof makes no network calls at all. There is no telemetry.

Options

yof check [path]       Check a folder (default: the current one)
yof check --staged     Check only the files staged for the next commit
yof hook install       Run "yof check --staged" before every commit
yof hook uninstall     Remove that hook
yof diff               Check only what changed since the last commit (plus new files)
yof mcp [path]         Run yof as a local MCP server for AI builders
yof import <file> [path]  Read a findings.json and check each record's file and line here

--offline              Skip the package-registry lookups (keys only)
--json                 Machine-readable output (masked values only)
--format <name>        text | json | findings-json
--profile <name>       relaxed | balanced | strict
-v, --version          Print the version
-h, --help             Print help

Exit codes: 0 nothing to fix, 1 something to fix (per the profile), 2 usage or setup error.

With --json, every finding also carries why (what can happen, in plain words) and fixPrompt (what to change, ready to paste into the AI assistant that wrote the code, with the masked value only). The yof editor plugins show these as they are.

findings.json (Cloudflare's security-audit format)

yof check --format findings-json writes the findings in the findings.json format of Cloudflare's security-audit skill (MIT licensed, see NOTICE), so the tools that read it can read yof too. Every record has a verdict: confirmed when the exact evidence is in the folder (a key in a provider's format, a package the registry does not have, an installed version an advisory names) and needs_validation when it is likely but not shown (a name one or two letters from a popular package, a package only days old). Keys that are public by design are hardening notes, not findings, and are left out. Nothing yof check finds is rated critical: it never runs your code or reaches a live app, so "high" is the most.

yof import findings.json [path] reads a findings.json strictly (a record with an unknown field, a missing field, a wrong value or a severity above its demonstrated impact is named and left out, never repaired) and checks each record against the folder, read only: does the file exist inside the folder, and does the line exist. Nothing is run and nothing is sent. Exit 2 when the file does not match the schema, 1 when a record needs a look, 0 when only rejected records are left.

You can also use it as a library: import { scanText, checkPackages, runCheck } from "@yof/cli".

Want more?

yof is the security watcher for AI-built apps. This CLI is its fast, private, rules-based part. The rest lives at yof.io:

  • The yof app at yof.io watches your live app, explains every finding in plain words, says what the fix is, and keeps track of your app over time.
  • Guard reviews every pull request on GitHub and leaves one clear comment: github.com/apps/yof-by-sotem.
  • Patch, yof's AI agent, writes the fixes for you as a draft pull request.

Contributing

Issues and pull requests are welcome, especially new key rules with a documented shape. See CONTRIBUTING.md. Security problems: SECURITY.md.

License

Apache-2.0. See LICENSE and NOTICE. yof is published by Mondaily Ltd.

Frequently asked questions

What is yof MCP Server?

Checks AI-written code for leaked keys and made-up packages, on your machine. Never uploads code.

How do I install yof MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. yof MCP Server runs locally from the npm package @yof/cli with the command npx -y @yof/cli@0.3.2.

Is yof MCP Server free and open source?

Yes. yof MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does yof MCP Server support remote (HTTP) connections?

Yes. yof MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

How is yof MCP Server's trust score calculated?

yof MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server