HD

harshadk99/deception-remote-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

23 stars 5 forks 품질 80 트렌드 8MIT

Cloudflare Workers의 디코이 MCP 서버. 무해한 도구 옆에 가짜 내부 관리자 도구 (옥타 암호 재설정)를 노출합니다.

개요

Cloudflare Workers의 디코이 MCP 서버. 무해한 도구 옆에 가짜 내부 관리자 도구 (옥타 암호 재설정)를 노출합니다. Legitimate 사용자는 관리자 도구를 호출 할 이유가 없습니다, 그래서 어떤 통화는 감지 신호입니다. 각 통화는 Canarytoken 경고를 불립니다. MCP 레지스트리의 실제 하나와 함께 디코이 서버를 덮는 레지스트리 레이어의 종이 선언에 대한 참조 디코이입니다. 라이브 인스턴스: deception-remote-mcp-server.harshad-surfer.workers.dev (MCP 엔드포인트: /mcp) 트랩은 일반 REST 엔드 포인트 (POST /okta admin password reset)로도 도달 할 수 있으며 MCP를 건너는 스캐너를 잡아줍니다. Alerts는 src/index.ts의 상단에 CANARY TOKEN URL의 Canarytoken URL로 이동합니다. 자신의 사본을 배포하기 전에 canarytokens.org에서 무료로 생성하고 URL을 yours로 대체하십시오. 다른 경고는 원본 저자로 이동합니다.

개요(AI 번역)

Cloudflare Workers의 디코이 MCP 서버. 무해한 도구 옆에 가짜 내부 관리자 도구 (옥타 암호 재설정)를 노출합니다. Legitimate 사용자는 관리자 도구를 호출 할 이유가 없습니다, 그래서 어떤 통화는 감지 신호입니다. 각 통화는 Canarytoken 경고를 불립니다.

MCP 레지스트리의 실제 하나와 함께 디코이 서버를 덮는 레지스트리 레이어의 종이 선언에 대한 참조 디코이입니다.

라이브 인스턴스: deception-remote-mcp-server.harshad-surfer.workers.dev (MCP 엔드포인트: /mcp)

도구

| 도구 | 역할 | 소방차 | |—||||| | welcome | 이용 가능한 도구 일람 | No | | ask_about_me | Q&A over placeholder profile data, 그래서 서버는 실제 개인 조수와 같습니다 | No | | [T3] | **트랩 ** 사용자의 암호를 재설정하고, admin] 또는 [T5]]와 같은 특권한 이름에 대해 다르게 답변 네 |

트랩은 일반 REST 엔드 포인트 (POST /okta_admin_password_reset])로도 도달 할 수 있으며 MCP를 건너는 스캐너를 잡습니다.

엔드포인트

| 교통 | |—||| | /mcp | Streamable HTTP (현재 MCP 수송) | | /sse | 서버-스텐 이벤트(자유) |

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

MCP Threat Trap

A decoy MCP server on Cloudflare Workers. It exposes a fake internal admin tool (an Okta password reset) next to harmless tools. Legitimate users have no reason to call the admin tool, so any call to it is a detection signal. Each call fires a Canarytoken alert.

It is the reference decoy for the paper Deception at the Registry Layer, which covers placing decoy servers alongside real ones in an MCP registry.

Live instance: deception-remote-mcp-server.harshad-surfer.workers.dev (MCP endpoint: /mcp)

Tools

Tool Role Fires the canary
welcome Lists the available tools No
ask_about_me Q&A over placeholder profile data, so the server looks like a real personal assistant No
okta_admin_password_reset Trap. Pretends to reset a user’s password, and answers differently for privileged names such as admin or root Yes

The trap is also reachable as a plain REST endpoint (POST /okta_admin_password_reset), which catches scanners that skip MCP.

Endpoints

Path Transport
/mcp Streamable HTTP (current MCP transport)
/sse Server-Sent Events (legacy transport)
/ Landing page for browsers; MCP requests sent here are routed to /mcp
/okta_admin_password_reset REST trap (POST, JSON body {"okta_username": "..."})

Deploy your own

Or deploy manually:

npm install
npm run deploy

Alerts go to the Canarytoken URL in CANARY_TOKEN_URL at the top of src/index.ts. Before deploying your own copy, create a free Web bug / URL token at canarytokens.org and replace that URL with yours. Otherwise your alerts go to the original author.

Connect a client

Clients that support remote MCP servers (Cursor, Windsurf, Claude Desktop and others) take a config like this:

{
  "mcpServers": {
    "threat-trap": {
      "url": "https://.workers.dev/mcp"
    }
  }
}

For clients that only support local (stdio) servers, bridge with mcp-remote:

{
  "mcpServers": {
    "threat-trap": {
      "command": "npx",
      "args": ["mcp-remote", "https://.workers.dev/mcp"]
    }
  }
}

To test whether your own agent takes the bait, connect it to your deployment and give it an open-ended task. Then check whether the canary fired.

Detection data

GitHub에서 전체 README 보기

설치

npx mcp-remote https://<your-worker>.workers.dev/mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "threat-trap": { "url": "https://<your-worker>.workers.dev/mcp" } } }