rust-doctor is distributed as a CLI binary, a library crate, an MCP server, an npm package, and a GitHub Action. Security fixes are released against the latest published version on crates.io and npm. Please upgrade before reporting an issue.
| Version | Supported |
|---|---|
| latest | ✅ |
| older | ❌ |
Do not open a public issue for security problems.
Report privately via one of:
- GitHub's private vulnerability reporting
- Email: arthur.jean@strivex.fr
Please include: affected version, reproduction steps, and the impact you observed. You will get an acknowledgement within 72 hours and a remediation timeline after triage. Coordinated disclosure is appreciated — we will credit you in the release notes unless you prefer otherwise.
rust-doctor reads and analyzes untrusted source code, and the MCP server can be pointed at untrusted projects. In-scope concerns:
- Path traversal / arbitrary file writes — the
--fixwriter and the MCP server must stay within the target project root. - Command/argument injection — analysis passes spawn external
cargosubcommands; crafted project metadata must not inject arguments. - MCP server hardening — the scanned directory must resolve under
$HOME, runs offline by default, enforces a 5-minute timeout, and sanitizes paths in error messages. - Resource exhaustion — subprocess output is bounded and passes time out.
Out of scope: vulnerabilities in the external tools rust-doctor invokes
(cargo-audit, cargo-deny, cargo-geiger, etc.) — report those upstream.