# Security policy ## Supported versions | Version | Supported | |---|---| | Latest stable release | ✅ | | Older releases | ❌ | ## Reporting a vulnerability Please report suspected security vulnerabilities **privately** using GitHub's [private vulnerability reporting](https://github.com/HUA503/mcprism/security/advisories/new) (**Report a vulnerability**) rather than opening a public issue. Include: - A description of the issue and its impact - Steps to reproduce (PoC welcome) - Affected version/commit and environment - Any suggested remediation You should receive an initial response within a few days. Please give the maintainers reasonable time to investigate and release a fix before public disclosure. Reports may be written in English or Chinese. ### 中文报告 请通过 GitHub 的[私有漏洞报告入口](https://github.com/HUA503/mcprism/security/advisories/new) 提交安全问题,不要在公开 issue 中披露漏洞。报告可以使用中文,并尽量包含: - 漏洞说明和影响范围 - 复现步骤(可以附 PoC) - 受影响的版本、提交和运行环境 - 建议的修复方式(如有) ## Security posture of mcprism itself - mcprism never **calls** a tool: it enumerates a server's tools, resources and prompts but does not invoke them. - In static mode (the default) it never spawns a subprocess or opens a network connection. It reads configuration and, for source targets, code. - Live probing (`scan --dynamic` / `vet --probe`) starts the server process and performs the MCP initialize and listing calls. The server's own startup code may run or reach the network, so run probes in a sandbox. - The bundled `examples/testserver` simulates malicious behavior without performing any dangerous action. - mcprism does not phone home, collect telemetry, or require an account. ## Hardening dependencies If you find a vulnerable dependency, please report it as above. Release artifacts are built with `CGO_ENABLED=0` and published with checksums. Starting with v0.8.4, every release archive listed in `checksums.txt` also has a GitHub artifact attestation that records its build provenance. To verify a downloaded archive, install the GitHub CLI and run: ```sh gh attestation verify mcprism_linux_amd64.tar.gz \ --repo HUA503/mcprism \ --signer-workflow HUA503/mcprism/.github/workflows/release.yml ``` Use the archive filename for the platform you downloaded. The command checks that its digest matches a signed attestation from this repository's release workflow. Upcoming releases also include a portable `mcprism.intoto.jsonl` attestation bundle as a release asset. For a release that includes this file, verify against the downloaded bundle with: ```sh gh attestation verify mcprism_linux_amd64.tar.gz \ --repo HUA503/mcprism \ --bundle mcprism.intoto.jsonl \ --signer-workflow HUA503/mcprism/.github/workflows/release.yml ``` Download the archive and bundle from the same release. The bundle lets GitHub CLI verify the signed provenance without looking it up through the repository's attestations API.