Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
제작자가 쓴 설명(영어 원문)
Scans MCP server auth code for OAuth 2.1 anti-patterns: token passthrough, missing audience
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"oauth-auditor": {
"command": "npx",
"args": [
"-y",
"@guardbee/mcp-oauth-auditor"
]
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add oauth-auditor -- npx -y @guardbee/mcp-oauth-auditor프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"oauth-auditor": {
"command": "npx",
"args": [
"-y",
"@guardbee/mcp-oauth-auditor"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"oauth-auditor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@guardbee/mcp-oauth-auditor"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검
레지스트리 이름이 GitHub 계정 GuardBee 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.5.1)은 7일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, Recta
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Cheaper cross-chain stablecoin routes for AI agents; 5 % of the verified saving, nothing if none.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
🇬🇧 English | 🇹🇷 Türkçe | 🇨🇳 中文 | 🇯🇵 日本語 | 🇰🇷 한국어 | 🇧🇷 Português | 🇪🇸 Español | 🇩🇪 Deutsch
An MCP (Model Context Protocol) server that scans an MCP server's own authorization code for OAuth 2.1 anti-patterns named in the MCP specification's own Security Considerations section.
The MCP spec doesn't leave this to guesswork — it explicitly calls out token passthrough (forwarding a client's token to a downstream API unchanged, instead of exchanging/re-scoping it) and missing audience validation (accepting a token whose aud claim was never issued for this server) as the central authorization failure modes for a server acting as an OAuth resource server. This package checks for exactly those two, plus three related anti-patterns in the same family.
Telemetry is off by default. With
GUARDBEE_TELEMETRY=1it sends the server, tool, success, duration and short parameter values such as a file path; longer strings and fields likecontent,tokenorpasswordare replaced with a placeholder. See@guardbee/mcp-telemetry.
Claude ──► oauth-auditor ──► Your MCP server's auth code
│ ├─ token-passthrough (client's token forwarded unchanged downstream) ├─ token-validation (jwt.verify() with no audience check) ├─ discovery-ssrf (OAuth/OIDC discovery URL built from client input) ├─ pkce (authorization request missing code_challenge) ├─ redirect-validation (redirect_uri checked with startsWith/includes, not exact match) └─ secrets-exposure (hardcoded client_secret)
Token passthrough matters because a token a client presented to *this* server was scoped and audienced for this server — not whatever downstream API the server's own tool handlers call next. Forwarding it unchanged means the downstream service is trusting a credential it never issued, on the basis of a server-side decision the original token issuer never approved.
Missing audience validation is the same failure from the other direction: jwt.verify(token, key) confirms a token's *signature* is valid, but says nothing about who it was issued *for*. Without an explicit audience check, a token minted for a completely unrelated resource server — one that happens to share the same issuer/signing key — will verify successfully here too. This is the textbook confused-deputy substitution the MCP spec is warning about.
The other three patterns are adjacent, concrete instances of the same "an MCP server's auth code trusts something it shouldn't" theme: an OAuth/OIDC discovery URL built from client-supplied input (the shape behind a real disclosed CVE), a redirect_uri validated with a prefix/substring check instead of an exact match (open-redirect bypass), and PKCE silently missing from an authorization request (required by OAuth 2.1 unconditionally, not just for public clients).
jwt.verify(...) call (or the authorization-request URL construction) and confirm audience: / code_challenge is genuinely nowhere nearby, not just matched by a lucky string positionguardbee.yml\b after a ] character that can never match, since ] isn't a word character — silently missed the bracket-notation form of header access). End-to-end verified against a fixture with all 6 anti-patterns deliberately planted (caught all 6), and against the entire guardbee-mcp monorepo (401 files — zero findings in any real third-party code; the only non-test matches were the scanner's own pattern-definition source textually containing the string jwt.verify( inside a regex literal and a doc comment, not actual vulnerable usage){
"mcpServers": { "guardbee-oauth-auditor": { "command": "npx", "args": ["-y", "@guardbee/mcp-oauth-auditor"] } } }
npx @guardbee/mcp-oauth-auditor scan ./src --fail-on=high --format=sarif > results.sarif
| Tool | Description |
|---|---|
scan_text | Scans a code snippet |
scan_file | Scans a single file |
scan_directory | Recursively scans a directory |
list_patterns | Lists all supported patterns by category |
| Category | Pattern | Severity | OWASP |
|---|---|---|---|
| token-passthrough | token_passthrough_to_downstream | critical | MCP07 |
| token-validation | missing_audience_validation | high | MCP07 |
| discovery-ssrf | oauth_discovery_ssrf | critical | MCP07 |
| pkce | missing_pkce_on_auth_request | high | MCP07 |
| redirect-validation | loose_redirect_uri_validation | high | MCP07 |
| secrets-exposure | hardcoded_oauth_client_secret | high | MCP07 |
| state-handle | predictable_state_handle (+ Python) — state / session handle from Math.random, Date.now, a counter | high | MCP07 |
| state-handle | state_handle_not_bound_to_user — a handle from a tool argument looked up with no check that it is the caller's | medium | MCP07 |
| mix-up | missing_iss_validation — authorization code redeemed without checking iss (RFC 9207) | medium | MCP07 |
| auth-url | auth_url_scheme_not_validated — a server-provided URL opened with no scheme check (javascript:, data:, file:) | high | MCP07 |
| auth-url | auth_url_opened_via_shell — URL interpolated into open / xdg-open / start through a shell | critical | MCP05 |
| local-exposure | local_http_server_unauthenticated — HTTP MCP transport with no authentication | high | MCP07 |
| local-exposure | missing_host_origin_check — no Host / Origin validation (DNS rebinding) | medium | MCP07 |
| local-exposure | listen_all_interfaces — MCP server bound to 0.0.0.0 | medium | MCP07 |
The language comes from the file extension, and Python- and Go-specific rules run only on their own files.
python_missing_audience_validation (jwt.decode with no audience= and no authlib claims_options aud), python_audience_verification_disabled ("verify_aud": False), python_token_passthrough_to_downstream (the Authorization header or all of request.headers on a requests / httpx / client call), missing_pkce_on_auth_request on authlib create_authorization_url / authorize_redirect with no code_challenge, and the discovery SSRF, redirect, state and 0.0.0.0 rules.go_missing_audience_validation (jwt.Parse with no jwt.WithAudience), go_oidc_client_id_check_skipped, go_token_passthrough_to_downstream (out.Header.Set("Authorization", r.Header.Get("Authorization"))), go_hardcoded_oauth_client_secret, go_loose_redirect_uri_validation (strings.HasPrefix), go_predictable_state_handle (math/rand, time), go_oauth_discovery_ssrf, go_auth_url_opened_via_shell, missing_pkce_on_auth_request on AuthCodeURL with no S256ChallengeOption, and ListenAndServe(":8080") as listen_all_interfaces.token_passthrough_via_variable — the incoming Authorization header read into a variable that is then put on an outgoing request.Every finding links its section of the MCP spec Security Best Practices (SARIF helpUri) and carries its OWASP MCP Top 10 id as a SARIF tag. The newer rules are heuristics over one file at a time: a check done in another module (an auth middleware, an iss comparison in a helper) is not seen.
npx @guardbee/mcp-oauth-auditor probe http://127.0.0.1:3000/mcp
Read-only checks of a running HTTP MCP endpoint: does it answer an initialize without credentials (probe_unauthenticated_access), and does it accept a foreign Host (probe_dns_rebinding_host_accepted) or Origin (probe_foreign_origin_accepted)? It sends no credentials, calls nothing beyond initialize, closes any session it opened, and refuses a host that resolves to a public address unless --allow-public. CLI only: an agent cannot start it through the MCP tools.
guardbee.yml)oauth-auditor:
fail-on: high # any | critical | high | medium | none max-files: 5000 exclude:
client_secret or response_type=code.jwt.verify() call whose options object happens to be built far away from the call site (a variable passed in, rather than an inline object) won't be checked for audience correctly.npm run build
npm test
MIT — GuardBee
Questions, ideas, or a false positive? Start a thread in GitHub Discussions or open an issue. If GuardBee is useful to you, a ⭐ on the repository helps others find it.