D

Public audit · 2026-04-23

modelcontextprotocol/python-sdk

Overall: D (60/100) · v0.2 scan · 6 axes · LLM prompt-injection probe

SkillAudit report — modelcontextprotocol/python-sdk

Scanned 2026-04-23 by SkillAudit v0.2 (static checks + LLM-assisted prompt-injection red-team).
Commit: 3d7b311 · Stars: 22747 · Days since last push: 0
LLM prompt-injection probe: skipped — set ANTHROPIC_API_KEY to enable the LLM-assisted prompt-injection red-team

Overall grade: D (60/100)

AxisScoreGrade
security60/100D
permissions100/100A
credentials90/100A
maintenance90/100A
compatibility100/100A
docs100/100A

Security findings

Production sources:

subprocess.run([cmd, "--version"], check=True, capture_output=True, shell=True)

Test-site findings (lower weight): 25 total in test/ paths — first 3 shown

response = requests.post(

tools_response = requests.post(

response = requests.post(

Permissions

_No findings on this axis._

Credentials

Production sources:

examples/clients/simple-chatbot/mcp_simple_chatbot/.env.example

Maintenance

Production sources:

442 open

Compatibility

_No findings on this axis._

Documentation

_No findings on this axis._


Methodology

SkillAudit v0.2 clones the repo at the provided ref (default: default branch, HEAD) into an ephemeral sandbox, runs six static checks over .js/.ts/.py sources, queries the GitHub API for maintenance signals, and runs an LLM-assisted prompt-injection red-team over the MCP tool surface. Each axis is scored against the rubric at .

The prompt-injection axis extracts each server.tool(...) / @app.tool registration + the first ~60 lines of handler body, hands them to Claude Haiku 4.5 with a red-team system prompt, and asks for structured findings on untrusted-content flow into tool responses. One API call per scan, bounded at ~15K input tokens.

How to improve this grade

_Report generated by skillaudit.dev_

Want your repo audited?

First 100 audits go to waitlist signups in order. The engine runs against public GitHub URLs today.

Join the waitlist →