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

@kaisers-io/openapi-mcp

Latest version: v0.12.1

Overview

Last scanned
10 Nov 2026
Published
10 Nov 2026
npm package Publisher: boriskaiser
3 Stars
0 Forks
18 Versions
2.7K Downloads
TypeScript Repo language

Scan summary

@kaisers-io/openapi-mcp was last scanned on 10 Nov 2026 at version 0.12.1. Risk score 45 of 100 (medium). High-severity rules fired.

  • Releases: 18 versions; the latest was published on 10 Nov 2026.
  • Findings: 1 rule fired in version 0.12.1 (1 high). The score describes this version only.
  • Downloads: 2,714 downloads.

Versions

18 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.12.1 LATEST 10 Nov 2026 1 rule fired
0.12.0 3 Nov 2026 No rules fired
0.11.0 2 Nov 2026 No rules fired
0.10.0 2 Nov 2026 Not shown
0.9.1 2 Nov 2026 Not shown

Rules fired in 0.12.1: 1

Findings

1 High

Findings for v0.12.1. 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.

Encoded data placed in a DNS lookup

A DNS lookup command (nslookup, dig or host) takes its query name from a subshell that first encodes the data, for example with base64 or xxd. Encoding the name turns a lookup into a way to send data to the nameserver of the queried domain. Ordinary diagnostic lookups have no encoding step.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

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

README

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

openapi-mcp

npm CI

openapi-mcp gives an AI agent safe access to an HTTP API. You point it at the API's OpenAPI 3.0, 3.1 or 3.2 description, from a URL or a file, and it runs on your machine as an MCP server: each operation you allow becomes a tool that agents in Claude Code, Codex and other MCP hosts can call. There is no code to generate and nothing to deploy.

Without any configuration, the agent can only read (GET, HEAD and QUERY operations), credentials come only from environment variables, every call is checked against the operation's schema, and a changed API description waits for your approval before the server uses it.

The agent also spends few tokens on the API. With many operations, --tool-mode discover lists a few fixed tools instead of one per operation, and execute_code combines many calls in one program that returns only the result. For six tasks on GitHub's API, one agent spent 2.7 cents per task this way and 23.5 cents with one tool per operation (measurements).

Only use a description you trust. Its operation names and texts reach the model, and a hostile description can try to steer the agent.

Requirements: Node.js 22.19 or later, or 24.11 or later (Node 23 is not supported), on macOS, Linux or Windows. Use the latest patch release of your Node line, because older patches miss its security fixes. On Windows the cache directories are private through your user profile's access control list (owner, SYSTEM, Administrators), not through 0700/0600 modes. Other platforms, such as FreeBSD, are refused because they are untested, not because they are known to be unsafe.

Set it up with your agent

Two agent skills ask what the agent should do with the API, show which operations it may use, store the credentials safely, write the host config after you confirm, and check that the server works:

npx skills add kaisers-io/openapi-mcp

The command finds both skills, configuring-openapi-mcp and debugging-openapi-mcp, and asks which ones to install and for which agents.

Set it up by hand

Preview the tools, without starting a server:

npx -y @kaisers-io/openapi-mcp@0.12.1 tools --spec https://api.example.com/openapi.json

Claude Code (.mcp.json, which expands ${VAR}):

{
  "mcpServers": {
    "shop": {
      "command": "npx",
      "args": [
        "-y",
        "@kaisers-io/openapi-mcp@0.12.1",
        "serve",
        "--spec",
        "https://api.example.com/openapi.json",
        "--base-url",
        "https://api.example.com",
        "--header-env",
        "Authorization=SHOP_TOKEN"
      ],
      "env": { "SHOP_TOKEN": "${SHOP_TOKEN}" }
    }
  }
}

Codex (~/.codex/config.toml). Codex does not expand ${VAR}; it forwards the variables named in env_vars from the environment you start it in:

[mcp_servers.shop]
command = "npx"
args = [
  "-y", "@kaisers-io/openapi-mcp@0.12.1", "serve",
  "--spec", "https://api.example.com/openapi.json", "--base-url", "https://api.example.com",
  "--header-env", "Authorization=SHOP_TOKEN",
]
env_vars = ["SHOP_TOKEN"]

--header-env sends the variable's value unchanged, so for a bearer token the variable holds Bearer followed by the token. With a spec from a URL, --base-url is required next to --header-env, so the spec cannot choose where the token goes. Run the same arguments with check instead of serve to see whether the server would start.

On Windows, a host that starts commands without a shell cannot run npx, which is a .cmd script. Use "command": "cmd" with "args": ["/d", "/c", "npx", "-y", ...] there, keep & | < > ^ % out of the arguments, and double the backslashes in JSON paths ("C:\\specs\\shop.json").

Pin an exact version, as above, and never latest: the server runs with your API credentials every time the host starts it. Without --trust-spec-updates, a description fetched with --spec-header-env also needs --cache-key.

Choose what the agent may do

--allow and --deny take selectors, matched regardless of case: method:delete, path:/users/**, route:GET /users/**, operationId:list*, name:get_users_by_id and tag:<glob>. --deny always wins, and any --allow replaces the read-only default. A tool's name is the operationId reduced to [A-Za-z0-9_-] (at most 64 characters), or method and path when there is no usable operationId (get_users_by_id).

Learn more

License

MIT

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 @kaisers-io/openapi-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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

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?

Frame 2085668439 (1)
Group 1261154229