Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Openapi Mcp Generator

by harsha-iiiv/openapi-mcp-generatorMIT licenceAudited 28 Sep 2026 · source 70d0168da385

npm openapi-mcp-generator 4.1.0stdiostreamable-http★ 636
✕BLOCKGrade D · 69/100 · 28 Sep 2026 · 70d0168

Is it safe? No — BLOCK, grade D (69/100). It exposes 39 tools: 29 read, 8 write and 2 destructive. The audit recorded 21 findings (0 critical, 4 high, 1 medium, 16 low). Maintainer's description: A tool that converts OpenAPI specifications to MCP server

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Openapi Mcp Generator (harsha-iiiv/openapi-mcp-generator)”. Retrieved 28 Sep 2026. https://modelsatlas.com/mcp/harsha-iiiv/openapi-mcp-generator-1

Why this is BLOCK. The audit found 0 critical and 4 high findings; the most severe is Code injection at src/generator/server-code.ts:274. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

2 MCP servers are called Openapi Mcp Generator. You are viewing harsha-iiiv/openapi-mcp-generator. Compare all 2 →

Trust audit

Audit 0.4.1 · full source read 28 Sep 2026

Trust score69/100✕BLOCK D
0 critical4 high1 medium16 low0 info

21 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared2 observations
  • NetworkDeclared3 observations
  • ShellDeclared1 observation
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (21)

Sorted by severity

HIGHCode injectioncode.eval_exec · src/generator/server-code.ts:274
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const zodSchema = eval(zodSchemaString);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHNetwork egressnet.tls_off · src/index.ts:120
F-04 Network egressCWE-200 · CWE-319Layer L1
'-k, --insecure',
Why
certificate verification is disabled
Fix
leave verification on
HIGHNetwork egressnet.tls_off · src/index.ts:227
F-04 Network egressCWE-200 · CWE-319Layer L1
['--insecure', Boolean(options.insecure)],
Why
certificate verification is disabled
Fix
leave verification on
HIGHNetwork egressnet.tls_off · src/utils/security.ts:306
F-04 Network egressCWE-200 · CWE-319Layer L1
const insecureHttpsAgent = new https.Agent({ rejectUnauthorized: false });
Why
certificate verification is disabled
Fix
leave verification on
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
deletePet, deletepet
Why
2 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .prettierignore
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.eval_exec · examples/pet-store-sse/src/index.ts:1127
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const zodSchema = eval(zodSchemaString);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · examples/pet-store-streamable-http/src/index.ts:1127
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const zodSchema = eval(zodSchemaString);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · examples/petstore-mcp/src/index.ts:2709
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const zodSchema = eval(zodSchemaString);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWInsecure cryptocrypto.weak_hash · src/parser/extract-tools.ts:111
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
const hash = createHash('sha1').update(name).digest('hex').slice(0, HASH_LEN);
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · src/parser/extract-tools.ts:219
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
const disambiguator = createHash('sha1')
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.metadata_ip · tests/integration.test.ts:148
F-04 Network egressCWE-200 · CWE-319Layer L1
responses: { '200': { $ref: 'http://169.254.169.254/latest' } },
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.metadata_ip · tests/unit.test.ts:65
F-04 Network egressCWE-200 · CWE-319Layer L1
expect(isExternalHttpRef('http://169.254.169.254/')).toBe(true);
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.raw_ip · tests/integration.test.ts:148
F-04 Network egressCWE-200 · CWE-319Layer L1
responses: { '200': { $ref: 'http://169.254.169.254/latest' } },
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/unit.test.ts:65
F-04 Network egressCWE-200 · CWE-319Layer L1
expect(isExternalHttpRef('http://169.254.169.254/')).toBe(true);
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.tls_off · tests/integration.test.ts:100
F-04 Network egressCWE-200 · CWE-319Layer L1
'--insecure',
Why
certificate verification is disabled
Fix
leave verification on
LOWNetwork egressnet.tls_off · tests/unit.test.ts:395
F-04 Network egressCWE-200 · CWE-319Layer L1
expect(code).toContain('rejectUnauthorized: false');
Why
certificate verification is disabled
Fix
leave verification on
LOWSupply chainsupply.unpinned · examples/pet-store-sse/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, axios, dotenv, zod, json-schema-to-zod, hono, @hono/node-server, uuid
Why
11 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · examples/pet-store-streamable-http/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, axios, dotenv, zod, json-schema-to-zod, hono, @hono/node-server, uuid
Why
12 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · examples/petstore-mcp/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, axios, json-schema-to-zod, zod, @types/node, typescript
Why
6 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@apidevtools/swagger-parser, commander, openapi-types, @types/node, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint, prettier
Why
11 dependency range(s) float
Fix
pin exact versions or ship a lockfile

Tools it exposes

39 declared in source · 2 destructive

29 read8 write2 destructive

2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
deletePetDelete a pet.destructive
deletepetDelete a pet.destructive
addPetAdd a new pet to the store.write
addpetAdd a new pet to the store.write
placeOrderPlace a new order in the store.write
placeorderPlace a new order in the store.write
updatePetUpdate an existing pet by Id.write
updatepetUpdate an existing pet by Id.write
uploadFileUpload image of the pet.write
uploadfileUpload image of the pet.write
createUserThis can only be done by the logged in user.read
createUsersWithListInputCreates list of users with given input array.read
createuserThis can only be done by the logged in user.read
createuserswithlistinputCreates list of users with given input array.read
deleteOrderFor valid response try integer IDs with value < 1000. Anything above 1000 or non-integers will generate API errors.read
deleteUserThis can only be done by the logged in user.read
deleteorderFor valid response try integer IDs with value < 1000. Anything above 1000 or non-integers will generate API errors.read
deleteuserThis can only be done by the logged in user.read
findPetsByStatusMultiple status values can be provided with comma separated strings.read
findPetsByTagsMultiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.read
findpetsbystatusMultiple status values can be provided with comma separated strings.read
findpetsbytagsMultiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.read
getInventoryReturns a map of status codes to quantities.read
getOrderByIdFor valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions.read
getPetByIdReturns a single pet.read
getUserByNameGet user detail based on username.read
getXgets xread
getinventoryReturns a map of status codes to quantities.read
getorderbyidFor valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions.read
getpetbyidReturns a single pet.read
getuserbynameGet user detail based on username.read
loginUserLog into the system.read
loginuserLog into the system.read
logoutUserLog user out of the system.read
logoutuserLog user out of the system.read
updatePetWithFormUpdates a pet resource based on the form data.read
updateUserThis can only be done by the logged in user.read
updatepetwithformUpdates a pet resource based on the form data.read
updateuserThis can only be done by the logged in user.read

Safer alternatives

We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · 70d0168da385

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Openapi Mcp Generator

What is the Openapi Mcp Generator MCP server?
A tool that converts OpenAPI specifications to MCP server
What tools does Openapi Mcp Generator expose?
39 in total: 29 read-only, 8 that write, and 2 that can delete or overwrite (deletePet, deletepet). Every one is listed on this page with its risk.
Is Openapi Mcp Generator safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 4 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Openapi Mcp Generator need?
It reads MY_TOKEN and SECRET from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Openapi Mcp Generator run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as openapi-mcp-generator at 4.1.0.
How current is this page?
The grade is for one exact copy of the source (70d0168da385), read on 2026-09-28. The repository is watched and re-audited when it changes.
Which Openapi Mcp Generator MCP server is the right one?
abutbul/openapi-mcp-generator. 2 servers share the name; see the side-by-side comparison.
I already installed Openapi Mcp Generator. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.