Unicode Security MCP
Local checks for Unicode confusables, mixed scripts, invisible controls, and suspicious identifiers.
作者による説明(英語の原文)
Security middleware for MCP. Blocks prompt injection, PII leakage, and resource exhaustion.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"bastion": {
"command": "uvx",
"args": [
"mcp-bastion-python"
]
}
}
}ターミナルでこれを実行します
claude mcp add bastion -- uvx mcp-bastion-pythonプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"bastion": {
"command": "uvx",
"args": [
"mcp-bastion-python"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"bastion": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-bastion-python"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント vaquarkhan で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(5.1.0)がレジストリに届いたのは3 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:Unicode Security MCP, Osv MCP, Epss MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Local checks for Unicode confusables, mixed scripts, invisible controls, and suspicious identifiers.
Exploit Prediction Scoring System scores: how likely a CVE will be exploited in the next 30 days.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
README · Documentation · Demos · Dashboard / Observability · Multi-language · Benchmark · License · Security
Current release: [5.1.0](https://pypi.org/project/mcp-bastion-python/5.1.0/) · Docker v5.1.0 · 26 PyPI packages · CHANGELOG
| Go to | Link |
|---|---|
| Docs / demos | https://vaquarkhan.github.io/MCP-Bastion/ · product tour video · integrations |
| Benchmark / security deck (PDF) | [MCP-Security-Deck-v3.pdf](MCP-Security-Deck-v3.pdf) · raw download |
| Documentation handbook | https://vaquarkhan.github.io/MCP-Bastion/guide/handbook.html |
| Demos (attacks, dashboard, payloads, all languages) | https://vaquarkhan.github.io/MCP-Bastion/guide/demos.html |
| Dashboard & observability (OTEL optional) | https://vaquarkhan.github.io/MCP-Bastion/guide/observability.html |
| Multi-language suite | https://vaquarkhan.github.io/MCP-Bastion/guide/multi-language.html · suite repo |
| MCP Test Harness (sister product — CI gate for MCP servers) | https://github.com/vaquarkhan/mcp-test-harness · use with Bastion E2E |
| Docs hub | https://vaquarkhan.github.io/MCP-Bastion/guide/ |
| Measured benchmarks (reproducible) | docs/BENCHMARKS.md |
The Zero-Trust control plane for MCP agents. Your agent can call databases, APIs, and shell tools. One bad prompt can leak PII; one runaway loop can burn your API budget in minutes; three agents on one server with no identity boundary is a confused-deputy incident waiting to happen. MCP-Bastion wraps your MCP server with local guardrails: agent IAM, supply-chain checksums, injection blocking, PII redaction, and denial-of-wallet caps, under 5ms overhead, with no third-party safety API.
Guiding rule: Stay a zero-infra, drop-in library - the guardrail brain that composes with any gateway, not a gateway itself. Strategy: docs/ZERO_INFRA_STRATEGY.md.
Slide deck (share with evaluators): [MCP-Security-Deck-v3.pdf](MCP-Security-Deck-v3.pdf) — security + FinOps proof pack (direct download).
| Gate | Result | How to reproduce |
|---|---|---|
| Injection heuristics | 100% attack block · 0% benign FP on the published corpus | pytest tests/test_injection_efficacy.py · docs/BENCHMARKS.md |
| Tool catalog scan | Injection / secrets / homoglyphs / shadow tools / nested weak schemas | mcp-bastion scan examples/fixtures/tools-poisoned.json |
| FinOps | Up to ~99.7% output-budget savings · ~85% fewer discovery tokens | docs/BENCHMARKS.md |
| Toxic-flow taint | Session PII/secret → egress tool with URL/email args blocked in-process | toxic_flow in bastion.yaml · docs/THREAT_MODEL.md |
| Phase | What | Command |
|---|---|---|
| Scan | Static tool-definition checks before deploy (injection, secrets, homoglyphs, fingerprint drift, schema preconditions) | mcp-bastion scan tools.json |
| Audit | Local MCP client-config risk report (over-broad tools, standing credentials, filesystem servers) | mcp-bastion audit |
| Test | Integrated red-team against bastion.yaml + pair with [MCP Test Harness](https://github.com/vaquarkhan/mcp-test-harness) in CI | mcp-bastion redteam · docs/BASTION_AND_TEST_HARNESS.md |
| Enforce | Runtime middleware on every MCP method | secure_fastmcp(mcp) or bastion.yaml |
`scan` vs `audit` - different inputs, different questions
| `mcp-bastion scan` | `mcp-bastion audit` | |
|---|---|---|
| Looks at | A tool catalog (tools.json / tools/list export) | MCP client configs on disk (mcp.json, Claude Desktop config, etc.) |
| Asks | “Is this tool metadata poisoned or drifted?” | “What can agents already reach on this machine?” |
| Finds | Injection in descriptions, secrets in schemas, homoglyphs, fingerprint drift, weak/unbounded inputSchema shapes | Over-broad tool grants (*), standing credentials in env, filesystem-server hints |
| When | Before you ship or attach a server’s tools (CI / pre-deploy) | Before you tighten policy on a laptop or workspace (local hygiene) |
They complement each other: audit the host surface, then scan the tools you attach. Neither replaces runtime enforce.
mcp-bastion scan also accepts --skills DIR for offline agent skill-file checks. Dependency CVEs: mcp-bastion osv-refresh then mcp-bastion osv-scan (local DB default; --online opt-in, fail-open).
# 1. Scan a tools/list export (or hand-authored catalog) - client-side, no cloud
mcp-bastion scan examples/fixtures/tools-poisoned.json mcp-bastion fingerprint tools.json -o baseline.json mcp-bastion scan tools.json --baseline baseline.json --format json -o report.json mcp-bastion scan --skills ./skills/
mcp-bastion audit --root . mcp-bastion audit --format json -o risk-audit.json --fail-on none
mcp-bastion redteam --config bastion.yaml
mcp-bastion validate --config bastion.yaml
mcp-bastion scan - client-side static scanner; no cloud, no ML download
mcp-bastion audit - map the local MCP surface before you enforce; no network, no vault
Schema · Skills · OSV - offline by default; no login server; no phone-home
Feature tour
Dashboard walkthrough
Live security posture + runtime dashboard - local-only, zero infra. mcp-bastion dashboard --demo · Dashboard docs · Older Vimeo walkthrough </
冒頭だけを表示しています。続きはリポジトリで読めます