heizaheiza/Charles-mcp
Charles Proxy MCP server for AI agents with live capture, structured traffic analysis, and agent-friendly tool contracts
eb5d0927739acharles-mcp3.1.0rc1 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 22 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
Top risks in plain words
- CRITICAL10 production dependencies have known vulnerabilities (worst: critical).
- HIGHTools
proxy_by_time,reverse_decode_entry_bodyread or write any file path by design: an agent steered by prompt injection can use them that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
proxy_by_time,reverse_decode_entry_bodycan read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
proxy_by_time,reverse_decode_entry_body, switch them off. - Update its vulnerable packages
Use
anyio4.14.2 or later,brotli1.2.1 or later,certifi2026.10.18 or later,cryptography50.0.0 or later and 6 more. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 34 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
reverse_import_sessionget_recording_snapshot, reverse_decode_entry_bodyreverse_decode_entry_body, reverse_discover_signature_candidates, reverse_get_entry_detail, reverse_query_entries, reverse_replay_entryNo tool was seen to: read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files2 tools · get_recording_snapshot, reverse_decode_entry_body
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (34: 34 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
proxy_by_timetool Deprecated compatibility alias. Prefer canonical live/history/reverse tools.Reads/writes files
Deprecated compatibility alias. Prefer canonical live/history/reverse tools.
Capture traffic for a fixed duration or read the latest saved history package.reverse_decode_entry_bodytool Decode a stored request/response body, including protobuf when a descriptor is provided.FilesNetworkoutside textReads/writes files
Decode a stored request/response body, including protobuf when a descriptor is provided.
analyze_recorded_traffictool Analyze a saved recording snapshot with compact summaries.
Analyze a saved recording snapshot with compact summaries.
HISTORY-PLANE TOOL — only use when the user explicitly references a saved
recording (.chlsj file or 历史录包). For ongoing / 实时 traffic, prefer
start_live_capture + query_live_capture_entries instead.
Preserve recording_path for follow-up detail calls.
Returns structured TrafficSummary items with matched_fields and match_reasons.
Use get_traffic_entry_detail to drill down into a specific entry_id afterwards.charles_statustool Check Charles connectivity and active live-capture state.
Check Charles connectivity and active live-capture state.
Returns recommended_next_action to nudge agents toward the live plane:
when no active capture exists, agents should start_live_capture before
falling back to history-plane tools.filter_functool Deprecated compatibility alias. Prefer canonical live/history/reverse tools.
Deprecated compatibility alias. Prefer canonical live/history/reverse tools.
Filter traffic from a fixed capture window or the latest saved history package.get_capture_analysis_statstool Return coarse traffic class counts for a live capture or saved recording.
Return coarse traffic class counts for a live capture or saved recording.
get_recording_snapshottool Load a saved recording snapshot. This tool never reads the live Charles session.Filesoutside text
Load a saved recording snapshot. This tool never reads the live Charles session.
HISTORY-PLANE TOOL — only use when the user explicitly references a saved
recording (.chlsj file or 历史录包).get_traffic_entry_detailtool Load one traffic entry detail view for drill-down inspection.
Load one traffic entry detail view for drill-down inspection.
Requires entry_id from a prior summary/query call.
Use detail for one confirmed target, not bulk browsing.
For history entries, pass recording_path from the summary.
For live entries, pass capture_id from the summary.
Keep include_full_body=false unless you specifically need the raw body text.group_capture_analysistool Group analyzed traffic so the agent can inspect hot spots with lower token cost.
Group analyzed traffic so the agent can inspect hot spots with lower token cost.
list_recordingstool List saved recording files using an explicit history-oriented tool name.
List saved recording files using an explicit history-oriented tool name.
HISTORY-PLANE TOOL — only use when the user explicitly references saved
recordings (.chlsj files or 历史录包). For ongoing / 实时 traffic, prefer
start_live_capture instead.
Start history analysis here, then preserve recording_path for summary/detail calls.list_sessionstool Deprecated compatibility alias. Prefer canonical live/history/reverse tools.
Deprecated compatibility alias. Prefer canonical live/history/reverse tools.
List historical session files via the legacy tool name.peek_live_capturetool Preview incremental traffic without advancing the cursor.
Preview incremental traffic without advancing the cursor.
Returns compact entry summaries (host/method/path/status only).
This peek call does not consume the current increment.
Safe to call repeatedly — does not consume items.
Use query_live_capture_entries for structured filtering and analysis.query_live_capture_entriestool Analyze the active live capture with structured summary-first filtering.
Analyze the active live capture with structured summary-first filtering.
This is the RECOMMENDED tool for inspecting live / ongoing / 正在发生的 traffic.
Prefer this over query_recorded_traffic / analyze_recorded_traffic
unless the user explicitly names a saved recording (.chlsj).
Use this summary path before calling get_traffic_entry_detail.
Does NOT advance the cursor — safe to call repeatedly with different filters.
Default cursor=0 scans all captured data from the beginning.
Use get_traffic_entry_detail to drill down into a specific entry_id.
Pass `since_seconds=N` to look only at traffic captured in the last N
seconds (relative to "now" at query time). This is the preferred
shortcut when the user asks for "刚才 / 最近 / just now" traffic and
removes the need to thread the cursor through follow-up calls.query_recorded_traffictool Query the latest saved recording. This tool never reads the live Charles session.
Query the latest saved recording. This tool never reads the live Charles session.
HISTORY-PLANE TOOL — only use when the user explicitly references a saved
recording (.chlsj file or 历史录包). For ongoing / 实时 traffic, prefer
start_live_capture + query_live_capture_entries instead.read_live_capturetool Read incremental traffic and advance the cursor.
Read incremental traffic and advance the cursor.
Returns compact entry summaries (host/method/path/status only).
This read call consumes the current increment.
Use query_live_capture_entries for structured filtering instead of this tool.
This tool advances the internal cursor — repeated calls only return new items.reset_environmenttool Reset the Charles environment and restore the saved configuration.
Reset the Charles environment and restore the saved configuration.
reverse_analyze_live_api_flowtool Run a task-oriented live API reverse-analysis workflow on new traffic.
Run a task-oriented live API reverse-analysis workflow on new traffic.
Read summary/report first and expand evidence only as needed.reverse_analyze_live_login_flowtool Run a task-oriented live login/auth reverse-analysis workflow on new traffic.
Run a task-oriented live login/auth reverse-analysis workflow on new traffic.
Read summary/report first and expand evidence only as needed.reverse_analyze_live_signature_flowtool Run a task-oriented live signature reverse-analysis workflow on new traffic.
Run a task-oriented live signature reverse-analysis workflow on new traffic.
Read summary/report first and expand evidence only as needed.reverse_charles_recording_statustool Inspect Charles recording state and optional reverse live-session state.
Inspect Charles recording state and optional reverse live-session state.
reverse_discover_signature_candidatestool Compare multiple requests and rank fields that look signature-related.Network
Compare multiple requests and rank fields that look signature-related.
reverse_get_entry_detailtool Get the canonical detail view for one imported entry.Network
Get the canonical detail view for one imported entry.
Use after candidate selection; this is not a bulk-browsing endpoint.reverse_import_sessiontool Import an official Charles XML/native session into the canonical reverse-analysis store.Processes
Import an official Charles XML/native session into the canonical reverse-analysis store.
reverse_list_capturestool List imported captures from the local SQLite store.
List imported captures from the local SQLite store.
reverse_list_findingstool List persisted findings from replay or signature-candidate analysis.
List persisted findings from replay or signature-candidate analysis.
reverse_peek_live_entriestool Snapshot the current Charles session and inspect only new entries without advancing the live cursor.
Snapshot the current Charles session and inspect only new entries without advancing the live cursor.
reverse_query_entriestool Query imported entries using route-level filters.Network
Query imported entries using route-level filters.
Use this as the summary-first narrowing step for a reverse capture_id.reverse_read_live_entriestool Snapshot the current Charles session and advance the live cursor to consume new entries.
Snapshot the current Charles session and advance the live cursor to consume new entries.
reverse_replay_entrytool Replay one imported entry with optional mutations and store the experiment result.Network
Replay one imported entry with optional mutations and store the experiment result.
reverse_start_live_analysistool Start a near-real-time live analysis session without using undocumented JSON export.
Start a near-real-time live analysis session without using undocumented JSON export.
Preserve and reuse live_session_id for follow-up reverse live tools.reverse_stop_live_analysistool Stop a reverse live-analysis session and optionally restore Charles recording.
Stop a reverse live-analysis session and optionally restore Charles recording.
start_live_capturetool Start or adopt a live capture session for incremental polling.
Start or adopt a live capture session for incremental polling.
PREFER THIS TOOL when the user wants to inspect ongoing / just-now / 正在发生的 traffic.
This is the default entry point for live-plane analysis;
do NOT default to list_recordings or query_recorded_traffic
unless the user explicitly names a saved recording (.chlsj) or 历史录包.
DEFAULT BEHAVIOR (safe): adopts the user's ongoing Charles session
WITHOUT clearing the traffic that is already there, and ensures Charles
is recording (start_recording is idempotent). The user's currently
captured traffic is preserved.
Pass reset_session=true ONLY when the user explicitly asks to clear /
wipe / 清空 the current Charles session before starting a fresh
capture (e.g. debugging a single isolated flow). Reset is destructive
and cannot be undone by this server.
Returns a capture_id required by all other live tools.
Preserve and reuse capture_id across follow-up live calls.stop_live_capturetool Stop an active live capture and optionally persist the filtered snapshot.
Stop an active live capture and optionally persist the filtered snapshot.
Only status='stopped' means the capture is fully closed.throttlingtool Set a network throttling preset in Charles.
Set a network throttling preset in Charles.
Text the model reads (34)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
reverse_import_session tool
Import an official Charles XML/native session into the canonical reverse-analysis store.
reverse_list_captures tool
List imported captures from the local SQLite store.
reverse_query_entries tool
Query imported entries using route-level filters.
Use this as the summary-first narrowing step for a reverse capture_id.reverse_get_entry_detail tool
Get the canonical detail view for one imported entry.
Use after candidate selection; this is not a bulk-browsing endpoint.reverse_decode_entry_body tool
Decode a stored request/response body, including protobuf when a descriptor is provided.
reverse_replay_entry tool
Replay one imported entry with optional mutations and store the experiment result.
reverse_discover_signature_candidates tool
Compare multiple requests and rank fields that look signature-related.
reverse_list_findings tool
List persisted findings from replay or signature-candidate analysis.
reverse_charles_recording_status tool
Inspect Charles recording state and optional reverse live-session state.
reverse_start_live_analysis tool
Start a near-real-time live analysis session without using undocumented JSON export.
Preserve and reuse live_session_id for follow-up reverse live tools.reverse_peek_live_entries tool
Snapshot the current Charles session and inspect only new entries without advancing the live cursor.
reverse_read_live_entries tool
Snapshot the current Charles session and advance the live cursor to consume new entries.
reverse_stop_live_analysis tool
Stop a reverse live-analysis session and optionally restore Charles recording.
reverse_analyze_live_login_flow tool
Run a task-oriented live login/auth reverse-analysis workflow on new traffic.
Read summary/report first and expand evidence only as needed.reverse_analyze_live_api_flow tool
Run a task-oriented live API reverse-analysis workflow on new traffic.
Read summary/report first and expand evidence only as needed.reverse_analyze_live_signature_flow tool
Run a task-oriented live signature reverse-analysis workflow on new traffic.
Read summary/report first and expand evidence only as needed.analyze_recorded_traffic tool
Analyze a saved recording snapshot with compact summaries.
HISTORY-PLANE TOOL — only use when the user explicitly references a saved
recording (.chlsj file or 历史录包). For ongoing / 实时 traffic, prefer
start_live_capture + query_live_capture_entries instead.
Preserve recording_path for follow-up detail calls.
Returns structured TrafficSummary items with matched_fields and match_reasons.
Use get_traffic_entry_detail to drill down into a specific entry_id afterwards.get_traffic_entry_detail tool
Load one traffic entry detail view for drill-down inspection.
Requires entry_id from a prior summary/query call.
Use detail for one confirmed target, not bulk browsing.
For history entries, pass recording_path from the summary.
For live entries, pass capture_id from the summary.
Keep include_full_body=false unless you specifically need the raw body text.get_capture_analysis_stats tool
Return coarse traffic class counts for a live capture or saved recording.
group_capture_analysis tool
Group analyzed traffic so the agent can inspect hot spots with lower token cost.
query_recorded_traffic tool
Query the latest saved recording. This tool never reads the live Charles session.
HISTORY-PLANE TOOL — only use when the user explicitly references a saved
recording (.chlsj file or 历史录包). For ongoing / 实时 traffic, prefer
start_live_capture + query_live_capture_entries instead.list_recordings tool
List saved recording files using an explicit history-oriented tool name.
HISTORY-PLANE TOOL — only use when the user explicitly references saved
recordings (.chlsj files or 历史录包). For ongoing / 实时 traffic, prefer
start_live_capture instead.
Start history analysis here, then preserve recording_path for summary/detail calls.get_recording_snapshot tool
Load a saved recording snapshot. This tool never reads the live Charles session.
HISTORY-PLANE TOOL — only use when the user explicitly references a saved
recording (.chlsj file or 历史录包).proxy_by_time tool
Deprecated compatibility alias. Prefer canonical live/history/reverse tools.
Capture traffic for a fixed duration or read the latest saved history package.filter_func tool
Deprecated compatibility alias. Prefer canonical live/history/reverse tools.
Filter traffic from a fixed capture window or the latest saved history package.list_sessions tool
Deprecated compatibility alias. Prefer canonical live/history/reverse tools.
List historical session files via the legacy tool name.start_live_capture tool
Start or adopt a live capture session for incremental polling.
PREFER THIS TOOL when the user wants to inspect ongoing / just-now / 正在发生的 traffic.
This is the default entry point for live-plane analysis;
do NOT default to list_recordings or query_recorded_traffic
unless the user explicitly names a saved recording (.chlsj) or 历史录包.
DEFAULT BEHAVIOR (safe): adopts the user's ongoing Charles session
WITHOUT clearing the traffic that is already there, and ensures Charles
is recording (start_recording is idempotent). The user's currently
captured traffic is preserved.
Pass reset_session=true ONLY when the user explicitly asks to clear /
wipe / 清空 the current Charles session before starting a fresh
capture (e.g. debugging a single isolated flow). Reset is destructive
and cannot be undone by this server.
Returns a capture_id required by all other live tools.
Preserve and reuse capture_id across follow-up live calls.read_live_capture tool
Read incremental traffic and advance the cursor.
Returns compact entry summaries (host/method/path/status only).
This read call consumes the current increment.
Use query_live_capture_entries for structured filtering instead of this tool.
This tool advances the internal cursor — repeated calls only return new items.peek_live_capture tool
Preview incremental traffic without advancing the cursor.
Returns compact entry summaries (host/method/path/status only).
This peek call does not consume the current increment.
Safe to call repeatedly — does not consume items.
Use query_live_capture_entries for structured filtering and analysis.stop_live_capture tool
Stop an active live capture and optionally persist the filtered snapshot.
Only status='stopped' means the capture is fully closed.query_live_capture_entries tool
Analyze the active live capture with structured summary-first filtering.
This is the RECOMMENDED tool for inspecting live / ongoing / 正在发生的 traffic.
Prefer this over query_recorded_traffic / analyze_recorded_traffic
unless the user explicitly names a saved recording (.chlsj).
Use this summary path before calling get_traffic_entry_detail.
Does NOT advance the cursor — safe to call repeatedly with different filters.
Default cursor=0 scans all captured data from the beginning.
Use get_traffic_entry_detail to drill down into a specific entry_id.
Pass `since_seconds=N` to look only at traffic captured in the last N
seconds (relative to "now" at query time). This is the preferred
shortcut when the user asks for "刚才 / 最近 / just now" traffic and
removes the need to thread the cursor through follow-up calls.throttling tool
Set a network throttling preset in Charles.
reset_environment tool
Reset the Charles environment and restore the saved configuration.
charles_status tool
Check Charles connectivity and active live-capture state.
Returns recommended_next_action to nudge agents toward the live plane:
when no active capture exists, agents should start_live_capture before
falling back to history-plane tools.What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 34 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 34 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file path HIGH2 findings in proxy_by_time, reverse_decode_entry_body
- Requests any addressNo tool sends a request to an address the caller supplies — 34 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 34 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processes1 of 34 capabilities start processes; 33 more call code the scanner could not follow, where it may happen
- Tools that touch files2 of 34 capabilities touch files; 32 more call code the scanner could not follow, where it may happen
- Tools that call the network5 of 34 capabilities call the network; 29 more call code the scanner could not follow, where it may happen
Where the code is: 34 handlers in 5 files at commit eb5d0927739a
charles_mcp/reverse/server.pyreverse_import_session, reverse_list_captures, reverse_query_entries, reverse_get_entry_detail, reverse_decode_entry_body, reverse_replay_entry, reverse_discover_signature_candidates, reverse_list_findings, reverse_charles_recording_status, reverse_start_live_analysis, reverse_peek_live_entries, reverse_read_live_entries +4charles_mcp/tools/history.pyanalyze_recorded_traffic, get_traffic_entry_detail, get_capture_analysis_stats, group_capture_analysis, query_recorded_traffic, list_recordings, get_recording_snapshotcharles_mcp/tools/legacy.pyproxy_by_time, filter_func, list_sessionscharles_mcp/tools/live.pystart_live_capture, read_live_capture, peek_live_capture, stop_live_capture, query_live_capture_entriescharles_mcp/tools/reset.pythrottling, reset_environment, charles_status
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests2 manifests: pyproject.toml, requirements.txt
- Lockfiles checked against OSV2 files resolved and checked against the OSV database; 2 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; requirements.txt: 9 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile
- Known vulnerabilities in production dependencies CRITICAL10 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionmcp >=1.25.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 34 capabilities; 34 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (10 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
pyjwtPyPI 2.12.1 CRITICAL 30 advisories 2.13.02.14.02.15.0
- CRITICALGHSA-ffc3-869f-jxw9 CVE-2026-102268 PYSEC-2026-4145PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
- HIGHGHSA-p4g4-x82p-q773 CVE-2026-102271 PYSEC-2026-4149PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
- HIGHGHSA-pxh4-856f-4h89PyJWT: HS256/384/512 verify accepts empty HMAC key via oct JWK (PyJWK/PyJWKClient) enabling token forgery
- HIGHGHSA-9v7f-9g4p-ffgj CVE-2026-102267 PYSEC-2026-4144PyJWT: PyJWKClient follows redirects when fetching JWKS
- HIGHGHSA-xgmm-8j9v-c9wx CVE-2026-48526 PYSEC-2026-179PyJWT: Public-key JWK accepted as HMAC secret enables forged HS256 tokens when mixed families are allowed
- MEDIUMPYSEC-2026-4146 CVE-2026-103001 GHSA-gvp8-978c-rx2qPyJWT.decode() reintroduces options-dict mutation, enabling silent claim-verification bypass on dict reuse
- MEDIUMGHSA-w7vc-732c-9m39 CVE-2026-48525 PYSEC-2026-178PyJWT: Unauthenticated DoS via unbounded Base64URL decoding of unused payload segment in b64=false detached JWS
- MEDIUMPYSEC-2026-4145 CVE-2026-102268 GHSA-ffc3-869f-jxw9PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
- MEDIUMGHSA-2gx3-rcp4-g85q CVE-2026-101917 PYSEC-2026-4140PyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
- MEDIUMGHSA-993g-76c3-p5m4 CVE-2026-48522 PYSEC-2026-175PyJWKClient: missing scheme allowlist enables CVE-2024-21643-class SSRF + token forgery via file://, ftp://, data: schemes
- MEDIUMPYSEC-2026-4152 CVE-2026-102274 GHSA-w6j9-cwv2-h6wqPyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
- MEDIUMGHSA-jwrc-g2q2-pq5p CVE-2026-102270 PYSEC-2026-4148PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
- MEDIUMPYSEC-2026-175 CVE-2026-48522 GHSA-993g-76c3-p5m4PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient passes its uri argument directly to urllib.request.urlopen() which uses Python stdlib's default OpenerDirector registering HTTPHandler, HTTPSHandler, FTPHandler, FileHandler, and DataHandler. There is currently no documented option to restrict which schemes PyJWKClient will fetch. If an application's jku URL ingestion path accepts attacker-influenced URLs (e.g., from JWT header, configuration file, OAuth flow parameter), the attacker can cause PyJWKClient to read arbitrary local files via file:// (SSRF on local filesystem), cause PyJWKClient to attempt FTP / data-URI fetches (broader SSRF surface), or forge tokens that PyJWT verifies as valid. The library does not directly return non-HTTP(S) URI contents to the attacker; the chained "plant a JWKS to forge tokens" scenario described in the original report requires additional application-layer flaws (attacker write access to a filesystem path, untrusted jku derivation) that this fix does not address. This vulnerability is fixed in 2.13.0.
- MEDIUMPYSEC-2026-4144 CVE-2026-102267 GHSA-9v7f-9g4p-ffgjPyJWT: PyJWKClient follows redirects when fetching JWKS
- MEDIUMGHSA-x33g-cr3x-6449 CVE-2026-102275 PYSEC-2026-4183PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion
- MEDIUMPYSEC-2026-4147 CVE-2026-102269 GHSA-hxm8-2xgr-2p9mPyJWT: Non-canonical signature segments enable raw-token revocation bypass
- MEDIUMPYSEC-2026-4183 CVE-2026-102275 GHSA-x33g-cr3x-6449PyJWT is a Python implementation of JSON Web Token standards. From 2.1.0 until 2.15.0, PyJWT OKPAlgorithm.from_jwk in jwt/algorithms.py is affected because private-JWK import path does not compare the public key derived from d with x. This occurs when an OKP private JWK supplies non-corresponding x and d components. As a result, identity derived from x can differ from operations performed with d. Consequently, if an integration also accepts private key parameters from a proof header without rejecting them, an attacker may use a stolen sender-constrained token without the legitimate private key. This issue is fixed in version 2.15.0.
- MEDIUMGHSA-gvp8-978c-rx2q CVE-2026-103001 PYSEC-2026-4146PyJWT.decode() reintroduces options-dict mutation, enabling silent claim-verification bypass on dict reuse
- MEDIUMPYSEC-2026-4140 CVE-2026-101917 GHSA-2gx3-rcp4-g85qPyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
- MEDIUMPYSEC-2026-4148 CVE-2026-102270 GHSA-jwrc-g2q2-pq5pPyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
- MEDIUMGHSA-w6j9-cwv2-h6wq CVE-2026-102274 PYSEC-2026-4152PyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
- MEDIUMPYSEC-2026-178 CVE-2026-48525 GHSA-w7vc-732c-9m39PyJWT is a JSON Web Token implementation in Python. From 2.8.0 to 2.12.1, when verifying detached JWS tokens using the unencoded-payload option ("b64": false, RFC 7797), PyJWT performs Base64URL decoding of the compact-serialization payload segment before enforcing the detached-payload rules. For b64=false, PyJWT later discards that decoded payload and replaces it with the caller-provided detached_payload. In practice, this turns the middle segment into an attacker-controlled “work amplifier”: a remote client can supply an arbitrarily large Base64URL payload segment that forces CPU work + memory allocations even if the signature is invalid. This creates an unauthenticated DoS vector against any endpoint that verifies detached JWS using PyJWT. This vulnerability is fixed in 2.13.0.
- MEDIUMGHSA-42vr-xj54-vc7v CVE-2026-101918 PYSEC-2026-4141PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
- MEDIUMPYSEC-2026-4141 CVE-2026-101918 GHSA-42vr-xj54-vc7vPyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
- MEDIUMGHSA-jq35-7prp-9v3f CVE-2026-48523 PYSEC-2026-176PyJWT: Algorithm allow-list bypass when decoding with `PyJWK` / `PyJWKClient` keys
- MEDIUMPYSEC-2026-4149 CVE-2026-102271 GHSA-p4g4-x82p-q773PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
- MEDIUMPYSEC-2026-177 CVE-2026-48524 GHSA-fhv5-28vv-h8m8PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient.get_signing_key() forces a fresh HTTP request to the JWKS endpoint for every JWT with an unknown kid value, with no rate limiting. Since kid comes from the unverified token header, an attacker can trigger unlimited outbound requests. The vulnerability surfaces only when a JWKS fetch fails; an attacker can attempt to provoke that with sustained unknown-kid traffic, but the outcome depends on upstream JWKS-endpoint behavior (rate limiting, transient errors) which is beyond the attacker's control. This vulnerability is fixed in 2.13.0.
- MEDIUMGHSA-hxm8-2xgr-2p9m CVE-2026-102269 PYSEC-2026-4147PyJWT: Non-canonical signature segments enable raw-token revocation bypass
- MEDIUMPYSEC-2026-179 CVE-2026-48526 GHSA-xgmm-8j9v-c9wxPyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, when the verifier is decoding JSON Web Tokens, while supporting both asymmetric and HMAC algorithms, the library does not validate use of JSON Web Keys in HMAC algorithm, allowing attacker to use the issuer public key as the secret key for HMAC algorithm. This vulnerability is fixed in 2.13.0.
- LOWGHSA-fhv5-28vv-h8m8 CVE-2026-48524 PYSEC-2026-177PyJWKClient unbounded JWKS endpoint requests via attacker-controlled kid values (DoS)
anyioPyPI 4.13.0 CRITICAL 4 advisories 4.14.2
- CRITICALGHSA-82r6-8w77-94w6 CVE-2026-63374 PYSEC-2026-4025AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
- MEDIUMPYSEC-2026-4024 CVE-2026-64847 GHSA-5p39-cfhj-2xmpAnyIO process-pool workers can block indefinitely on undrained stderr
- MEDIUMPYSEC-2026-4025 CVE-2026-63374 GHSA-82r6-8w77-94w6AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
- MEDIUMGHSA-5p39-cfhj-2xmp CVE-2026-64847 PYSEC-2026-4024AnyIO process-pool workers can block indefinitely on undrained stderr
brotliPyPI 1.2.0 CRITICAL 2 advisories 1.2.1
- CRITICALGHSA-9v8h-qqgm-4m35 BIT-brotli-2026-111497 BIT-dotnet-2026-111497 BIT-dotnet-sdk-2026-111497 BIT-node-2026-111497 BIT-node-min-2026-111497 BIT-powershell-2026-111497 CVE-2026-111497 GHSA-c9gr-gmg4-2vqv GO-2026-6888 PYSEC-2026-4322 PYSEC-2026-4323Brotli: Out-of-bounds write in the Brotli decoder ("Node2Shell") also affects the PyPI Brotli package
- MEDIUMPYSEC-2026-4322 BIT-brotli-2026-111497 BIT-dotnet-2026-111497 BIT-dotnet-sdk-2026-111497 BIT-node-2026-111497 BIT-node-min-2026-111497 BIT-powershell-2026-111497 CVE-2026-111497 GHSA-9v8h-qqgm-4m35 GHSA-c9gr-gmg4-2vqv GO-2026-6888 PYSEC-2026-4323Out-of-bounds write in the Brotli decoder ("Node2Shell") also affects the PyPI Brotli package
certifiPyPI 2026.2.25 CRITICAL 2 advisories 2026.10.18
- CRITICALGHSA-6q48-6c7w-9gw2 PYSEC-2026-4320certifi bundles emSign root CAs with compromised intermediate CA keys
- MEDIUMPYSEC-2026-4320 GHSA-6q48-6c7w-9gw2certifi bundles emSign root CAs with compromised intermediate CA keys
mcpPyPI 1.27.0 HIGH 11 advisories 1.27.21.28.11.30.0+1 more
- HIGHGHSA-vj7q-gjh5-988w CVE-2026-59950 PYSEC-2026-3483MCP Python SDK: WebSocket server transport does not support Host/Origin validation
- HIGHGHSA-jpw9-pfvf-9f58 CVE-2026-52869 PYSEC-2026-3482MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
- HIGHGHSA-hvrp-rf83-w775 CVE-2026-52870 PYSEC-2026-3481MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks
- HIGHGHSA-qx49-fqc8-xw99 CVE-2026-115563Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
- MEDIUMGHSA-5h93-6whr-6q8j CVE-2026-116685Model Context Protocol Python SDK: HTTP client transports followed cross-origin redirects carrying custom headers and bodies
- MEDIUMGHSA-rwrf-2pqf-9j8j CVE-2026-116686Model Context Protocol Python SDK: Client fetched server-chosen $ref URLs while validating tool results against output schemas
- MEDIUMPYSEC-2026-3481 CVE-2026-52870 GHSA-hvrp-rf83-w775MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks
- MEDIUMGHSA-w4fh-qvv9-3v23 CVE-2026-116684Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource server
- MEDIUMPYSEC-2026-3483 CVE-2026-59950 GHSA-vj7q-gjh5-988wMCP Python SDK: WebSocket server transport does not support Host/Origin validation
- MEDIUMGHSA-84m7-p3x7-pcfv CVE-2026-59951MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion
- MEDIUMPYSEC-2026-3482 CVE-2026-52869 GHSA-jpw9-pfvf-9f58MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
python-multipartPyPI 0.0.26 HIGH 10 advisories 0.0.270.0.300.0.31
- HIGHGHSA-5rvq-cxj2-64vf CVE-2026-53539 PYSEC-2026-3036python-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
- HIGHGHSA-pp6c-gr5w-3c5g CVE-2026-42561 PYSEC-2026-3039python-multipart has Denial of Service via unbounded multipart part headers
- MEDIUMPYSEC-2026-3037 CVE-2026-53538 GHSA-6jv3-5f52-599mpython-multipart: Semicolon treated as querystring field separator enables parameter smuggling
- MEDIUMPYSEC-2026-3041 CVE-2026-53537 GHSA-vffw-93wf-4j4qpython-multipart: Content-Disposition parameter smuggling via RFC 2231/5987 extended parameters
- MEDIUMPYSEC-2026-3039 CVE-2026-42561 GHSA-pp6c-gr5w-3c5gpython-multipart has Denial of Service via unbounded multipart part headers
- MEDIUMPYSEC-2026-3040 CVE-2026-53540 GHSA-v9pg-7xvm-68hfpython-multipart: Negative Content-Length in parse_form buffers the entire body in memory
- MEDIUMPYSEC-2026-3036 CVE-2026-53539 GHSA-5rvq-cxj2-64vfpython-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
- LOWGHSA-vffw-93wf-4j4q CVE-2026-53537 PYSEC-2026-3041python-multipart: Content-Disposition parameter smuggling via RFC 2231/5987 extended parameters
- LOWGHSA-v9pg-7xvm-68hf CVE-2026-53540 PYSEC-2026-3040python-multipart: Negative Content-Length in parse_form buffers the entire body in memory
- LOWGHSA-6jv3-5f52-599m CVE-2026-53538 PYSEC-2026-3037python-multipart: Semicolon treated as querystring field separator enables parameter smuggling
starlettePyPI 1.0.0 HIGH 10 advisories 1.0.11.1.01.3.0+1 more
- HIGHGHSA-82w8-qh3p-5jfq CVE-2026-54283 PYSEC-2026-249Starlette: request.form() limits silently ignored for application/x-www-form-urlencoded enable DoS
- HIGHGHSA-wqp7-x3pw-xc5r CVE-2026-48818 PYSEC-2026-2281Starlette: SSRF and NTLM credential theft via UNC paths in StaticFiles on Windows
- MEDIUMPYSEC-2026-2281 CVE-2026-48818 GHSA-wqp7-x3pw-xc5rStarlette is a lightweight ASGI framework/toolkit. In versions 1.0.1 and earlier, StaticFiles on Windows is vulnerable to SSRF. An UNC path such as \\\\attacker.com\\share can cause os.path.realpath to initiate an outbound SMB connection before the path is rejected, exposing the service account’s NTLMv2 credentials for offline cracking or relay even though the HTTP response is only a 404. The issue affects default follow_symlink=False deployments, including frameworks built on Starlette such as FastAPI; POSIX systems and follow_symlink=True are unaffected. The issue is fixed in 1.1.0.
- MEDIUMPYSEC-2026-161 CVE-2026-48710 GHSA-86qp-5c8j-p5mr X41-2026-002BadHost: Missing Host header validation poisons request.url.path, bypassing path-based security checks
- MEDIUMPYSEC-2026-248 CVE-2026-54282 GHSA-jp82-jpqv-5vv3Starlette is a lightweight ASGI framework/toolkit. Prior to 1.3.0, the HTTP request path is not validated before being used to reconstruct request.url. Because request.url is rebuilt by concatenating {scheme}://{host}{path} and re-parsing the result, a path that does not begin with / (for example @google.com) moves the authority boundary during re-parsing, so request.url.hostname and request.url.netloc become attacker-controlled. Code that reads request.url.hostname (rather than the Host header or scope) can therefore be misled into trusting an attacker-supplied host. This vulnerability is fixed in 1.3.0.
- MEDIUMGHSA-86qp-5c8j-p5mr CVE-2026-48710 PYSEC-2026-161 X41-2026-002Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks
- MEDIUMPYSEC-2026-249 CVE-2026-54283 GHSA-82w8-qh3p-5jfqStarlette is a lightweight ASGI framework/toolkit. From 0.4.1 until 1.3.1, request.form() accepts max_fields and max_part_size to bound resource consumption while parsing form data. These limits are enforced for multipart/form-data, but silently ignored for application/x-www-form-urlencoded. An unauthenticated attacker can therefore send a urlencoded body with an arbitrarily large number of fields or an arbitrarily large field, even when the application configured limits it believed would apply. This vulnerability is fixed in 1.3.1.
- MEDIUMGHSA-x746-7m8f-x49c CVE-2026-48817 PYSEC-2026-2280Starlette: Arbitrary HTTP method dispatched to `HTTPEndpoint` attributes via `getattr`
- MEDIUMPYSEC-2026-2280 CVE-2026-48817 GHSA-x746-7m8f-x49cStarlette is a lightweight ASGI framework/toolkit. In versions 1.0.1 and below, when dispatching a request, HTTPEndpoint selects the handler by lowercasing the HTTP method and looking it up as an attribute with getattr, without restricting the lookup to a known set of HTTP verbs. When an HTTPEndpoint subclass is registered through Route(...) without an explicit methods= argument, the route does not constrain the method and every method reaches the endpoint. If a non-standard HTTP method whose lowercased name matches an attribute on the endpoint subclass reaches the endpoint, that attribute is invoked as if it were a request handler. An attacker can use this to reach methods that were never meant to be HTTP handlers, such as internal helpers, without the authorization checks applied by the intended public handler. An application (including Starlette-based frameworks like FastAPI) is affected if it registers an HTTPEndpoint subclass via Route(...) without explicitly setting methods=, and that subclass includes extra methods named like non-standard HTTP verbs that take one request argument and return a response. This issue has been fixed in version 1.1.0.
- LOWGHSA-jp82-jpqv-5vv3 CVE-2026-54282 PYSEC-2026-248Starlette: Unvalidated request path concatenated into authority poisons request.url.hostname
cryptographyPyPI 46.0.7 HIGH 7 advisories 48.0.149.0.050.0.0
- HIGHGHSA-g6cj-pr64-35w5 CVE-2026-69247 PYSEC-2026-3552cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
- HIGHGHSA-537c-gmf6-5ccfVulnerable OpenSSL included in cryptography wheels
- HIGHGHSA-jwv3-5hgf-82ww CVE-2026-69249 PYSEC-2026-3553python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
- MEDIUMGHSA-m2h6-j472-rp4c CVE-2026-69248 PYSEC-2026-3554python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
- MEDIUMPYSEC-2026-3553 CVE-2026-69249 GHSA-jwv3-5hgf-82wwpython-cryptography: Duplicate self-signed intermediates can cause exponential path-building
- MEDIUMPYSEC-2026-3554 CVE-2026-69248 GHSA-m2h6-j472-rp4cpython-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
- MEDIUMPYSEC-2026-3552 CVE-2026-69247 GHSA-g6cj-pr64-35w5cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
idnaPyPI 3.11 MEDIUM 2 advisories 3.15
- MEDIUMGHSA-65pc-fj4g-8rjx CVE-2026-45409 PYSEC-2026-215Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix
- MEDIUMPYSEC-2026-215 CVE-2026-45409 GHSA-65pc-fj4g-8rjxInternationalized Domain Names in Applications (IDNA) for Python provides support for Internationalized Domain Names in Applications (IDNA) and Unicode IDNA Compatibility Processing. In versions prior to 3.15, payloads such as `"\\u0660" * N` or `"\\u30fb" * N + "\\u6f22"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process. This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. A specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service. Starting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support). A workaround is available. Domain names cannot exceed 253 characters in length. If this length limit is enforced prior to passing the domain to the `idna.encode()` function, it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.
pydantic-settingsPyPI 2.13.1 MEDIUM 1 advisory 2.14.2
- MEDIUMGHSA-4xgf-cpjx-pc3j CVE-2026-58203pydantic-settings: NestedSecretsSettingsSource follows symlinks outside secrets_dir, enabling local file read and bypassing secrets_dir_max_size
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp >=1.25.0 |
| Servers in the code | 2 (CharlesMCPReverse, CharlesMCP) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-06-23 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | MIT |
| Created | 2026-03-06 |
| Topics | ai-agent charles-proxy codex developer-tools mcp mcp-server network-debugging openai |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.