hackafterdark/context-sherpa
Context Sherpa MCP server provides code mapping, deterministic feedback loops, and tiered inference for AI coding agents to increase accuracy and optimize token usage.
a44cdfced57egithub.com/hackafterdark/context-sherpaPaths 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 7 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
- 11 source files could be read only in part
Top risks in plain words
- CRITICAL13 production dependencies have known vulnerabilities (worst: critical).
- HIGHTool with a name computed at run time reads or writes any file path by design: an agent steered by prompt injection can use it 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
pkg/mcp/server.go:537can 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
pkg/mcp/server.go:537, switch them off. - Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Update its vulnerable packages
Use
dompurify3.4.13 or later,echarts6.1.0 or later,github.com/buger/jsonparser1.1.2 or later,github.com/gorilla/websocket1.5.1 or later and 9 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 17 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.
astGrepScanHandler, getSymbolMapHandler, initializeScipHandler, listSymbolsInFileHandler, scanCodeHandler, scanPathHandler and 1 moreaddOrUpdateRuleHandler, analyze_impact_triage, check_rule_compliance, classify_repo_intent, generate_structural_pattern, listSymbolsInFileHandler and 5 moreanalyze_impact_triage, astGrepScanHandler, check_rule_compliance, classify_repo_intent, generate_structural_pattern, getSymbolMapHandler and 10 moreNo tool was seen to: connect to the internet or other hosts; read passwords, tokens or keys; 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.
- files11 tools · addOrUpdateRuleHandler, analyze_impact_triage, check_rule_compliance +8
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 (17: 17 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
addOrUpdateRuleHandlertool Filesoutside text
No description.
analyze_impact_triagetool Scans a list of SCIP references to identify which call sites are most likely to be affected by a change.FilesEnv varsoutside text
Scans a list of SCIP references to identify which call sites are most likely to be affected by a change.
astGrepScanHandlertool ProcessesEnv vars
No description.
check_rule_compliancetool Validates a code snippet against the project-specific rules/ directory.FilesEnv varsoutside text
Validates a code snippet against the project-specific rules/ directory.
classify_repo_intenttool (The Router) Determines which Sherpa tool (Symbolic, Structural, or Semantic) is best suited for a user's high-level query.FilesEnv varsoutside text
(The Router) Determines which Sherpa tool (Symbolic, Structural, or Semantic) is best suited for a user's high-level query.
generate_structural_patterntool Translates natural language into a valid ast-grep S-expression or pattern.FilesEnv varsoutside text
Translates natural language into a valid ast-grep S-expression or pattern.
getSymbolMapHandlertool ProcessesEnv vars
No description.
initializeScipHandlertool ProcessesEnv vars
No description.
listSymbolsInFileHandlertool ProcessesFilesEnv varsoutside text
No description.
list_local_modelstool List available models from the configured local inference engine (Ollama/LM Studio).FilesEnv varsoutside text
List available models from the configured local inference engine (Ollama/LM Studio).
pull_inference_modeltool Requests the local inference engine (Ollama/LM Studio) to download a new model.FilesEnv varsoutside text
Requests the local inference engine (Ollama/LM Studio) to download a new model.
query_local_reasoningtool (The Fallback) A catch-all tool for asking any open-ended semantic question about a code snippet that doesn't fit a specific template.FilesEnv varsoutside text
(The Fallback) A catch-all tool for asking any open-ended semantic question about a code snippet that doesn't fit a specific template.
scanCodeHandlertool ProcessesEnv vars
No description.
scanPathHandlertool ProcessesEnv vars
No description.
searchDefinitionsHandlertool ProcessesEnv vars
No description.
summarize_code_intenttool Distills raw code into a 3-sentence functional summary (Inputs, Outputs, Side-effects).FilesEnv varsoutside text
Distills raw code into a 3-sentence functional summary (Inputs, Outputs, Side-effects).
switch_local_modeltool Changes the preferred model in the Hub settings.FilesEnv varsoutside text
Changes the preferred model in the Hub settings.
Text the model reads (17)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
query_local_reasoning tool
(The Fallback) A catch-all tool for asking any open-ended semantic question about a code snippet that doesn't fit a specific template.
list_local_models tool
List available models from the configured local inference engine (Ollama/LM Studio).
switch_local_model tool
Changes the preferred model in the Hub settings.
pull_inference_model tool
Requests the local inference engine (Ollama/LM Studio) to download a new model.
classify_repo_intent tool
(The Router) Determines which Sherpa tool (Symbolic, Structural, or Semantic) is best suited for a user's high-level query.
summarize_code_intent tool
Distills raw code into a 3-sentence functional summary (Inputs, Outputs, Side-effects).
generate_structural_pattern tool
Translates natural language into a valid ast-grep S-expression or pattern.
analyze_impact_triage tool
Scans a list of SCIP references to identify which call sites are most likely to be affected by a change.
check_rule_compliance tool
Validates a code snippet against the project-specific rules/ directory.
scanCodeHandler tool
scanPathHandler tool
getSymbolMapHandler tool
listSymbolsInFileHandler tool
searchDefinitionsHandler tool
initializeScipHandler tool
addOrUpdateRuleHandler tool
astGrepScanHandler tool
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 — 17 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 — 17 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file path1 finding the scanner could not decide; see the findings below
- Requests any addressNo tool sends a request to an address the caller supplies — 17 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 — 17 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processes7 of 17 capabilities start processes; 10 more call code the scanner could not follow, where it may happen
- Tools that touch files11 of 17 capabilities touch files; 6 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 17 capabilities; 17 more call code the scanner could not follow, where it may happen
Where the code is: 17 handlers in 1 file at commit a44cdfced57e
- 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 manifests3 manifests: frontend/package.json, frontend/wailsjs/runtime/package.json, go.mod
- Lockfiles checked against OSV3 files resolved and checked against the OSV database
- Known vulnerabilities in production dependencies CRITICAL13 production packages with known advisories
- Known vulnerabilities in other dependencies11 packages with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK versiongithub.com/mark3labs/mcp-go v0.41.1
- 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 17 capabilities; 17 more call code the scanner could not follow, where it may happen
- Environment variables16 capabilities read environment variables (often API keys)
- 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 (8 only in code no tool reaches)
- 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 (13 in production)
golang.org/x/cryptoGo v0.41.0 CRITICAL 34 advisories 0.43.00.45.00.52.0+3 more
- CRITICALGHSA-f5wc-c3c7-36mc CVE-2026-39832 GO-2026-5006golang.org/x/crypto doesn't drop invoking agent constraints when forwarding keys
- CRITICALGHSA-vgwf-h737-ff37 CVE-2026-39830 GO-2026-5017golang.org/x/crypto: Invoking client can cause server deadlock on unexpected responses
- CRITICALGHSA-5cgq-3rg8-m6cv CVE-2026-42508 GO-2026-5021golang.org/x/crypto vulnerable to auth bypass via unenforced @revoked status
- CRITICALGHSA-89gr-r52h-f8rx CVE-2026-39831 GO-2026-5019golang.org/x/crypto: FIDO/U2F security key physical presence check can be bypassed
- CRITICALGHSA-rm3j-f69w-wqmq CVE-2026-39834 GO-2026-5020golang.org/x/crypto vulnerable to infinite loop on large channel writes
- CRITICALGHSA-x527-x647-q7gg CVE-2026-46595 GO-2026-5023golang.org/x/crypto: Invoking VerifiedPublicKeyCallback permissions skip enforcement
- CRITICALGHSA-jppx-rxg9-jmrx CVE-2026-39833 GO-2026-5005golang.org/x/crypto doesn't enforce invoking key constraints
- HIGHGHSA-w879-237q-wc7r CVE-2026-39829 GO-2026-5018golang.org/x/crypto: Invoking pathological RSA/DSA parameters may cause DoS
- HIGHGHSA-q4h4-gmj2-qvw2 CVE-2026-46597 GO-2026-5013golang.org/x/crypto: Invoking byte arithmetic causes underflow and panic
- MEDIUMGO-2026-5006 CVE-2026-39832 GHSA-f5wc-c3c7-36mcInvoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent
- MEDIUMGO-2026-6303 CVE-2026-56854Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5017 CVE-2026-39830 GHSA-vgwf-h737-ff37Invoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5013 CVE-2026-46597 GHSA-q4h4-gmj2-qvw2Invoking byte arithmetic causes underflow and panic in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5015 CVE-2026-39835 GHSA-78mq-xcr3-xm33Invoking server panic during CheckHostKey/Authenticate in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5033 CVE-2026-46598 GHSA-9m57-25v3-79x9Invoking pathological inputs can lead to client panic in golang.org/x/crypto/ssh/agent
- MEDIUMGO-2026-5005 CVE-2026-39833 GHSA-jppx-rxg9-jmrxInvoking key constraints not enforced in golang.org/x/crypto/ssh/agent
- MEDIUMGO-2025-4116 CVE-2025-47913 GHSA-56w8-48fp-6mgvPotential denial of service in golang.org/x/crypto/ssh/agent
- MEDIUMGO-2026-5016 CVE-2026-39827 GHSA-qpw4-5x99-6vjpInvoking memory leak when rejecting channels can lead to DoS in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5932The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues
- MEDIUMGO-2026-5021 CVE-2026-42508 GHSA-5cgq-3rg8-m6cvInvoking auth bypass via unenforced @revoked status in golang.org/x/crypto/ssh/knownhosts
- MEDIUMGO-2026-6355 CVE-2026-56855Prevent DoS on deadlocked established channel in golang.org/x/crypto/ssh
- MEDIUMGHSA-j5w8-q4qc-rx2x CVE-2025-58181 GO-2025-4134golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumption
- MEDIUMGO-2026-5018 CVE-2026-39829 GHSA-w879-237q-wc7rInvoking pathological RSA/DSA parameters may cause DoS in golang.org/x/crypto/ssh
- MEDIUMGHSA-9m57-25v3-79x9 CVE-2026-46598 GO-2026-5033golang.org/x/crypto: Invoking pathological inputs can lead to client panic
- MEDIUMGHSA-f6x5-jh6r-wrfv CVE-2025-47914 GO-2025-4135golang.org/x/crypto/ssh/agent vulnerable to panic if message is malformed due to out of bounds read
- MEDIUMGO-2025-4135 CVE-2025-47914 GHSA-f6x5-jh6r-wrfvMalformed constraint may cause denial of service in golang.org/x/crypto/ssh/agent
- MEDIUMGO-2026-5019 CVE-2026-39831 GHSA-89gr-r52h-f8rxInvoking bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5020 CVE-2026-39834 GHSA-rm3j-f69w-wqmqInvoking infinite loop on large channel writes in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5014 CVE-2026-39828 GHSA-45gg-vh54-h5m9Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh
- MEDIUMGHSA-qpw4-5x99-6vjp CVE-2026-39827 GO-2026-5016golang.org/x/crypto: Invoking memory leak when rejecting channels can lead to DoS
- MEDIUMGO-2026-6354 CVE-2026-78662Prevent DoS on deadlocked undecided channel in golang.org/x/crypto/ssh
- MEDIUMGO-2025-4134 CVE-2025-58181 GHSA-j5w8-q4qc-rx2xUnbounded memory consumption in golang.org/x/crypto/ssh
- MEDIUMGHSA-78mq-xcr3-xm33 CVE-2026-39835 GO-2026-5015golang.org/x/crypto is vulnerable to invoking server panic during CheckHostKey/Authenticate flow
- MEDIUMGHSA-45gg-vh54-h5m9 CVE-2026-39828 GO-2026-5014golang.org/x/crypto vulnerable to invoking bypass of certificate restrictions
github.com/labstack/echo/v4Go v4.13.3 CRITICAL 28 advisories 4.15.24.15.34.16.0+2 more
- CRITICALGHSA-cxf3-9h37-7rr8 CVE-2026-118264 GO-2026-6839Echo: Rejected WebSocket upgrades can bypass Echo route-level access controls
- HIGHGHSA-375p-5qhx-8wq4 CVE-2026-118650 GO-2026-6873Echo's middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served path
- HIGHGHSA-f48p-c9v4-h7xv CVE-2026-118260 GO-2026-6840Echo: BodyDump captures request and response bodies without size limits in v4
- HIGHGHSA-h7wr-284f-5qvc CVE-2026-118261 GO-2026-6842Echo: Decompress permits unbounded gzip expansion in v4
- HIGHGHSA-vfp3-v2gw-7wfq CVE-2026-55677 GO-2026-6293Echo: Encoded slash (%2F) bypasses route-level protection and exposes static files
- MEDIUMGHSA-3pmx-cf9f-34xr CVE-2026-118654 GO-2026-6881Echo static file middleware route protection bypass via encoded dot-dot traversal
- MEDIUMGO-2026-6885 CVE-2026-118655 GHSA-xwq5-6cqp-vx96Echo has a Static Middleware Double-Unescape Path Traversal in github.com/labstack/echo
- MEDIUMGO-2026-6873 CVE-2026-118650 GHSA-375p-5qhx-8wq4URL-encoded path bypasses route/group middleware guarding a statically-served path in github.com/labstack/echo
- MEDIUMGHSA-r7w9-592q-9vg4 CVE-2026-118266 GO-2026-6877Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe Method
- MEDIUMGO-2026-6878 CVE-2026-118658 GHSA-23wf-92cp-8pcjArbitrary Scheme Injection in WWWRedirect/NonWWWRedirect Middlewares via X-Forwarded-Proto in github.com/labstack/echo
- MEDIUMGO-2026-6842 CVE-2026-118261 GHSA-h7wr-284f-5qvcEcho: Decompress permits unbounded gzip expansion in v4 in github.com/labstack/echo
- MEDIUMGO-2026-6293 CVE-2026-55677 GHSA-vfp3-v2gw-7wfqEncoded slash (%2F) bypasses route-level protection and exposes static files in github.com/labstack/echo/v4 and github.com/labstack/echo/v5
- MEDIUMGHSA-h9g5-28mm-hx3g CVE-2026-118652 GO-2026-6876Echo vulnerable to Reflected Cross-Site Scripting (XSS) via unsanitized JSONP callback in Context.JSONP / Context.JSONPBlob
- MEDIUMGHSA-v753-g4cw-jm48 CVE-2026-118656 GO-2026-6883Echo has Open Redirect via Control-Character Prefix Defeating sanitizeURI
- MEDIUMGO-2026-6839 CVE-2026-118264 GHSA-cxf3-9h37-7rr8Echo: Rejected WebSocket upgrades can bypass Echo route-level access controls in github.com/labstack/echo
- MEDIUMGHSA-99jh-6h7p-pp36 CVE-2026-118651 GO-2026-6875Echo: Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default
- MEDIUMGO-2026-6877 CVE-2026-118266 GHSA-r7w9-592q-9vg4Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe Method in github.com/labstack/echo
- MEDIUMGO-2026-6876 CVE-2026-118652 GHSA-h9g5-28mm-hx3gCross-Site Scripting (XSS) via unsanitized JSONP callback in github.com/labstack/echo
- MEDIUMGO-2026-6879 CVE-2026-118657 GHSA-2ffq-g2xg-c22pEcho: HTTPS Redirect and HSTS Bypass via Unconditional Trust of Forwarded Scheme Headers in github.com/labstack/echo
- MEDIUMGO-2026-6881 CVE-2026-118654 GHSA-3pmx-cf9f-34xrEcho static file middleware route protection bypass via encoded dot-dot traversal in github.com/labstack/echo
- MEDIUMGO-2026-6840 CVE-2026-118260 GHSA-f48p-c9v4-h7xvEcho: BodyDump captures request and response bodies without size limits in v4 in github.com/labstack/echo
- MEDIUMGO-2026-6883 CVE-2026-118656 GHSA-v753-g4cw-jm48Echo has Open Redirect via Control-Character Prefix Defeating sanitizeURI in github.com/labstack/echo
- MEDIUMGHSA-246p-cpwv-v3jq CVE-2026-118653 GO-2026-6872Echo has Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration
- MEDIUMGHSA-xwq5-6cqp-vx96 CVE-2026-118655 GO-2026-6885Echo has a Static Middleware Double-Unescape Path Traversal
- MEDIUMGHSA-2ffq-g2xg-c22p CVE-2026-118657 GO-2026-6879Echo: HTTPS Redirect and HSTS Bypass via Unconditional Trust of Forwarded Scheme Headers
- MEDIUMGO-2026-6872 CVE-2026-118653 GHSA-246p-cpwv-v3jqRate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration in github.com/labstack/echo
- MEDIUMGO-2026-6875 CVE-2026-118651 GHSA-99jh-6h7p-pp36Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default in github.com/labstack/echo
- MEDIUMGHSA-23wf-92cp-8pcj CVE-2026-118658 GO-2026-6878Echo has Arbitrary Scheme Injection in WWWRedirect/NonWWWRedirect Middlewares via X-Forwarded-Proto
js-yamlnpm 4.1.1 HIGH 4 advisories 3.15.03.15.13.15.2+4 more
- HIGHGHSA-5p4m-2wfm-xmqjJS-YAML: Quadratic CPU consumption in !!omap resolution (3.x and 4.x) — CVE-2026-59870 fix not backported
- HIGHGHSA-52cp-r559-cp3m CVE-2026-59869js-yaml: YAML merge-key chains can force quadratic CPU consumption
- HIGHGHSA-2883-xcg3-v3hh CVE-2026-84375js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources
- MEDIUMGHSA-h67p-54hq-rp68 CVE-2026-53550JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases
github.com/buger/jsonparserGo v1.1.1 HIGH 2 advisories 1.1.2
- HIGHGHSA-6g7g-w4f8-9c9x CVE-2026-32285 GO-2026-4514github.com/buger/jsonparser has a denial of service vulnerability
- MEDIUMGO-2026-4514 CVE-2026-32285 GHSA-6g7g-w4f8-9c9xDenial of service in github.com/buger/jsonparser
github.com/wailsapp/wails/v2Go v2.11.0 HIGH 2 advisories 2.13.0
- HIGHGHSA-47hv-j4px-h3c9 CVE-2026-34157 GO-2026-6862Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins
- MEDIUMGO-2026-6862 CVE-2026-34157 GHSA-47hv-j4px-h3c9Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins in github.com/wailsapp/wails
dompurifynpm 3.2.7 MEDIUM 21 advisories 2.5.93.3.23.4.0+9 more
- MEDIUMGHSA-39q2-94rc-95cp CVE-2026-65903DOMPurify's ADD_TAGS function form bypasses FORBID_TAGS due to short-circuit evaluation
- MEDIUMGHSA-cmwh-pvxp-8882 CVE-2026-65898DOMPurify: Permanent `ALLOWED_ATTR` pollution via `setConfig()` bypassing the hook clone-guard (incomplete fix of the 3.4.7 hook-pollution patch)
- MEDIUMGHSA-55q2-fjhq-7xh7 CVE-2026-75838DOMPurify: IN_PLACE hook removal leaves a detached subtree executable, causing XSS
- MEDIUMGHSA-h7mw-gpvr-xq4m CVE-2026-41240DOMPurify: FORBID_TAGS bypassed by function-based ADD_TAGS predicate (asymmetry with FORBID_ATTR fix)
- MEDIUMGHSA-h8r8-wccr-v5f2 CVE-2026-65914DOMPurify is vulnerable to mutation-XSS via Re-Contextualization
- MEDIUMGHSA-cj63-jhhr-wcxv CVE-2026-65913DOMPurify USE_PROFILES prototype pollution allows event handlers
- MEDIUMGHSA-v9jr-rg53-9pgp CVE-2026-41238DOMPurify: Prototype Pollution to XSS Bypass via CUSTOM_ELEMENT_HANDLING Fallback
- MEDIUMGHSA-hpcv-96wg-7vj8 CVE-2026-49458DOMPurify: Cross-realm IN_PLACE sanitization leaves executable markup intact via realm-bound `instanceof` checks
- MEDIUMGHSA-crv5-9vww-q3g8 CVE-2026-41239DOMPurify has a SAFE_FOR_TEMPLATES bypass in RETURN_DOM mode
- MEDIUMGHSA-cjmm-f4jc-qw8r CVE-2026-65912DOMPurify ADD_ATTR predicate skips URI validation
- MEDIUMGHSA-v2wj-7wpq-c8vv CVE-2026-0540DOMPurify contains a Cross-site Scripting vulnerability
- MEDIUMGHSA-r47g-fvhr-h676 CVE-2026-49459DOMPurify: IN_PLACE mode preserves attributes of a clobbered root element, allowing XSS via attacker-controlled root DOM
- MEDIUMGHSA-rp9w-3fw7-7cwq CVE-2026-49978DOMPurify IN_PLACE Sanitization Bypass via Attached Shadow Root Inside <template>.content
- MEDIUMGHSA-76mc-f452-cxcm CVE-2026-65902DOMPurify: Hook mutation of `data.allowedTags` / `data.allowedAttributes` permanently pollutes `DEFAULT_ALLOWED_TAGS` / `DEFAULT_ALLOWED_ATTR`
- LOWGHSA-vxr8-fq34-vvx9 CVE-2026-65899DOMPurify: Trusted Types policy survives `clearConfig()` and can poison later `RETURN_TRUSTED_TYPE` output
- LOWGHSA-x4vx-rjvf-j5p4 CVE-2026-65901DOMPurify: `IN_PLACE` mode trusts attacker-controlled `nodeName` on live non-form nodes, allowing script retention and XSS via attacker-supplied DOM objects
- LOWGHSA-gvmj-g25r-r7wr CVE-2026-65900DOMPurify: SAFE_FOR_TEMPLATES bypass - template expressions survive sanitization inside <template> content when using DOM output modes
- LOWGHSA-c2j3-45gr-mqc4 CVE-2026-66010DOMPurify: `CUSTOM_ELEMENT_HANDLING` bypasses `afterSanitizeElements` for allowed custom elements.
- LOWGHSA-mrv2-3pqr-j5jr CVE-2026-116803DOMPurify IN_PLACE: hook that removes a parent or sibling leaves the detached subtree's event handlers armed (incomplete fix for GHSA-p98j-92pf-mc4p)
- LOWGHSA-c6gr-qvv4-5v3f CVE-2026-116802DOMPurify: SMIL attributeName=href guard is skipped when PARSER_MEDIA_TYPE is application/xhtml+xml
- LOWGHSA-6688-9rhm-gjv2 CVE-2026-109345DOMPurify: IN_PLACE returns a force-removed rawtext root whose text carries attacker markup — pure HTML reparse executes
golang.org/x/netGo v0.43.0 MEDIUM 18 advisories 0.45.00.53.00.55.0+4 more
- MEDIUMGO-2026-6603 BIT-golang-2026-78659 CVE-2026-78659HTTP/2 server memory exhaustion due to Trailer headers in net/http
- MEDIUMGO-2026-5029 CVE-2026-25681Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html
- MEDIUMGHSA-5cv4-jp36-h3mw CVE-2026-25680 GO-2026-5028Go Net HTML parser is vulnerable to denial of service
- MEDIUMGO-2026-6611 BIT-golang-2026-78669 CVE-2026-78669Excessive CPU consumption from repeated initial window changes in net/http
- MEDIUMGO-2026-6617 BIT-golang-2026-97032 CVE-2026-97032HTTP/2 server crash due to HPACK encoder race in net/http
- MEDIUMGO-2026-4918 BIT-golang-2026-33814 CVE-2026-33814Infinite loop in HTTP/2 transport when given bad SETTINGS_MAX_FRAME_SIZE in net/http/internal/http2 in golang.org/x/net
- MEDIUMGO-2026-5027 CVE-2026-42502Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html
- MEDIUMGO-2026-6612 BIT-golang-2026-78663 CVE-2026-78663Double flow control refund on HTTP/2 server streams in net/http
- MEDIUMGO-2026-5026 CVE-2026-39821Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
- MEDIUMGO-2026-6866 CVE-2026-97045Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net
- MEDIUMGO-2026-5030 CVE-2026-27136Invoking duplicate attributes can cause XSS in golang.org/x/net/html
- MEDIUMGO-2026-6860 CVE-2026-78661Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net
- MEDIUMGO-2026-4440 CVE-2025-47911 GHSA-w4gw-w5jq-g9jhQuadratic parsing complexity in golang.org/x/net/html
- MEDIUMGO-2026-5942 BIT-golang-2026-46600 CVE-2026-46600Parsing an invalid SVCB or HTTPS RR can panic in golang.org/x/net/dns/dnsmessage
- MEDIUMGO-2026-5028 CVE-2026-25680 GHSA-5cv4-jp36-h3mwInvoking denial of service when parsing arbitrary HTML in golang.org/x/net/html
- MEDIUMGO-2026-5025 CVE-2026-42506Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html
- MEDIUMGO-2026-6610 BIT-golang-2026-78660 CVE-2026-78660HTTP/2 transport accepts malformed framing-related headers in net/http
- MEDIUMGO-2026-4441 CVE-2025-58190Infinite parsing loop in golang.org/x/net
golang.org/x/modGo v0.32.0 MEDIUM 2 advisories 0.40.0
- MEDIUMGO-2026-6180 BIT-golang-2026-56864 CVE-2026-56864Ignore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdb
- MEDIUMGO-2026-6179 BIT-golang-2026-56865 CVE-2026-56865Fix transparency log tile verification bypass in golang.org/x/mod/sumdb/tlog
golang.org/x/textGo v0.33.0 MEDIUM 2 advisories 0.39.00.41.0
- MEDIUMGO-2026-5970 CVE-2026-56852Infinite loop on invalid input in golang.org/x/text
- MEDIUMGO-2026-6629 CVE-2026-56851Panic parsing crafted input in x/text/secure/precis in golang.org/x/text
echartsnpm 6.0.0 MEDIUM 1 advisory 6.1.0
- MEDIUMGHSA-fgmj-fm8m-jvvx CVE-2026-45249Apache ECharts has a cross-site scripting (XSS) vulnerability
github.com/gorilla/websocketGo v1.5.3 MEDIUM 1 advisory 1.5.12024-07-01
- MEDIUMGO-2026-6278 GHSA-w67g-5rqw-f597Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key in github.com/gorilla/websocket
github.com/mark3labs/mcp-goGo v0.41.1 MEDIUM 1 advisory 2026-11-09
- MEDIUMGO-2026-6911SSRF and credential leak via unvalidated redirects and SSE endpoint origin in github.com/mark3labs/mcp-go
golang.org/x/sysGo v0.41.0 MEDIUM 1 advisory 0.44.0
- MEDIUMGO-2026-5024 CVE-2026-39824Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows
11 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
vitenpm 5.4.21 HIGH 8 advisories 6.4.26.4.36.4.4+8 more
- HIGHGHSA-587h-7wmj-h5pm CVE-2026-112942launch-editor: `fs.existsSync()` existence check can be bypassed on Windows
- MEDIUMGHSA-fx2h-pf6j-xcff CVE-2026-53571vite: `server.fs.deny` bypass on Windows alternate paths
- MEDIUMGHSA-r825-w8mm-5pxw CVE-2026-112944launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors
- MEDIUMGHSA-4w7w-66w2-5vf9 CVE-2026-39365Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling
- MEDIUMGHSA-698v-4r3x-3vcv CVE-2026-112943launch-editor: escapeCmdArgs() omits % escaping on Windows
- MEDIUMGHSA-v6wh-96g9-6wx3 CVE-2026-53632launch-editor: NTLMv2 hash disclosure via UNC path handling on Windows
- MEDIUMGHSA-rq7h-c2jc-7f22 CVE-2026-112946Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine
- LOWGHSA-9jrq-w75r-8gcw CVE-2026-112945Vite: Cross origin script execution through Vite custom middleware
brace-expansionnpm 1.1.12 HIGH 7 advisories 1.1.131.1.161.1.17+24 more
- HIGHGHSA-mh99-v99m-4gvg CVE-2026-14257brace-expansion: DoS via unbounded expansion length causing an out-of-memory process crash
- HIGHGHSA-rgw5-rvv9-x895 CVE-2026-69152brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation
- HIGHGHSA-qhr7-859c-m2p7 CVE-2026-102278brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion
- HIGHGHSA-6j4f-fj2g-mc7p CVE-2026-102276brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion
- HIGHGHSA-3jxr-9vmj-r5cp CVE-2026-13149brace-expansion: DoS via exponential-time expansion of consecutive non-expanding {} groups
- MEDIUMGHSA-f886-m6hf-6m8v CVE-2026-33750brace-expansion: Zero-step sequence causes process hang and memory exhaustion
- MEDIUMGHSA-q2hr-2g5m-vwhr CVE-2026-102277brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of service
postcssnpm 8.5.8 HIGH 4 advisories 8.5.108.5.128.5.18+1 more
- HIGHGHSA-6g55-p6wh-862q CVE-2026-45623PostCSS: Arbitrary file read and information disclosure via attacker-controlled sourceMappingURL in CSS comments
- HIGHGHSA-r28c-9q8g-f849 CVE-2026-73646PostCSS: Path Traversal in Previous Source Map Auto-Loading (sourceMappingURL) leads to Arbitrary .map File Disclosure
- MEDIUMGHSA-fxqj-rqcc-2cmp CVE-2026-69153PostCSS: incomplete fix of GHSA-6g55-p6wh-862q — attacker-controlled sourceMappingURL reads arbitrary .map files when `from` is unset
- MEDIUMGHSA-qx2v-qp2m-jg93 CVE-2026-41305PostCSS has XSS via Unescaped </style> in its CSS Stringify Output
nanoidnpm 3.3.11 HIGH 3 advisories 3.3.123.3.163.3.18+3 more
- HIGHGHSA-xwg4-73v4-xw9w CVE-2026-73086nanoid: Integer Overflow or Wraparound
- HIGHGHSA-28wg-ghj8-5hjv CVE-2026-67214nanoid: non-secure generators can loop indefinitely with negative size
- HIGHGHSA-2v37-7h3g-55p8 CVE-2026-67213nanoid: custom generators can loop indefinitely when size is zero
browserslistnpm 4.28.1 HIGH 2 advisories 4.28.7
- HIGHGHSA-c83g-rgw3-j3cx CVE-2026-73089Browserslist: Unbounded memory growth (no cache eviction) via distinct query results, leading to eventual OOM
- HIGHGHSA-73wf-gq98-2v4g CVE-2026-73088Browserslist: Uncaught crash / prototype write via untrusted browserslist-stats.json custom stats (normalizeStats)
flattednpm 3.3.4 HIGH 2 advisories 3.4.03.4.2
- HIGHGHSA-rf6f-7fwh-wjgh CVE-2026-33228Prototype Pollution via parse() in NodeJS flatted
- HIGHGHSA-25h7-pfq9-p65f CVE-2026-32141flatted vulnerable to unbounded recursion DoS in parse() revive phase
source-map-jsnpm 1.2.1 HIGH 1 advisory 1.2.2
- HIGHGHSA-68fv-2mgg-jv7q CVE-2026-93749source-map-js allows event-loop denial of service through indexed source-map section offsets
@humanfs/nodenpm 0.16.7 MEDIUM 1 advisory 0.16.8
- MEDIUMGHSA-p498-v437-472ghumanfs: Recursive copy follows symlinked files and copies data from outside the source tree
baseline-browser-mappingnpm 2.10.0 MEDIUM 1 advisory 2.11.0
- MEDIUMGHSA-w5vr-8v7q-w6rv CVE-2026-45819baseline-browser-mapping process termination on invalid input causes denial of service
esbuildnpm 0.21.5 MEDIUM 1 advisory 0.25.0
- MEDIUMGHSA-67mh-4wv8-2f99esbuild enables any website to send any requests to the development server and read the response
@babel/corenpm 7.29.0 LOW 1 advisory 7.29.68.0.0-rc.6
- LOWGHSA-4x5r-pxfx-6jf8 CVE-2026-49356@babel/core: Arbitrary File Read via sourceMappingURL Comment
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 | github.com/mark3labs/mcp-go v0.41.1 |
| Servers in the code | 1 (context-sherpa 🚀) |
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-03-26 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2025-10-02 |
| Topics | ai mcp mcp-server |
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.