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

@powerduck/dev-mcp-server

Latest version: v0.7.18

Overview

Last scanned
7 Nov 2026
Published
7 Nov 2026
npm package Publisher: powerduckie
0 Stars
0 Forks
14 Versions
1.6K Downloads
TypeScript Repo language

Scan summary

@powerduck/dev-mcp-server was last scanned on 7 Nov 2026 at version 0.7.18. Risk score 45 of 100 (medium). High-severity rules fired.

  • Releases: 14 versions; the latest was published on 7 Nov 2026.
  • Findings: 1 rule fired in version 0.7.18 (4 instances: 4 high). The score describes this version only.
  • Downloads: 1,558 downloads.

Versions

14 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.7.18 LATEST 7 Nov 2026 1 rule fired
0.7.17 19 Oct 2026 No rules fired
0.7.16 15 Oct 2026 No rules fired
0.7.15 14 Oct 2026 Not shown
0.7.14 14 Oct 2026 Not shown

Rules fired in 0.7.18: 1

Findings

4 High

Findings for v0.7.18. 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 4 findings with descriptions and instance counts

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

README

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

@powerduck/dev-mcp-server

A developer-facing Model Context Protocol server that gives AI coding agents (Claude Code, Codex CLI, Cursor, Claude Desktop) accurate, dereferenced OpenAPI facts for the backend you are implementing, plus real verification against your local server: ping, single requests, contract tests, and ordered multi-step scenarios. It also derives a relational data model from the schemas and reconciles it with an optional live database, generating additive SQL without ever executing it.

Powerduck — design, debug, and verify APIs with AI.

This server is for the people building the API. It answers questions like "what exactly must POST /orders accept and return?" so the agent writes handlers that match the specification. It is not the server that exposes an API to AI clients for calling a running service; that is a separate package.

What it provides

Contract facts

Read-only truth, re-read from disk on every request (the document is cached by file mtime, so edits are visible without reconnecting):

