
uta-shield
io.github.eddyflores100-lang由 GitHub 账号 eddyflores100-lang 发布v0.3.0更新于 Nov 5, 2026
Provider-side MCP firewall: identity, threat-intel, barter, rate limits, DLP, audit.
概览
面向服务提供方的 MCP 防火墙与威胁情报工具:为自有 MCP 服务器加上身份校验、ACL、限流、DLP 与审计,并提供 PhishGuard IOC 查询服务。
- 可以做什么
- 离线筛查域名、URL 与文本,匹配内置钓鱼活动情报,并以退出码支持脚本化判断
- 运行 PhishGuard MCP 服务器,提供 IOC 查询、URL 检查、文本筛查、活动列表与情报源信息
- 把现有 MCP 服务器包在代理之后,校验 HMAC 签名的代理身份并执行按工具的 ACL
- 提供两级限流、入站威胁情报拦截、出站脱敏/阻断/记录策略以及密钥类数据的 DLP 掩码
- 按调用计量并写入 JSONL 审计记录,可通过需管理员鉴权的接口读取
- 适用场景
- 当你运营一个对匿名代理开放的 MCP 服务器或 SaaS 接口,希望在不改动服务端代码的情况下获得身份校验、按工具授权、限流、敏感信息掩码与审计时使用。也可用于让助手核对域名、URL 或文本是否命中已知钓鱼活动。
- 运行要求
- 以 Node.js 18 及以上版本在本地运行(npm 包 uta-shield,stdio 传输);防火墙模式需要上游 MCP 服务器地址、包含代理密钥的 keys 文件,可选管理员令牌与 ACL 文件。内置情报源未声明需要账号或 API 密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 uta-shield,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
uta-shield
Provider-side firewall for MCP servers + PhishGuard threat-intel MCP server — in one zero-dependency package.
Landing / docs: https://wall.utalabs.tech
Every gateway in the MCP security category (Lasso, Mintive, Obot, agentgateway, Cequence) protects the consumer — the company whose employees connect agents to third-party servers. Nothing protects the operator — the SaaS that publishes its MCP server and exposes its database to every anonymous agent on the internet.
uta-shield is the mirror side: you wrap YOUR MCP server and gain verified identity, per-tool authorization, threat-intel blocking (in AND out), two-tier rate limits, DLP masking, proxy hardening, per-call metering and a JSONL audit trail — without touching your server code.
Backed by a real, documented campaign: the taikotalent phishing case (fake-recruiter malware against open-source developers, domain taken down in ~12h, C2 infra tracked). The bundled feed ships its 23 verified IOCs.
Quickstart
Verified identity (v0.2.0, ACL strict mode v0.2.2)
Identity is no longer declared-only. Agents present three headers:
- Valid signature →
ALLOW_VERIFIED(per-agent rate buckets, ACL enforcement, metering). - Presented-but-invalid credentials →
REJECT_AUTH(401). Fail-closed, always. - No credentials →
REJECT_ANON(401) unless the operator passes--allow-anonymous. - Declared names (no signature) are labels only,
verified:false— they earn no per-agent rate bucket. - Per-tool ACL (
--acl-file): by default, agents absent from the map are unrestricted. For allow-list semantics, add--acl-deny-unlisted— unlisted agents get403 REJECT_FORBIDDENeven with a valid signature. The CLI refuses--acl-deny-unlistedwithout an ACL file (with no map, deny-unlisted would reject every agent)./healthdisclosesidentity.acl_deny_unlisted.
Signing a request (client side, any language):
The 8 layers
Honesty policy: this README marks exactly what ships. Layers 2 and 7 are design hooks — no inflated claims.
Proxy hardening (v0.2.1)
Known limitations (honest scope)
- Identity verification is HMAC-shared-secret (operator-issued keys). It authenticates agents to the operator; it is not a federated PKI.
/.well-known/agent.jsonorigin verification remains a supplementary hook. policy=logrecords outbound IOCs but passes them through — it exists for operators who explicitly opt in;redact(default) orblockare the safe choices.- Obfuscated-email and hex-secret DLP patterns are heuristic; false positives are possible (tune via
dlpoptions). - No TLS termination — run behind your existing reverse proxy (Caddy/nginx/certbot).
- The feed ships ONE documented campaign (23 IOCs). Feed data is CC-BY-4.0; extend it with your own campaigns.
Why zero dependencies?
A security product with 47 transitive dependencies is an attack surface, not a defense. uta-shield is ~1,600 lines of auditable Node.js ≥18 (ESM), including a hand-rolled MCP stdio implementation (newline-delimited JSON-RPC 2.0). npm pack ≈ 108 kB unpacked / 54 kB tarball.
The bundled feed
feed/iocs.json (schema pg/1) ships campaign taikotalent-2026-10: 23 IOCs across 9 types — phishing domain (down via registrar clientHold), live C2 domains behind Cloudflare, sender IP, fake recruiter email, stager URLs, sha256 of payloads, wildcard second-stage path (/var/tmp/.kdm.*), mutex name — with MITRE ATT&CK mapping (T1566.002, T1656, T1204.002, T1059.004, T1027, T1071.001, T1070.004, T1583.001) and per-IOC context. Every verdict carries this evidence so downstream agents can reason about WHY they were blocked.
Feed data CC-BY-4.0 from the public case repo. Update/extend it by adding a campaign object — schema validated by uta-shield verify-feed.
As an MCP server (for agents, not just operators)
Agents get the intel as tools: lookup_ioc(value), check_url(url) (feed + advisory heuristics), screen_text(text), list_campaigns(), feed_info(). Every response is DATA — the server never fetches or executes anything.
Commercial
Contact: AliceLabs LLC — [email protected]
Test (reproducible)
Independent execution: .github/workflows/tests.yml runs the full suite
on GitHub's own runners (Node 20/22/24) on every push — the results are public
and don't depend on this file's claims.
Test results for v0.2.2: see EVIDENCE.md (command, Node version, full runner summary).
Migration v0.1.0 → v0.2.0 (breaking)
wrapwithout--keys-file/UTA_SHIELD_KEYS/--allow-anonymousrefuses to start (fail-closed default).- Rate limits for unverified callers are keyed by IP; declared agent names no longer create per-agent buckets.
gateOutdefault behavior changed from pass-through toredact. SetoutboundPolicy:"log"for v0.1.0 behavior.- New verdicts in the audit stream:
ALLOW_VERIFIED,REJECT_AUTH,REJECT_FORBIDDEN,OUT_REDACTED,OUT_BLOCKED,UPSTREAM_ERROR.
Migration v0.2.0 → v0.2.1 (breaking)
GET /auditno longer works without credentials. Without--admin-token(orUTA_SHIELD_ADMIN) it answers 404; with a token it requires thex-uta-adminheader. Dashboards that scraped/auditanonymously must present the operator token. The response flagx-uta-shieldis now the exact core verdict —policy=logusers will seeOUTBOUND_INTELinstead of the previously mislabeled flag.
Migration v0.2.1 → v0.2.2
- Additive.
--acl-deny-unlistedenables opt-in strict ACL (allow-list semantics); the CLI refuses to start with that flag but no--acl-file(fail-closed). New audit verdicts:BODY_TOO_LARGE(both 413 paths — v0.2.1 addedAUDIT_DISABLED/AUDIT_DENIED). Public CI added — nothing else changes for existing operators.
Licensed for use — see LICENSE (license for use / licencia de uso). © 2026 AliceLabs LLC. Commercial exceptions (white label, OEM, redistribution, managed service): [email protected]
来源:README.md,提交 e31cbd8
工具
0版本历史
2- v0.3.0最新Oct 29, 2026
- v0.2.4Oct 23, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。