Use GitHub private vulnerability reporting in this repository's Security tab. Do not disclose a vulnerability or sensitive reproduction details in a public issue.
Suites, snapshots, fixtures, tool results, and their strings and keys may be untrusted. They are data: the runner does not execute or evaluate them, construct regular expressions from them, or dynamically import them. Parsing and schema validation enforce size and complexity limits and reject dangerous structural keys. See docs/SUITE.md.
The 0.1.0 CLI starts only a JOONS MCP Mock Server. Before any tool call it checks the initialized server name, title, and instructions; a failed identity check refuses all calls. This is an identity gate, not proof that arbitrary executable code supplied as a mock-server path is trustworthy. Choose that executable and fixtures carefully. Real-server execution is not in 0.1.0; its planned design requires explicit opt-in and an exact per-tool allowlist.
The child receives a minimal environment, a fresh empty working directory, and arguments without a shell. The runner closes the target and verifies its child is gone on completion, errors, timeout, and termination signals. Reports omit arguments and captured values and mask values under sensitive keys; terminal and Markdown output also strip controls and truncate untrusted text. JSON retains exact strings subject to report truncation and masking. Review reports before sharing: masking cannot identify every secret embedded in arbitrary text.
The library's explicit allowNonMock: true option bypasses the identity gate and is not exposed by the CLI. Embedders are responsible for their own target and permissions.
Captured values never appear in reports: any failure value equal to a captured value, and any occurrence of a captured string inside a reported string, is replaced by [CAPTURED]; this includes object keys, which stay unique with a #2, #3 suffix when redacted keys collide, as well as assertion names, messages, test ids, tool names, skip reasons, the suite name and all target metadata (server information at any depth and the protocol version), in every report format. Only structural fields such as the format name, verdict and statuses are left as they are. Timeouts are decided only by the runner's own per-test timer, so a server error that happens to use code -32001 is reported as that error, not as a timeout. Cancelling during start-up (Ctrl+C, SIGTERM or the total time limit) stops the Mock Server process and removes its temporary directory before the runner exits.