MCP, MCP server
Oauth2 Mcp
Oauth2 Mcp, an MCP server listed in the PlugVet directory.
Compatibility: Not stated.
Grade C
One Medium finding. Read the report before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
NETWORK_HOST_FROM_INPUT
Why this grade
- NETWORK_HOST_FROM_INPUT Medium
A file takes a URL or endpoint as input and has no fixed host list.
lib/oauth2/mcp.rb, line 86
headers = request.fetch(:headers, request.fetch("headers", nil)) if request.respond_to?(:fetch)
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
accepts a host from input, with no fixed list in this file. can reach auth.example.com. The description does not name that host. can reach a host that is not written as a fixed address.
NETWORK_HOST_FROM_INPUT NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
lib/oauth2/mcp.rb, line 86
headers = request.fetch(:headers, request.fetch("headers", nil)) if request.respond_to?(:fetch)
lib/oauth2/mcp.rb, line 122
mapped = mapping.fetch(scope.to_s, [])
lib/oauth2/mcp.rb, line 169
keys = jwks.fetch(:keys, jwks.fetch("keys", jwks))
Show more
lib/oauth2/mcp.rb, line 190
@jwks ||= fetch_json(configuration.fetch("jwks_uri"))
lib/oauth2/mcp.rb, line 282
@algorithms = Array(options.fetch(:algorithms, ["RS256"])).map(&:to_s).freeze
lib/oauth2/mcp.rb, line 283
@leeway = options.fetch(:leeway, 60)
spec/oauth2/mcp_spec.rb, line 222
expect(discovery.configuration.fetch("jwks_uri")).to eq("https://auth.example.com/jwks.json")
spec/oauth2/mcp_spec.rb, line 459
result = env.fetch(OAuth2::MCP::RackMiddleware::AUTHORIZATION_ENV_KEY)
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
.env.local.example, line 4
# COPY THIS FILE TO .env.local
.env.local.example, line 7
# mise loads .env.local via dotenvy, so use KEY=value lines (not shell `export` statements).
.env.local.example, line 9
DEBUG=false # do not allow byebug statements (override in .env.local)
Show more
.env.local.example, line 10
FLOSS_FUNDING_DEBUG=false # extra logging to help diagnose issues (override in .env.local)
.gitignore, line 43
# Local environment overrides (KEY=value, loaded by mise via dotenvy)
.simplecov, line 9
# (with optional machine-local overrides in `.env.local`).
.structuredmerge/kettle-jem.lock, line 74
".env.local.example": 35cb867e8bacb75252a85c29f78899b36d0d1843511ae1ba1fbc7da863b128b3
.structuredmerge/kettle-jem.lock, line 288
".env.local.example":
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Concern
contains a minified payload. contains an encoded blob in a file that should be readable.
OBFUSCATION_ENCODED_BLOB OBFUSCATION_MINIFIED_PAYLOAD
docs/js/jquery.js, line 2
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("disp
docs/js/jquery.js, line 3
f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j
docs/js/jquery.js, line 4
{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==
Show more
docs/css/full_list.css, line 41
background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcHLKysqSkpJqamvT09Pj4+KioqM7OzkRERAwMDGBgYN7e3u
docs/css/full_list.css, line 84
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5
docs/css/style.css, line 745
background: url(data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUh
Licence
Pass
A licence file is present (LICENSE.md).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 3d9a258b4e5b. accepts a host from input, with no fixed list in this file. can reach auth.example.com. The description does not name that host. can reach a host that is not written as a fixed address. reads a credential or environment file. contains a minified payload. contains an encoded blob in a file that should be readable.
Date and source
Date checked:
github.com
Commit graded: 3d9a258b4e5bc5f7c00e1db02233ea3c900d9c27
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.