Repository navigation
v0.1.2 — security hardening, restricted HTTP mode, v0.1.2 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 get401. With a token, all eight
tools are served. - Restricted mode for unauthenticated/localhost callers:
list-testsscans
sources instead of running the project's config, andprojectRootcannot be changed. - Host allowlist: without a token, only
localhostand the deployment's own
Vercel hostnames are accepted. SetPW_MCP_ALLOWED_HOSTSfor a custom domain
(*for any). - Child processes get only an allowlisted environment; client disconnects abort the
run and free its slot; oversize bodies get a413; internal errors are not leaked.
Tools
- Playwright flags from
argsnow require checked--flag=valuevalues; argument
smuggling through--only-changedor 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-mcpnpx -y github:trajectiq-ai/E2E#v0.1.2- Claude Desktop: download
playwright-e2e-mcp-0.1.2.mcpbbelow and double-click it.
Verify downloads against SHA256SUMS.txt.