High-risk tools in Cargo MCP Server
7 of the 11 tools in Cargo MCP Server are classified as high risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at high risk
-
cargo_benchExecuteRun benchmarks.
-
cargo_buildExecuteBuild a Rust project with Cargo. Compiles the project and its dependencies.
-
cargo_checkExecuteCheck a Rust project for errors without building it.
-
cargo_clippyExecuteRun Clippy linter on a Rust project.
-
cargo_docExecuteGenerate documentation for a Rust project.
-
cargo_runExecuteRun a Rust binary with Cargo.
-
cargo_testExecuteRun tests for a Rust project with Cargo.
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.