Tool Purpose Key arguments
spec_overview Title, version, servers, tags, protocols, security schemes, counts. —
list_operations Compact, filterable, paginated operation index. tag, method, protocol, secured, search, pageSize (1–500, default 100), cursor
get_operation Full implementation contract: parameters with validation rules, request body schemas/examples, every response (status, headers, body), effective security, servers. One of ref ("POST /orders"), operationId, or method + path
get_schema One dereferenced component schema. name or ref (#/components/schemas/...)
validate_spec Re-reads the file and returns errors/warnings with locations. —
get_auth_requirements All security schemes and, for an operation, the exact auth it requires. Optional operation locator
Verification against a running backend

These tools execute real requests through @powerduck/openapi-cli and report normalized responses plus spec-derived assertion results. baseUrl defaults to the first concrete server URL in the specification.

Tool Purpose Key arguments
ping_target Reachability probe; returns status and latency. baseUrl, timeoutMs (100–60000, default 5000)
send_request Send one operation with overrides and return per-assertion results. locator, baseUrl, timeoutMs, headers, variables, proxy, values ({path, query, header, body}), assertions[]
run_contract_tests Batch-run operations and evaluate the contract; returns a summary and per-operation results. baseUrl, concurrency (1–20), methods[], tags[], paths[] (regex), operationIds[], plus the common target options
detect_drift One-pass classification of implementation drift: missing operations (404/405), unreachable endpoints, contract violations, and invalid-spec issues; returns a none/low/high level with per-operation reasons. Same filters and target options as run_contract_tests
validate_scenario Statically resolve an ordered multi-step scenario; never sends traffic. scenario
run_scenario Run an ordered, stateful scenario with shared variables, extraction, and assertions. scenario, baseUrl, timeoutMs, variables

Common target options: baseUrl, timeoutMs (up to 600000), headers (string map), variables ({{name}} string map), and proxy.

A scenario is an ordered list of operations with a shared variable scope:

{
  "name": "create then fetch a pet",
  "stopOnFailure": true,
  "steps": [
    {
      "ref": "POST /pets",
      "request": {
        "extract": [{ "name": "petId", "from": "body", "path": "$.id" }],
        "assertions": [{ "name": "created", "assert": "status", "value": 201 }]
      }
    },
    {
      "ref": "GET /pets/{petId}",
      "request": {
        "values": { "path": { "petId": "{{petId}}" } },
        "assertions": [
          { "name": "ok", "assert": "status", "value": 200 },
          { "name": "id roundtrips", "assert": "jsonPath", "path": "$.id", "exists": true }
        ]
      }
    }
  ]
}

Each step supports extract (from: body | header | status, with path JSONPath or header key), declarative assertions (status, header, bodyContains, bodyEquals, jsonPath, responseTime), per-step values/serverUrl, and skip. A runnable copy lives in examples/scenario.create-fetch.json.

Long runs emit notifications/progress when the client passes a progress token, and honor notifications/cancelled (the scenario aborts and remaining steps are reported as skipped).

Documents that are not OpenAPI 3.x are upgraded to 3.2 when that conversion is safe; otherwise facts are served best-effort from the original document and validate_spec reports the problems. Internal $ref values are inlined (cycle-safe); unresolved references fall back to the original $ref.

Resources
URI Content
powerduck://spec/source Raw source document (YAML or JSON).
powerduck://spec/overview JSON overview.
powerduck://spec/operations JSON operation index (up to 500).
powerduck://spec/operation/{ref} One operation; ref is the URL-encoded "METHOD /path", e.g. operation/POST%20/orders.
powerduck://spec/schema/{name} One component schema.
Local mocks for unavailable dependencies

When a dependency is not implemented yet (a payment gateway, an OTP provider, a downstream service), start a loopback-only mock that answers spec operations with examples or schema-derived samples, then point your scenario at it:

Tool Purpose Key arguments
start_mock_server Start a 127.0.0.1 mock; returns mockId, base URL, and the route table. port?, basePath? (defaults to the first server base path), latencyMs?, overrides?
get_mock_requests Inspect recorded requests (method, path, query, selected headers, parsed body, matched route). mockId, limit? (1–200), clear?
list_mock_servers List running mocks, routes, and request counts. —
stop_mock_server Stop one mock, or all when mockId is omitted. mockId?

overrides is keyed by "METHOD /path" to simulate failures or custom payloads:

{
  "POST /payments/charge": {
    "status": 503,
    "body": { "error": "gateway unavailable" },
    "headers": { "X-Downstream": "payment" }
  }
}

Mocks never execute scripts or fetch remote references and bind to loopback only. Each manager allows at most 8 running mocks. Responses are capped at 1 MB each and 8 MB total per mock. Request recording keeps at most 200 entries and 2 MB per mock: sensitive header, query, JSON and form fields are redacted before storage; opaque, malformed or truncated bodies are omitted. Field-name redaction is not a general personal-data detector. CORS permits cross-origin requests without browser credentials. Stopping a mock also cancels pending latency timers; all mocks stop when the MCP server disconnects.

Saving regression scenarios

Scenarios worth keeping are stored next to the specification as project artifacts that can be committed:

Tool Purpose
save_scenario Validates a scenario, then writes .powerduck/scenarios/<name>.json (set overwrite to replace).
list_scenarios Lists saved scenarios with step counts and update times.
get_scenario Reads one saved scenario by name.
delete_scenario Deletes one saved scenario by name.

validate_scenario and run_scenario accept either an inline scenario or a scenarioName that loads a saved file. The server only writes inside the .powerduck/ directory next to the specification; names are reduced to safe file slugs.

Data-model reconciliation and SQL

The same deterministic engine that powers Powerduck's Data Model tool, @powerduck/datamodel, turns the OpenAPI component and request/response schemas into a relational model (tables, columns, foreign keys, many-to-many link tables) and reconciles it against an optional live database. The MCP server itself never connects to a database and never accepts credentials; you may pass read-only live evidence gathered out-of-band for bidirectional comparison. All SQL is generated, never executed, and proposed statements are additive only (CREATE TABLE IF NOT EXISTS / ADD COLUMN).

Tool Purpose Key arguments
datamodel_reconcile The full versioned artifact: per-table status (missing/drift/matched/extra), modeled and enforced relationships, column-level diffs, impacted API operations, additive CREATE/ALTER SQL, an ordered migration plan with blockedBy, and explicit open questions. dialect (mysql/sqlserver/oracle, default mysql), optional liveTables[], liveForeignKeys[], tableNameOverrides
datamodel_report The same result as a self-contained Markdown brief with an embedded Mermaid erDiagram (renders on GitHub; paste into a PR, issue, or another prompt). Use the reconcile tool for structured JSON. same as datamodel_reconcile
datamodel_deployment_script One idempotent forward-only script for a fresh database: CREATE TABLE IF NOT EXISTS in foreign-key order, secondary indexes, and optional deterministic sample rows. common arguments plus sampleRows (0–50, default 0; link tables are never populated)

liveTables entries are { name, schema?, columns: [{ name, dataType?, nullable?, isPrimaryKey? }] }. Pass an empty array to signal that an empty database was connected (a forward plan), which is distinct from omitting it (no database at all). liveForeignKeys entries are { table, column, refTable, refColumn }: a modeled edge that matches a live constraint is reported as enforced, while a live constraint the model omits is drawn as a live-only relationship — including edges to tables the API does not describe, which come back as orphan tables for reverse engineering.

Planned for later milestones: resumable SSE event stores for resumable Streamable HTTP sessions.

Run

Requires Node.js >= 20.11.

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 @powerduck/dev-mcp-server

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

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

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?

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229