yof
What it does
Checks AI-written code for leaked keys and made-up packages, on your machine. Never uploads code.
- Connects 电脑或云端
- Account or key Cloud: Needs Authorization · Local: Needs YOF_API_KEY
- Category 开发者工具
安装
选择你使用的 AI 应用,然后复制设置。
通过 5/5 项检查 · 你的提问会经过开发者的服务器(mcp.yof.io) · ✓ 命令已检查 2026年11月13日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude · 约 5 分钟
需要 yof 的密钥(在开发者网站创建) · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加
打开 Claude 的 Connectors 页面
CustomizeConnectors
点击“Add” → “Custom” → “Web”,填写这 2 项
把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue
Name · 名称yofRemote MCP server URL · 地址https://mcp.yof.io/mcp在 Request headers 下添加这个名称和值
Header 名称Authorization值Bearer <在这里粘贴你的密钥>只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 Claude 检测到的登录设置页点击 Continue · Authentication 按作者说明选择(Sign in now、Sign in when needed 或 No sign in),然后点击 Add
在聊天中开启
+Connectorsyof
试一试
用 yof 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 yof,或回答中出现 yof 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 yof
yof 连接时需要你自己的密钥,但 OpenAI 帮助页面只说明了 OAuth 登录,没有我们能核实的填密钥方式
你可以改用这些方式
A · 使用能连接 yof 的应用
- 需要 yof 的密钥(在开发者网站创建) · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加
- 需要 yof 的密钥(在开发者网站创建)
- 需要 yof 的密钥(在开发者网站创建)
- 需要 yof 的密钥(在开发者网站创建)
B · 开发者工具 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
可连接 Claude Code · 约 5 分钟
需要 yof 的密钥(在开发者网站创建)
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --transport http --scope user yof https://mcp.yof.io/mcp --header 'Authorization: Bearer your-value'按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 Claude Code 中输入 /mcp
应能看到 yof 在列表中并显示已连接
试一试
用 yof 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 yof,或回答中出现 yof 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor · 约 5 分钟
需要 yof 的密钥(在开发者网站创建)
填写你的密钥
在 yof 的设置中,Authorization 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 yof 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 yof,或回答中出现 yof 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code · 约 5 分钟
需要 yof 的密钥(在开发者网站创建)
填写你的密钥
在 yof 的设置中,Authorization 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 yof 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 yof,或回答中出现 yof 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
开发者专用:终端命令和 JSON 设置
通过网页连接
Claude Code
claude mcp add --transport http --scope user yof https://mcp.yof.io/mcp --header 'Authorization: Bearer your-value'Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"yof": {
"url": "https://mcp.yof.io/mcp",
"headers": {
"Authorization": "Bearer your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"yof": {
"type": "http",
"url": "https://mcp.yof.io/mcp",
"headers": {
"Authorization": "Bearer your-value"
}
}
}
}安装在电脑上
Claude Code
claude mcp add --scope user yof --env YOF_API_KEY=your-value -- npx -y @yof/cli mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"yof": {
"command": "npx",
"args": [
"-y",
"@yof/cli",
"mcp"
],
"env": {
"YOF_API_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"yof": {
"command": "npx",
"args": [
"-y",
"@yof/cli",
"mcp"
],
"env": {
"YOF_API_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"yof": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@yof/cli",
"mcp"
],
"env": {
"YOF_API_KEY": "your-value"
}
}
}
}需要你填写的值
YOF_API_KEY机密 envOptional. The key the yof dashboard makes for this connection (Connect your AI builder). Without it, only the local tools run.- Bearer followed by the key the yof dashboard makes for this connection. Needed to run any tool; the tool list can be read without it.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
通过互联网连接,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
服务器要求先登录,才会列出它的工具。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月13日
- ✓ 通过
作者与仓库一致
注册名称已通过域名 yof.io 验证(注册中心会核实域名所有权)
- ✓ 通过
仍在维护
代码最后更新于昨天
- ✓ 通过
有许可证
使用 Apache-2.0
- ✓ 通过
端点有响应
在 426 毫秒内响应(HTTP 401)
- ✓ 通过
使用 OAuth 登录
声明支持 OAuth 登录,你的 AI 应用可以带你去登录
- … 尚未检查
工具描述中没有隐藏指令
尚未检查;我们会在检查端点时读取工具列表
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5842 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5842 个服务器的 92% 更新
- 基础检查结果等于或优于此分类中其他 5842 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
yof 安全吗?
它在 5 项适用的基础检查中通过了 5 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:Authorization, YOF_API_KEY
它在我的电脑上运行还是在云端?
两种方式都可以:安装在你的电脑上,或者连接云端版本。
它还在维护吗?
GitHub 仓库最后更新于昨天,最新版本(0.3.2)于前天进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。
同类别的其他选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Security checks for apps you build with AI
Catch leaked keys, risky or made-up packages and access holes between accounts before you ship. Free and open source.
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.3.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
| Profile | Shows | Fails (exit 1) on |
|---|---|---|
relaxed | fix now | fix now |
balanced (default) | fix now, fix this week | fix now |
strict | everything, including public keys that are fine | fix 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).
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 now | Fix this week | Fine, public by design (shown in strict) |
|---|---|---|
| Stripe live secret and restricted keys, Stripe webhook secrets | Stripe test secret keys | Stripe publishable keys |
| OpenAI, Anthropic, Groq, Hugging Face, Replicate | An AWS access key ID on its own | Firebase web keys |
| AWS access key with its secret next to it | Browser-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.
What it does not do: it does not read git history, scan your running website, check your database rules, or review code logic. Those 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:
| Group | What it does |
|---|---|
auth | Opens each signed-in route with no sign-in and with a broken token |
tenant | Account A creates a test record, account B reads it by id, finds it in a list and changes it |
rbac | Opens 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 |
ai | Your 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 |
surface | Open 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 and reported by that platform's own GitHub app, or a host on your app's own domain once the app is proven with your token; on shared hosting such asgithub.ioonly your own name counts as your domain; an environment namedprod,productionorlive, or your app's own host, is production); or your live host with the proof token from your yof app (YOF_VERIFY_TOKEN, the same file, meta tag or DNS record the yof app uses). - 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 (read-only) may go any time, and a full run only inside the window you set.
- 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.invalidand the email probe at anexample.invalidaddress, 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": trueon anaientry 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