Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

oa-reader-mcp

Latest version: v0.2.2

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
npm package Publisher: asuka0509
5 Versions

Scan summary

oa-reader-mcp was last scanned on 26 Nov 2026 at version 0.2.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 5 versions, all published within 2 days (25 and 26 Nov 2026).
  • Findings: No rules fired in version 0.2.2.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.2 LATEST 26 Nov 2026 No rules fired
0.2.1 26 Nov 2026 No rules fired
0.2.0 26 Nov 2026 No rules fired
0.1.0 25 Nov 2026 Not shown
0.0.0-stage 25 Nov 2026 Not shown

No rules fired in 0.2.2

Findings

Findings for v0.2.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

oa-reader-mcp

OA-Reader 的 MCP 网关。设计文档见 docs/mcp_design.md。

两个入口,一份实现:

入口 跑在哪 只做
npx oa-reader-mcp(stdio) 用户机器 透明代理:initialize / tools/list / tools/call 原样转发
node dist/server.js(Streamable HTTP :4430/mcp) 服务器 验票、缓存、限流、熔断、trace、回源执行

开发

npm install
npm run gen:tools          # ai_end/skills/*/TOOLS.md → tools.generated.json
npm run gen:tools:check    # CI 用:与源文件不一致即失败
npm run build
npm test                   # vitest(Redis 用例在未启动 Redis 时自动 skip)

本地跑

# 1. 起依赖(仓库根目录)
docker compose up -d postgres redis

# 2. 起 ai_end(需要 MCP_INTERNAL_TOKEN)
cd ai_end && uv run uvicorn src.api.main:app --port 4421

# 3. 起网关
cd mcp
MCP_STORE=redis \
MCP_AI_END_URL=http://127.0.0.1:4421 \
MCP_INTERNAL_TOKEN=local-internal-token \
MCP_JWT_SECRET=local-dev-jwt-secret-change-me \
MCP_ADMIN_TOKEN=local-admin-token \
node dist/server.js

环境变量

变量 说明
MCP_LISTEN 默认 :4430
MCP_AI_END_URL ai_end 地址
MCP_INTERNAL_TOKEN 调 /internal/tools/* 的内部令牌,与 ai_end 同值
MCP_JWT_SECRET 与 backend AUTH_JWT_SECRET 相同
MCP_STORE redis / memory(默认 memory,生产用 redis)
MCP_REDIS_URL Redis 连接串
MCP_CLIENTS 静态 client 注册表(JSON)
MCP_LIMITS_OVERRIDE 配额覆盖(JSON,按 tool.field)
MCP_ADMIN_TOKEN /metrics 与 /admin/*
MCP_MAX_VALUE_KB 单条缓存上限,默认 256
MCP_PUBLIC_BASE_URL login 工具返回链接用的对外地址
MCP_BACKEND_URL 登录页换取 JWT 的后端地址

stdio 壳只读 OA_READER_URL / OA_READER_TOKEN / OA_READER_CLIENT。

拿 token

npx oa-reader-mcp login      # 写入 ~/.oa-reader/token.json(600)

或让模型调用 login 工具,把返回链接给用户,页面登录后直接显示 JWT。

接口

路径 说明
POST /mcp MCP(Streamable HTTP,无状态)
GET/POST /mcp/login 登录表单与换票
GET /healthz 健康检查
GET /metrics Prometheus 文本(需 admin token)
GET /admin/trace/{trace_id} 内存调用树(需 admin token)

与设计文档的两处偏差

  1. 未实现 Idempotency 快照:v1 只有只读工具,重复提交流程等价于缓存命中;设计本身也标注"v1 未启用"。写工具上线时再按 §四 补。
  2. 未实现正则 2s 超时:Python 的 re 是同步执行,asyncio.wait_for 无法打断。当前用 pattern 长度上限(200)+ 工具级 5s 预算兜底;彻底解决需要把正则放到独立进程。

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm oa-reader-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229