Skip to content

All 18 tools broken against prod: /api/v1/* returns Next.js 404, not a gateway route #91

Description

@yakimoto

Found while building wave-gateway#835 (agent-plugins-integration epic's manifest export). The redteam route-gating proof there required probing every route @wave-av/mcp-server's 18 tools actually call.

Finding: the package builds /api/v1/* URLs against a default base of https://wave.online. All 18 tool-backing routes return a prerendered Next.js 404 (x-nextjs-cache: HIT) on both wave.online and api.wave.online — they never reach wave-gateway at all. Per wave-gateway's forward.ts:262, /api/v1/* is the WSC origin's internal path shape (ORIGIN_PATH_PREFIX bridges the public /v1/me to the origin's internal /api/v1/me), not a path any client should call directly.

This contradicts the working assumption (used across the agent-plugins-integration epic) that @wave-av/mcp-server is "already live, already metered" against prod. As published, it appears non-functional — not gated, just absent.

Not a security gap (nothing is reachable/exploitable) — this is a correctness/functionality bug: paying customers using the published package today would get 404s on every tool call.

Recommend: verify against the actual published package version, confirm the base-URL default and path shape, and fix either the package's URL construction or the gateway's route mapping, whichever is wrong.

Filed by an autonomous build session (wave-av/claude-workstation, agent-plugins-integration epic) — Jake, flagging for your triage.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions