Skip to content

v0.1.2 — security hardening, restricted HTTP mode, v0.1.2 release

Choose a tag to compare

@trajectiq-ai trajectiq-ai released this 06 Oct 21:23
· 27 commits to main since this release

Security hardening

This release is the result of two security audits and hardens every place the server
touches your machine or the network. The hosted HTTP bridge now requires a token.

HTTP bridge

  • Token required: set PW_MCP_HTTP_TOKEN (≥16 chars — shorter values make the
    function refuse to start). Requests without it get 401. With a token, all eight
    tools are served.
  • Restricted mode for unauthenticated/localhost callers: list-tests scans
    sources instead of running the project's config, and projectRoot cannot be changed.
  • Host allowlist: without a token, only localhost and the deployment's own
    Vercel hostnames are accepted. Set PW_MCP_ALLOWED_HOSTS for a custom domain
    (* for any).
  • Child processes get only an allowlisted environment; client disconnects abort the
    run and free its slot; oversize bodies get a 413; internal errors are not leaked.

Tools

  • Playwright flags from args now require checked --flag=value values; argument
    smuggling through --only-changed or a --prefixed test path is rejected.
  • Generated specs, baselines and diffs never write through a symlink, and only files
    with this tool's own header line can be overwritten.
  • SSRF guard also blocks IPv6 forms that embed an IPv4 address; WebRTC UDP disabled.

Supply chain

  • Every GitHub Action pinned to a version SHA; CodeQL now scans workflows too.
  • npm publish runs from CI with provenance; registry and npm versions are checked
    against the release tag before publishing.

Install

  • npx -y playwright-e2e-mcp
  • npx -y github:trajectiq-ai/E2E#v0.1.2
  • Claude Desktop: download playwright-e2e-mcp-0.1.2.mcpb below and double-click it.

Verify downloads against SHA256SUMS.txt.