Rosbag MCP Server

rosbag-mcp PyPI v0.2.0

Published by cjh1995-ros — no publish provenance, so origin is unverified, but the source is public: the repository link below is self-declared yet readable, so you can inspect the code before adopting it.

Trust grade
A
93/100
Last scanned
Trust
A · 93/100
Adoption risk for you: the threat score, then adjusted down for blast radius, publisher verification and how much the scan could see. Deterministic; every point is auditable.
Capability
High
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
A Why this grade threat 100 − adoption risk = 93/100

The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.

1. Threat score — 100 − 0 = 100. What the published surface and source actually contain:

The deterministic scan raised no scored threat in the surface it inspected — the threat score stayed at 100. Capability observations and advisory notes are recorded but never lower it.

2. Client adoption risk — 100 − 7 = 93. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:

PointsAdoption-risk factor
−6 capability blast radius (high) — client exposure if the model is manipulated
−1 publisher verification (public source) — no provenance, but the source is public and inspectable
inspection depth (source) — how much of the target the scan could see

Capability observations and info notes are shown under Findings but never scored. Open any row's finding below for the file, line and evidence behind a deduction.

Findings 40

high Read-and-egress in one tool: "export_to_csv"MTC-FLOW-003

Tool "export_to_csv" can both read sensitive data and send data to an external destination. Even without an explicit untrusted-input leg, this is a single-call data-exfiltration path if the model is ever manipulated.

Fix: Separate reading from sending; require explicit user confirmation before egress of file/secret contents.

Location: flow export_to_csv

high Read-and-egress in one tool: "analyze_wheel_slip"MTC-FLOW-003

Tool "analyze_wheel_slip" can both read sensitive data and send data to an external destination. Even without an explicit untrusted-input leg, this is a single-call data-exfiltration path if the model is ever manipulated.

Fix: Separate reading from sending; require explicit user confirmation before egress of file/secret contents.

Location: flow analyze_wheel_slip

high Sensitive-source and external-sink co-existMTC-FLOW-004

Tools that read sensitive data ([set_bag_path, bag_info, get_message_at_time, get_messages_in_range, search_messages, filter_bag, analyze_mcl_divergence, analyze_trajectory, analyze_lidar_scan, analyze_logs, get_tf_tree, get_image_at_time, plot_timeseries, plot_2d, plot_lidar_scan, get_topic_schema, analyze_imu, analyze_topic_stats, compare_topics, export_to_csv, detect_events, analyze_costmap_violations, analyze_path_tracking, analyze_wheel_slip, analyze_navigation_health, analyze_lidar_timeseries, plot_comparison, analyze_pointcloud2, analyze_joint_states, analyze_diagnostics]) and tools that can send data out ([export_to_csv, analyze_wheel_slip]) are exposed together. An agent can move private data to the sink.

