MCP, MCP server
Ruby Sdk
The official Ruby SDK for the Model Context Protocol servers and clients.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 9e2b3f7c1f8e.
NETWORK_NO_FIXED_HOST OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
conformance/client.rb, line 130
query = URI.decode_www_form(callback_holder.fetch(:url).query).to_h - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
test/mcp/client/oauth/flow_test.rb, line 1
# frozen_string_literal: true
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
conformance/client.rb, line 130
query = URI.decode_www_form(callback_holder.fetch(:url).query).to_h
examples/http_client.rb, line 31
response = http.request(request)
examples/http_client.rb, line 71
http.request(request)
Show more
examples/http_client.rb, line 171
response = http.request(request)
examples/streamable_http_client.rb, line 37
http.request(request) do |response|
examples/streamable_http_client.rb, line 95
http.request(request) do |response|
examples/streamable_http_server_oauth.rb, line 61
DEV_SECRET = DEV_MODE ? ENV.fetch("DEV_SECRET") { SecureRandom.hex(32) } : nil
examples/streamable_http_server_oauth.rb, line 165
curl -i #{RESOURCE_URL} \\
Secrets
Pass
No read of a credential file or secret environment variable found.
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
test/mcp/client/oauth/flow_test.rb, line 1
# frozen_string_literal: true
test/mcp/server/transports/streamable_http_transport_test.rb, line 1
# frozen_string_literal: true
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 9e2b3f7c1f8e. can reach a host that is not written as a fixed address. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 9e2b3f7c1f8e3a0ff2e62a0bb5126898b26a1a68
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.