Prompt-injection check (x402)

com.onrender.prompt-injection-check由 prompt-injection-check.onrender.com 发布官方发布者v0.7.0更新于 Oct 25, 2026

Prompt-injection check and safe web fetch for agents, span offsets. Free trial, then $0.005 x402.

已验证Streamable HTTP可网页运行网页搜索与抓取安全与监控

概览

AI 生成的概览

远程 MCP 服务器,用于检查不可信文本或网页是否存在提示注入,并返回判定、评分和证据片段。

可以做什么
在代理依据不可信文本或 URL 行动前检查提示注入,返回判定、评分、意图、摘要以及带字符偏移的证据片段,并计入隐藏 HTML 和不可见字符。一次抓取 1 至 10 个公开 https 页面,返回状态、标题、干净的 markdown、判定、证据片段,以及移除被标记句子后的 safe_markdown,并遵守 robots.txt。对单条文本或单个 URL 提供免费试用检查,每个来源每个 UTC 日限 3 次调用。回放包含 24 个用例的公开已知答案集,以便在付费前验证检测器。
适用场景
适用于助手要处理抓取页面、用户提供文本或抓取 URL 等不可信内容,并希望在依据其行动前先筛查注入尝试的场景。免费试用和自检可让您在决定付费调用前评估检测器。
运行要求
远程 streamable HTTP 端点;未声明本地运行时、账户或 API 密钥。付费工具需通过 x402 在 Base 上以 USDC 支付,每项或每个抓取 URL 0.005 美元。需要能访问该端点及被抓取的页面。
安装前请注意
付费工具会产生费用:每个检查项或抓取 URL 0.005 美元 USDC,通过 x402 在 Base 上结算,费用随用量增长。服务器会代您抓取公开网页,并将您提交的文本发送给第三方服务分析。免费试用每个来源每个 UTC 日限 3 次,抓取失败也计入次数。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Prompt-injection check (x402),将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.onrender.prompt-injection-check%2Fprompt-injection-check/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "prompt-injection-check-x402": {
      "type": "http",
      "url": "https://prompt-injection-check.onrender.com/mcp"
    }
  }
}

工具

5

check_prompt_injection

Prompt-injection check (paid, x402)

Check untrusted texts or URLs for prompt injection before your agent reads them. Per item: verdict (safe, suspicious, injection), score, intents, a one-sentence human_summary and evidence spans with code point, UTF-8 byte and UTF-16 offsets. Hidden HTML and invisible characters are weighed. Deterministic rules for EN, with override and agent-addressed phrases also in NL and DE; a clean verdict is not a guarantee. Try it free first with try_check_prompt_injection (3 calls a day). Costs $0.005 USDC per item on Base via x402: the first call without payment returns the payment requirements; pay with an x402-capable MCP client (_meta['x402/payment']) or call POST https://prompt-injection-check.onrender.com/check over HTTP x402.

输入参数modeurlstextsthresholdincludeSanitizedText

fetch_and_check

Fetch web pages as markdown with a prompt-injection check (paid, x402)

Fetch 1 to 10 public https pages in one call. Per URL: status, final_url, title, clean markdown, verdict (safe, suspicious, injection), intents, evidence spans (offsets into the markdown or the raw HTML for hidden content) and safe_markdown with flagged sentences removed. robots.txt is respected. Fetch plus check in one call. Free trial with your own URL: try_fetch_and_check. Costs $0.005 USDC per URL fetched successfully on Base via x402; failed URLs are free. The first call without payment returns the payment requirements for the URLs that were fetched; pay with an x402-capable MCP client (_meta['x402/payment']) or POST https://prompt-injection-check.onrender.com/fetch-check.

输入参数urls必填thresholdincludeMarkdown

try_check_prompt_injection

Free trial: prompt-injection check on your own text

Free, no payment. Same check and same output as check_prompt_injection for 1 text of at most 4000 characters, plus a trial object with remaining_today and how to upgrade. 3 free calls per source per UTC day, shared with try_fetch_and_check and POST https://prompt-injection-check.onrender.com/try/check; after that the tool returns an error with the paid route.

输入参数text必填thresholdincludeSanitizedText

try_fetch_and_check

Free trial: fetch one web page with a prompt-injection check

Free, no payment. Same fetcher, safety rules and output as fetch_and_check for 1 public https URL, plus a trial object. 3 free calls per source per UTC day, shared with try_check_prompt_injection; failed fetches also use a call.

输入参数url必填thresholdincludeMarkdown

selftest

Free self-test

Free. Replays the published known-answer set v1.2 (24 cases) and returns score and sha256, so you can verify the detector before paying.

输入参数details

版本历史

2
  1. v0.7.0最新Oct 25, 2026
  2. v0.6.0Oct 25, 2026

评分

已满足适用检查项的 72%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分

    请在注册中心条目中发布图标。

  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。