Evidence: sources [set_bag_path, bag_info, get_message_at_time, get_messages_in_range, search_messages, filter_bag, analyze_mcl_divergence, analyze_trajectory, analyze_li

Fix: Keep secret-reading and egress capabilities on separate, separately-approved servers.

Location: flow set_bag_path → export_to_csv

high Tool "analyze_wheel_slip" exposes command/code executionMTC-CAP-001

Tool "analyze_wheel_slip" appears to run shell commands or evaluate code (parameter "cmd"). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.

Fix: Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.

Location: tool analyze_wheel_slip

medium Unconstrained command parameter "cmd_vel_topic" on "analyze_wheel_slip"MTC-CAP-006

Tool "analyze_wheel_slip" takes a command-shaped parameter "cmd_vel_topic" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.

Fix: Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.

Location: tool analyze_wheel_slip · inputSchema.properties.cmd_vel_topic

medium Unconstrained command parameter "cmd_vel_field" on "analyze_wheel_slip"MTC-CAP-006

Tool "analyze_wheel_slip" takes a command-shaped parameter "cmd_vel_field" with no enum/pattern constraint. Free-form, model- or attacker-controlled arguments reaching a shell is the command-injection precondition.

Fix: Constrain the parameter (enum/pattern), or build the command from a fixed template with escaped args.

Location: tool analyze_wheel_slip · inputSchema.properties.cmd_vel_field

low Mutating tool "analyze_wheel_slip" declares no destructiveHintMTC-CAP-005

Tool "analyze_wheel_slip" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.

Fix: Declare accurate annotations, and gate destructive tools on user confirmation regardless.

Location: tool analyze_wheel_slip

low Unconstrained path parameter "path" on "set_bag_path"MTC-CAP-008

Tool "set_bag_path" takes a path parameter "path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool set_bag_path · inputSchema.properties.path

low Unconstrained path parameter "bag_path" on "bag_info"MTC-CAP-008

Tool "bag_info" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool bag_info · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "get_message_at_time"MTC-CAP-008

Tool "get_message_at_time" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool get_message_at_time · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "get_messages_in_range"MTC-CAP-008

Tool "get_messages_in_range" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool get_messages_in_range · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "search_messages"MTC-CAP-008

Tool "search_messages" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool search_messages · inputSchema.properties.bag_path

low Unconstrained path parameter "output_path" on "filter_bag"MTC-CAP-008

Tool "filter_bag" takes a path parameter "output_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool filter_bag · inputSchema.properties.output_path

low Unconstrained path parameter "bag_path" on "filter_bag"MTC-CAP-008

Tool "filter_bag" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool filter_bag · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "analyze_mcl_divergence"MTC-CAP-008

Tool "analyze_mcl_divergence" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool analyze_mcl_divergence · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "analyze_trajectory"MTC-CAP-008

Tool "analyze_trajectory" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool analyze_trajectory · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "analyze_lidar_scan"MTC-CAP-008

Tool "analyze_lidar_scan" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool analyze_lidar_scan · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "analyze_logs"MTC-CAP-008

Tool "analyze_logs" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool analyze_logs · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "get_tf_tree"MTC-CAP-008

Tool "get_tf_tree" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool get_tf_tree · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "get_image_at_time"MTC-CAP-008

Tool "get_image_at_time" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool get_image_at_time · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "plot_timeseries"MTC-CAP-008

Tool "plot_timeseries" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool plot_timeseries · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "plot_2d"MTC-CAP-008

Tool "plot_2d" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool plot_2d · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "plot_lidar_scan"MTC-CAP-008

Tool "plot_lidar_scan" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool plot_lidar_scan · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "get_topic_schema"MTC-CAP-008

Tool "get_topic_schema" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool get_topic_schema · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "analyze_imu"MTC-CAP-008

Tool "analyze_imu" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool analyze_imu · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "analyze_topic_stats"MTC-CAP-008

Tool "analyze_topic_stats" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool analyze_topic_stats · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "compare_topics"MTC-CAP-008

Tool "compare_topics" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool compare_topics · inputSchema.properties.bag_path

low Unconstrained path parameter "output_path" on "export_to_csv"MTC-CAP-008

Tool "export_to_csv" takes a path parameter "output_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool export_to_csv · inputSchema.properties.output_path

low Unconstrained path parameter "bag_path" on "export_to_csv"MTC-CAP-008

Tool "export_to_csv" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool export_to_csv · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "detect_events"MTC-CAP-008

Tool "detect_events" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool detect_events · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "analyze_costmap_violations"MTC-CAP-008

Tool "analyze_costmap_violations" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool analyze_costmap_violations · inputSchema.properties.bag_path

low Unconstrained path parameter "path_topic" on "analyze_path_tracking"MTC-CAP-008

Tool "analyze_path_tracking" takes a path parameter "path_topic" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool analyze_path_tracking · inputSchema.properties.path_topic

low Unconstrained path parameter "bag_path" on "analyze_path_tracking"MTC-CAP-008

Tool "analyze_path_tracking" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool analyze_path_tracking · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "analyze_wheel_slip"MTC-CAP-008

Tool "analyze_wheel_slip" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool analyze_wheel_slip · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "analyze_navigation_health"MTC-CAP-008

Tool "analyze_navigation_health" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool analyze_navigation_health · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "analyze_lidar_timeseries"MTC-CAP-008

Tool "analyze_lidar_timeseries" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool analyze_lidar_timeseries · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "plot_comparison"MTC-CAP-008

Tool "plot_comparison" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool plot_comparison · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "analyze_pointcloud2"MTC-CAP-008

Tool "analyze_pointcloud2" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool analyze_pointcloud2 · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "analyze_joint_states"MTC-CAP-008

Tool "analyze_joint_states" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool analyze_joint_states · inputSchema.properties.bag_path

low Unconstrained path parameter "bag_path" on "analyze_diagnostics"MTC-CAP-008

Tool "analyze_diagnostics" takes a path parameter "bag_path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool analyze_diagnostics · inputSchema.properties.bag_path

Tools 31

Each tool and what it can reach — statically extracted from the published source.

  • analyze_wheel_slipruns code / shellreads sensitive data
  • export_to_csvnetwork egressreads sensitive data
  • analyze_costmap_violationsreads sensitive data
  • analyze_diagnosticsreads sensitive data
  • analyze_imureads sensitive data
  • analyze_joint_statesreads sensitive data
  • analyze_lidar_scanreads sensitive data
  • analyze_lidar_timeseriesreads sensitive data
  • analyze_logsreads sensitive data
  • analyze_mcl_divergencereads sensitive data
  • analyze_navigation_healthreads sensitive data
  • analyze_path_trackingreads sensitive data
  • analyze_pointcloud2reads sensitive data
  • analyze_topic_statsreads sensitive data
  • analyze_trajectoryreads sensitive data
  • bag_inforeads sensitive data
  • compare_topicsreads sensitive data
  • detect_eventsreads sensitive data
  • filter_bagreads sensitive data
  • get_image_at_timereads sensitive data
  • get_message_at_timereads sensitive data
  • get_messages_in_rangereads sensitive data
  • get_tf_treereads sensitive data
  • get_topic_schemareads sensitive data
  • plot_2dreads sensitive data
  • plot_comparisonreads sensitive data
  • plot_lidar_scanreads sensitive data
  • plot_timeseriesreads sensitive data
  • search_messagesreads sensitive data
  • set_bag_pathreads sensitive data
  • list_bagsno sensitive capability

Toxic flows 3

Cross-tool combinations that form a data-exfiltration primitive (untrusted input → sensitive source → external sink).

What this scan could not see

Versions

Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.

VersionScoreFindingsEngineScanned
v0.2.0 latest A 93/100 40 1.8.0 2026-07-23

Embed this score

Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.

MCP Trust Score: A · 93/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/rosbag-mcp/badge.svg)](https://mcptrustchecker.com/registry/rosbag-mcp)
HTML
<a href="https://mcptrustchecker.com/registry/rosbag-mcp"><img src="https://mcptrustchecker.com/registry/rosbag-mcp/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/rosbag-mcp/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.

npx mcptrustchecker scan rosbag-mcp --online --registry pypi

Use the free API → How scoring works

More in Developer Tools