MCP ScannerCustom audit
All servers

sweetcornna/free-search-mcp

Local-first, no-API-key MCP server for web search, fetch, and document reading. Multi-engine (DuckDuckGo, Mojeek, Startpage), smart Playwright fallback, FTS5 cache, LLM-tuned output.

Packagefree-search-mcp
Version0.18.2 in pyproject.toml
Publishersweetcornna community
MCP Registryio.github.sweetcornna/free-search-mcp
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 182Forks 22Last push 2026-11-15
Python 100.0%by source files the scanner reads
Code safetypartly tracedExposure6.1Prompts10.0Supply chain1.5Secrets10.0Transparency10.0
Analysis confidence88%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure6.1/10Fair

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain1.5/10Poor

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

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 140 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
  • 1 of 19 tools, prompts and resources could not be followed through the code
  • 1 place in the code registers tools whose names are computed at run time; how many tools that makes cannot be read from the code

Top risks in plain words

  • CRITICAL15 production dependencies have known vulnerabilities (worst: critical).

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 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 anyio 4.14.2 or later, certifi 2026.10.18 or later, cryptography 50.0.0 or later, httpcore2 2.10.0 or later and 11 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 12 tools, 5 prompts, 2 resources. 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.

Read or write filesopen, create, change or delete files
compare, download, engines, fetch_batch, read_doc, search
6 of 19
Connect to the internet or other hostssend requests or open connections
cache_search, compare, download, fetch, fetch_batch, search
6 of 19
Read passwords, tokens or keysload secrets such as API keys
compare, download, engines, fetch_batch, read_doc, search
6 of 19
Read environment variablesoften where API keys are kept
compare, download, engines, fetch_batch, read_doc, search
6 of 19
Touch sensitive locationssuch as ~/.ssh, cloud credentials or browser data
compare, download, engines, fetch_batch, read_doc, search
6 of 19

No tool was seen to: start other programs on the machine.

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.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

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.

  • files6 tools · compare, download, engines +3

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 (19: 12 tools, 5 prompts, 2 resources)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

compare_sourcesprompt Instruct the model to use `compare` against several URLs and answer
Instruct the model to use `compare` against several URLs and answer
    the question with per-URL citations.
factcheck_promptprompt Instruct the model to fact-check a specific claim with citations.
Instruct the model to fact-check a specific claim with citations.
news_briefprompt Instruct the model to produce a fresh news brief using `search` +
Instruct the model to produce a fresh news brief using `search` +
    `fetch_batch`, with citations.
quick_searchprompt A fast, sourced lookup: the quick-search agent's instructions plus the
A fast, sourced lookup: the quick-search agent's instructions plus the
    question. Run it inline, or hand the text to a subagent on a host that has
    no agent files (Codex's `spawn_agent` takes it as the message).
research_promptprompt Instruct the model to do a thorough, cited research pass on a question.
Instruct the model to do a thorough, cited research pass on a question.
cached_pageresource Return the cached Markdown body for a previously-fetched URL.
Return the cached Markdown body for a previously-fetched URL.

    The URL must be percent-encoded when embedded in the resource URI
    (RFC 6570 templates do not allow `:` or `/` inside variable expansions).
cached_searchresource Return the cached merged result list for a search query hash.
Return the cached merged result list for a search query hash.

    The hash is the same one the aggregator uses internally to key the
    `search_cache` table. Useful for exposing prior `search` invocations
    as MCP resources without re-running them.
(name computed at run time)tool
No description.
cache_searchtool Full-text search over pages already fetched into the local SQLite FTS5 index.Network
Full-text search over pages already fetched into the local SQLite FTS5 index.

    Best for:
    - Recalling something the user/agent fetched earlier in the conversation
      ("what did that Wikipedia page say about X").
    - Avoiding re-fetching content already in the local cache.
    - Quick keyword grep across the corpus you've built up.

    Not recommended for:
    - Discovering new pages on the open web -> use `search` or `research`.
    - When the cache is empty (fresh install) -> `search`/`research` first to
      populate it.

    Returns:
    - markdown (default): a per-hit list of title, URL, and a `[bracket]`-
      highlighted snippet around the matched terms.
    - json: list of {url, title, snippet, author, date, sitename}. The last
      three are "" when the cached row predates metadata capture.

    Common mistakes:
    - Treating this like web search: it ONLY hits pages already in the local
      cache. If the user hasn't fetched anything, you'll get zero hits.
    - Using natural-language phrases without quoting them; FTS5 splits on
      whitespace as AND. For an exact phrase use `"like this"`.

    Args:
        query: FTS5 query. Bare terms = AND. Supports OR / NOT, prefix
            (`term*`), and phrase (`"exact phrase"`).
        limit: Max hits to return.
        format: "markdown" or "json".
comparetool Fetch 2-5 URLs concurrently and return per-URL excerpts so the LLM canFilesNetworkCredentialsEnv varsSensitive pathsoutside text
Fetch 2-5 URLs concurrently and return per-URL excerpts so the LLM can
    compare them against a single question in one round trip.

    Best for:
    - Side-by-side product/feature/article comparisons.
    - "Compare X to Y" or "How does A differ from B" queries.
    - Triangulating a fact across multiple sources.

    Not recommended for:
    - >5 URLs -> use `fetch_batch`.
    - 1 URL -> use `fetch`.
    - Don't have URLs yet -> use `search` or `research` first.

    Returns:
    - markdown (default): a comparison brief with per-URL sections, each
      containing title, sitename, published date, and a smart-truncated excerpt.
    - json: {question, urls, excerpts:[{url, title, excerpt, ...}],
      tokens_estimated}.

    Common mistakes:
    - Asking `compare` to actually answer the question: it returns material,
      the LLM does the comparison.
    - Passing >5 URLs and expecting them all to fit in context: use
      `fetch_batch` for bulk reads.

    Args:
        question: The comparison question the LLM will answer using the
            returned excerpts.
        urls: 2-5 absolute http(s) URLs.
        format: "markdown" (default) or "json".
downloadtool Save a file from a URL to a local, auto-expiring download directory.FilesNetworkCredentialsEnv varsSensitive pathsoutside text
Save a file from a URL to a local, auto-expiring download directory.

    Downloads are enabled by default and saved under
    `SEARCH_MCP_CACHE_DIR/downloads`. Set `SEARCH_MCP_DOWNLOAD_ENABLED=false`
    to disable them or `SEARCH_MCP_DOWNLOAD_DIR` to override the destination.

    Best for:
    - Keeping an actual file (installer, dataset, archive, image) rather than
      its text.
    - Handing a path to another tool that needs a real file on disk.

    Not recommended for:
    - Reading a document's contents -> use `read_doc`, which parses it without
      touching the filesystem.
    - Looking at a web page -> use `fetch`.
    - Viewing an image -> use `fetch(inline=True)`.

    Returns:
    - markdown (default): where the file was saved, its size and type.
    - json: {url, saved_path, media_type, bytes_size, sha256, expires_in_hours}.
      An expires_in_hours value of 0 means TTL cleanup is disabled.

    Retention: files older than SEARCH_MCP_DOWNLOAD_TTL_HOURS (default 24) are
    deleted before the next download and at startup. A value of 0 disables TTL
    cleanup. Otherwise, treat the path as short-lived and copy it elsewhere if
    you need to keep it.

    Args:
        url: Absolute http(s) URL of the file to save.
        format: "markdown" or "json".
enginestool List the available sources, grouped by what they index.FilesCredentialsEnv varsSensitive pathsoutside text
List the available sources, grouped by what they index.

    Best for:
    - Choosing a source deliberately: which one indexes filings, or preprints,
      or Chinese-language pages.
    - Checking a name before passing it to `engines=` on `search` / `research`.

    Not recommended for:
    - Calling on every search: the list is static, so read it once.

    Returns (markdown): a `group -> sub-group -> engine` tree, one line of
    description per engine. `group="paper"` restricts it to that group.
    Returns (json): `{"engines": [...names...], "taxonomy": {...},
    "descriptions": {...}}`.

    Prefer `category=` over `engines=`. `category="paper"` WIDENS: it routes to
    one specialist per sub-group. A dotted sub-group NARROWS: `"paper.biomed"`
    queries only the biomedical indexes. Naming engines explicitly turns that
    routing off entirely, so reach for it only to force a specific source.

    Common mistakes:
    - Passing one of these names as `query`: they belong in `engines=`.
    - Passing a key-only engine with no key configured; it returns an
      actionable error, not results.
extract_structuredtool Pull JSON-LD, OpenGraph, Twitter cards, and microdata from a web page.
Pull JSON-LD, OpenGraph, Twitter cards, and microdata from a web page.

    Best for:
    - Product pages (price, currency, availability, brand, rating).
    - Article pages (author, publish date, image, headline).
    - Recipe / event / video pages where rich metadata IS the answer.
    - Cases where `fetch` returns prose but you need fields.

    Not recommended for:
    - Just reading a page -> use `fetch`.
    - PDFs / DOCX -> use `read_doc`.
    - Pages that don't publish schema.org metadata (most blogs): you'll get
      empty lists; fall back to `fetch`.

    Returns:
    - json: {url, json_ld:[], microdata:[], opengraph:[], rdfa:[]}. Twitter
      card meta tags are surfaced inside the `opengraph` list.
    - markdown (default): a flattened key/value view with each block printed
      as a JSON code block under its syntax heading.

    Common mistakes:
    - Calling on every URL "just in case": most sites have no structured
      data, and `fetch` is what you actually want.

    Args:
        url: Absolute http(s) URL.
        format: "markdown" (default) or "json".
fetchtool Fetch one URL: page text, or a description of a non-text resource.Network
Fetch one URL: page text, or a description of a non-text resource.

    Handles any http(s) resource, not just HTML:
    - HTML pages -> reader-mode Markdown (nav/footer/scripts stripped).
    - PDF/DOCX/XLSX/PPTX/EPUB/CSV/code/archives -> parsed text (same engine as
      `read_doc`, which you should prefer when you need pagination).
    - Images, video, audio, fonts, opaque binaries -> a description
      (media type, byte size, dimensions, sha256), NOT the bytes.

    Best for:
    - You already have a URL (from `search`, the user, or your own knowledge)
      and need the actual page text.
    - Verifying a single claim by reading the source.
    - Checking what a resource IS before deciding to spend tokens on it.

    Not recommended for:
    - Multiple URLs at once -> use `fetch_batch` (concurrent, one round-trip).
    - "Search then read top N" -> use `research` (one call, not two).
    - Long documents you need to page through -> use `read_doc` (start/length).
    - You don't have a URL yet -> use `search` first.

    Returns:
    - markdown (default): a small header (URL, render method, token count)
      plus the cleaned page body.
    - json: {url, title, content, method, truncated, tokens_estimated,
      author, published_date, sitename}, plus {media_type, bytes_size, sha256,
      width, height} for non-text resources.
    - With `inline=True` on an image: the image itself, viewable by a
      vision-capable model.

    Common mistakes:
    - Passing a search query instead of a URL.
    - Using `render="http"` on a JS-only SPA: it returns near-empty content;
      use "auto" (default) or "browser".
    - Setting `inline=True` on a large image out of habit. A 1MB image costs
      well over a thousand tokens; fetch it plainly first and inline only if
      the description says it's worth looking at.
    - Forgetting that results are cached 7 days: use `force_refresh=True`
      or `max_age_hours=0` for a fresh pull. The header says `cached N days ago`
      when you are not looking at the live page; for deadlines, prices and
      anything else that moves, that is the cue to refresh.
    - Reading `no publication date found` as "recent". It means unknown.

    Args:
        url: Absolute http(s) URL.
        render: "auto" (try HTTP, fall back to stealth Chromium), "http"
            (fast, fails on JS), "browser" (slow, robust).
        force_refresh: Bypass the page cache entirely.
        max_age_hours: Treat cached pages older than this as a miss. 0 = same
            as force_refresh. None = server default TTL (7 days).
        inline: For images only. Returns the image itself instead of a
            description, so a vision-capable model can see it. Ignored for
            text resources.
        format: "markdown" or "json".
fetch_batchtool Fetch a list of URLs in parallel. Per-URL failures do not raise.FilesNetworkCredentialsEnv varsSensitive pathsoutside text
Fetch a list of URLs in parallel. Per-URL failures do not raise.

    Best for:
    - 2+ URLs you want to read in one round-trip.
    - Reading the top N results of a previous `search` call.

    Not recommended for:
    - A single URL -> `fetch` (no list-wrapping overhead).
    - "Search and then read" -> `research` collapses both into one tool call.
    - PDFs/DOCX -> `read_doc` per file.

    Returns:
    - markdown (default): each page rendered as a Markdown section, separated
      by horizontal rules; failed URLs become inline error notes.
    - json: list[dict], one entry per URL, with `error` set on failures.

    Common mistakes:
    - Passing a single URL inside a 1-element list: use `fetch` directly.
    - Assuming an exception means the whole batch failed; check each item's
      `error` field instead.

    Args:
        urls: List of absolute http(s) URLs (max 20 per call).
        render: Same as `fetch`.
        format: "markdown" or "json".
paper_graphtool Follow the citations of ONE paper, and check whether it still stands.
Follow the citations of ONE paper, and check whether it still stands.

    `search` finds papers that MENTION your words. This follows the edges
    instead: what a specific paper built on, and what has built on it since.

    Best for:
    - Checking a citation before repeating it: is the DOI real, and has the
      paper been retracted or corrected?
    - "What happened after this result": citing works come back ordered by how
      much the field cited them, so a 2019 paper leads to the current state of
      the art rather than to the most recent preprint about it.
    - Building a reading list backwards from one good paper.

    Not recommended for:
    - Finding papers by topic -> `search(category="paper")`, or a sub-group
      like `"paper.biomed"` / `"paper.cs"` / `"paper.preprint"`.
    - Reading the paper itself -> `read_doc` on the returned URL.

    Returns:
    - markdown (default): the paper with its retraction/correction notices,
      then "References" and "Cited by" sections.
    - json: {paper, references, citations, notes}, where `paper.crossref`
      carries `registered` and every post-publication `notices` entry.

    Common mistakes:
    - Passing a topic instead of a paper. A title resolves to its single best
      match; a phrase that names no specific paper resolves to the wrong one.
    - Reading an empty `citations` list as "uncited" when `notes` says the
      lookup was truncated.

    Args:
        paper: DOI (`10.1145/1571941.1572114`, or a doi.org URL), an OpenAlex
            ID (`W2148972377`), or the paper's exact title.
        direction: "both", "references" (what it cites) or "citations" (what
            cites it).
        limit: Max neighbours per direction, 1-50.
        format: "markdown" or "json".
read_doctool Read an http(s) document (or a sandboxed local file) into Markdown.FilesCredentialsEnv varsSensitive pathsoutside text
Read an http(s) document (or a sandboxed local file) into Markdown.

    Best for:
    - Remote PDFs and DOCX from an http(s) URL (parsed locally, no remote API).
    - Local PDF/DOCX/text/Markdown files, ONLY when local reads are enabled
      (see Security below).
    - Paginating through a long document via `start` / `length`.

    Not recommended for:
    - Arbitrary HTML web pages -> `fetch` does reader-mode cleanup that this
      tool does not.
    - Pages discovered through search -> `fetch` or `research`.

    Security (local files are sandboxed and OFF by default):
    - Local-file reads are DISABLED unless the server operator sets the
      SEARCH_MCP_DOCUMENT_ROOT env var to a directory. With it unset, a local
      path raises a "local file reads are disabled" error. Pass an http(s)
      URL instead, or ask the operator to enable the sandbox.
    - When enabled, `source` must resolve INSIDE that root; relative paths
      resolve against the root (not the process CWD) and any `..` traversal
      that escapes the root is rejected. `file://` URLs are always rejected.
    - Remote http(s) sources are unaffected by this setting.

    Returns:
    - markdown (default): rendered document text with a small header.
    - json: {content, title, format, total_chars, start, returned_chars,
      truncated}. Use `total_chars` and `returned_chars` to drive pagination.

    Common mistakes:
    - Calling this on a normal article URL: you'll get raw HTML noise. Use
      `fetch` instead.
    - Forgetting to advance `start` when paginating: next call should pass
      `start = previous_start + returned_chars`.
    - Passing a negative `length` (raises an error) or a `start` past the end
      (clamped to EOF: you'll get `returned_chars == 0`, `start == total_chars`,
      and `truncated == False`, which is the signal you've paged off the end).

    Args:
        source: http(s) URL, or a local path UNDER SEARCH_MCP_DOCUMENT_ROOT when
            local reads are enabled (disabled by default; see Security).
        start: Character offset to begin reading from. Default 0. Clamped into
            [0, total_chars]; a negative value is treated as 0.
        length: Max characters to return; None = read to end (still capped by
            the per-call max content size). Must be >= 0. A negative length
            is rejected with a ValueError.
        format: "markdown" or "json".
researchtool One-shot research: search the web, fetch the top results, return both.
One-shot research: search the web, fetch the top results, return both.

    Best for:
    - Open-ended questions that need finding sources AND reading them
      ("what's new with X", "summarize the controversy around Y").
    - Replacing a `search` + N x `fetch` chain with one call.
    - Producing a citable brief with [n]-style source references.

    Not recommended for:
    - You only need links -> `search` (cheaper, no fetching).
    - You only need to read one URL you already have -> `fetch`.
    - You want to query previously-fetched cached pages -> `cache_search`.
    - Checking or expanding one paper's citations -> `paper_graph`.

    Returns:
    - markdown (default): a "Research brief" with a Sources index then the
      full Markdown body of each fetched document, separated by horizontal
      rules; includes a token estimate.
    - json: {question, engines, sources:[{rank,title,url,snippet,...}],
      documents:[...], tokens_estimated, errors}.

    Common mistakes:
    - Using `depth=8` for a quick lookup: that's 8 page fetches, and 2-3 is
      almost always enough.
    - Calling `research` for a known URL: that is what `fetch` is for.
    - Forgetting that `fetch=False` returns sources only (much cheaper if
      the LLM only needs to pick which one to read).

    Args:
        question: What you want to know, in natural language.
        depth: How many top results to fetch (1-8). 3 is a good default.
        engines: Override the engine set (see `engines()` for names). Prefer
            `category=`. Naming engines turns category routing off.
        fetch: If False, return source list without reading them.
        freshness: "day"|"week"|"month"|"year". Restricts to recent results.
            Best-effort; undated results are kept rather than dropped.
        include_domains: Restrict to these domains (e.g. ["python.org"]).
        exclude_domains: Drop results from these domains.
        category: Which KIND of source to search; a bare group widens, a dotted
            sub-group narrows. Same values as `search`; see `engines()`.
        include_text: Substring required in title or snippet (case-insensitive).
        exclude_text: Substring forbidden in title or snippet.
        use_cache: Reuse cached search/page data within TTL.
        max_age_hours: Treat cached search results AND cached page bodies older
            than this as a read miss; fresh data is always written back. 0 =
            force-refresh both the engine search and every fetched page body;
            None = server default TTL (7 days). A non-zero value is honored for
            both halves (it used to be ignored for anything but 0).
        format: "markdown" or "json".
searchtool Run a multi-engine web search and return a ranked, deduplicated link list.FilesNetworkCredentialsEnv varsSensitive pathsoutside text
Run a multi-engine web search and return a ranked, deduplicated link list.

    Best for:
    - Discovery queries ("what is X", "find me X", "who is X").
    - Getting a list of URLs you can hand to `fetch` / `fetch_batch` next.
    - Topics likely to be after your knowledge cutoff (use `freshness="week"`).
    - Filtering to specific domains (`include_domains=["python.org"]`) or
      a kind of source (`category="paper"` / `"finance"`, or a sub-group like
      `category="paper.biomed"` / `"finance.filings"`; see `engines()` for the
      full tree).
    - Looking a fact up at its registry, with no category needed: a current
      version or support end date ("latest fastapi version"), a CVE
      ("CVE-2024-3094": NVD record, OSV advisories, CISA exploited status),
      a forecast ("上海明天天气"), an exchange rate ("100 usd to cny": ECB, and
      the PBOC parity for 人民币), a coin price, a country indicator ("china
      gdp", "japan population"), public holidays ("2026年放假安排"), the current
      time in a city, a domain's expiry, a company's legal entity, an iOS
      app's version, Wikidata facts ("Shanghai population"). The source that
      fits the words joins the search and its record arrives as the first
      result with the publisher's date in `dated …`, so it can be cited
      without a fetch. Name the thing plainly. `category=` ("software",
      "security", "weather", "finance.fx", "stats", "calendar", "reference",
      "docs", "gov") asks the same sources explicitly.

    Not recommended for:
    - You already know the URL -> use `fetch` instead.
    - You want both links AND their full text in one call -> use `research`.
    - You want to query pages already in the local cache -> use `cache_search`.
    - Reading PDFs/DOCX from a known URL -> use `read_doc`.
    - Following one paper's references or citations -> use `paper_graph`.

    Returns:
    - markdown (default): numbered list of `n. title`, `<url>`, snippet. About 40%
      fewer tokens than json. When an answer agent is configured
      (`SEARCH_MCP_AGENT_BACKEND`), a short sourced `## Answer` block sits above
      the list; it starts beside the engines and answers from the same result
      set.
    - json: dict with `results` (list of {title,url,snippet,engines,score}),
      `engines`, `cached`, optional `errors` map, optional `hint` string, and
      `agent` ({answer, backend, model, sources, elapsed_seconds} or
      {error}) when an answer agent is configured.
      `engines` is what was actually ASKED for this answer; each result's own
      `engines` is what found it. A default engine that failed recently is not
      asked and appears under `benched_engines` instead; a rescue pass that
      substituted a source appears as `rescued_via`. When the operator has
      signed in to an agent engine (`codex`), it searches beside the keyless
      engines and `agent_lane` reports it ({engines, answered, pending, errors,
      rate_limited, benched, left_out}; `left_out` lists an answer dropped as
      off-topic or unconfirmed);
      one still searching when the links return is merged into the cached
      result set, so the same call repeated later carries its results too.

    Common mistakes:
    - Answering from snippets. A snippet is an engine's summary of a page as it
      looked when crawled: it drops qualifiers and is often years old. Use
      `search` to find the URL, then read the page (`fetch`, `research`) for
      any date, amount, rule, deadline or number you will state.
    - Treating the `## Answer` block as verified. It is one small model's
      reading of the few pages below; read the source page yourself before
      acting on a deadline, price or rule.
    - Treating a result as recent because `freshness=` was set. The filter keeps
      undated results; the header says how many could be dated (`dated: 3/10`)
      and each result is marked `dated …`, `… (from snippet text)` or `undated`.
    - Passing a URL as `query`: that is `fetch`'s job.
    - Cranking `max_results` up hoping for better recall; engines cap around
      10-20 each, anything beyond is duplicate noise (and 50 is the ceiling).
    - Naming engines by default. The default pool is already the set that works
      keylessly over plain HTTP, it benches an engine that starts failing and
      seats a reserve when it gets thin, and naming engines switches all of
      that, and `category=` routing, off. Name engines when you want a
      specific index: `engines=["so360","baidu"]` for Chinese-language sites,
      `engines=["brave"]` (needs the browser) for a second opinion.
    - Using `category="news"` for breaking news without also setting
      `freshness="day"`: the index lags by days.

    Args:
        query: Natural-language query (the same string a human would type).
        engines: Subset of `engines()`. None (recommended) = the health-aware
            default pool: duckduckgo, bing, yahoojp (Google's index) and
            anysearch, plus googlenews when `freshness` is "day"/"week",
            so360 and quark for a Chinese query and naver for a Korean one.
        max_results: Merged result count after dedup, clamped to 1-50. It is
            also the PER-ENGINE budget, so it multiplies across the fan-out;
            5-20 is the useful range and anything past that is duplicate noise
            bought with real latency. Omit it for the configured default.
        use_cache: Reuse the last result for this exact (query, engines,
            max_results, AND all active filters: freshness, include/exclude
            domains, category, include/exclude text) within the cache TTL.
            Changing any filter is a different cache entry. False forces a
            re-fetch.
        max_age_hours: Treat cached results older than this as a read miss; a
            fresh result is ALWAYS written back to the cache regardless of this
            value, so caching is never disabled. Use 0 to force-refresh while
            keeping cache writes; None = use server default TTL (7 days).
        freshness: "day"|"week"|"month"|"year". Restricts to recent results.
            Best-effort: applied as an engine time-window param AND a client-side
            date check, but most HTML-engine results carry no parseable date, so
            undated results are kept rather than dropped (unknown != old). Treat
            it as a strong hint, not a hard filter; googlenews dates are exact.
        include_domains: List of domains to restrict to (e.g. ["python.org"]).
        exclude_domains: List of domains to exclude.
        category: Which KIND of source to search. The enum lists every value.
            A bare group widens: "paper" adds one specialist per sub-group to the
            default web pool. A dotted sub-group narrows to just the sources that
            index it ("paper.biomed" => the biomedical indexes only). It also
            RERANKS: engines that natively index the category count double in
            the fusion, so the filing outranks the commentary about it, and a
            record looked up by the query (a PyPI release, a CVE, an ECB rate,
            a forecast) counts five times, so it leads the list. Call
            `engines()` for the group -> sub-group -> engine tree with a line on
            each source. Two behaviours worth knowing: "image"/"dataset" REPLACE
            the web pool rather than augment it (a web engine cannot return an
            image file), and "news"/"paper"/"forum"/"github"/"blog" also filter
            general-web hits by hostname, so a strict category can thin those
            engines out. The specialists it routes to are exempt.
        include_text: Substring required in title or snippet (case-insensitive).
        exclude_text: Substring forbidden in title or snippet.
        format: "markdown" (default) or "json".

Text the model reads (19)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

(name computed at run time) tool
search tool
Run a multi-engine web search and return a ranked, deduplicated link list.

    Best for:
    - Discovery queries ("what is X", "find me X", "who is X").
    - Getting a list of URLs you can hand to `fetch` / `fetch_batch` next.
    - Topics likely to be after your knowledge cutoff (use `freshness="week"`).
    - Filtering to specific domains (`include_domains=["python.org"]`) or
      a kind of source (`category="paper"` / `"finance"`, or a sub-group like
      `category="paper.biomed"` / `"finance.filings"`; see `engines()` for the
      full tree).
    - Looking a fact up at its registry, with no category needed: a current
      version or support end date ("latest fastapi version"), a CVE
      ("CVE-2024-3094": NVD record, OSV advisories, CISA exploited status),
      a forecast ("上海明天天气"), an exchange rate ("100 usd to cny": ECB, and
      the PBOC parity for 人民币), a coin price, a country indicator ("china
      gdp", "japan population"), public holidays ("2026年放假安排"), the current
      time in a city, a domain's expiry, a company's legal entity, an iOS
      app's version, Wikidata facts ("Shanghai population"). The source that
      fits the words joins the search and its record arrives as the first
      result with the publisher's date in `dated …`, so it can be cited
      without a fetch. Name the thing plainly. `category=` ("software",
      "security", "weather", "finance.fx", "stats", "calendar", "reference",
      "docs", "gov") asks the same sources explicitly.

    Not recommended for:
    - You already know the URL -> use `fetch` instead.
    - You want both links AND their full text in one call -> use `research`.
    - You want to query pages already in the local cache -> use `cache_search`.
    - Reading PDFs/DOCX from a known URL -> use `read_doc`.
    - Following one paper's references or citations -> use `paper_graph`.

    Returns:
    - markdown (default): numbered list of `n. title`, `<url>`, snippet. About 40%
      fewer tokens than json. When an answer agent is configured
      (`SEARCH_MCP_AGENT_BACKEND`), a short sourced `## Answer` block sits above
      the list; it starts beside the engines and answers from the same result
      set.
    - json: dict with `results` (list of {title,url,snippet,engines,score}),
      `engines`, `cached`, optional `errors` map, optional `hint` string, and
      `agent` ({answer, backend, model, sources, elapsed_seconds} or
      {error}) when an answer agent is configured.
      `engines` is what was actually ASKED for this answer; each result's own
      `engines` is what found it. A default engine that failed recently is not
      asked and appears under `benched_engines` instead; a rescue pass that
      substituted a source appears as `rescued_via`. When the operator has
      signed in to an agent engine (`codex`), it searches beside the keyless
      engines and `agent_lane` reports it ({engines, answered, pending, errors,
      rate_limited, benched, left_out}; `left_out` lists an answer dropped as
      off-topic or unconfirmed);
      one still searching when the links return is merged into the cached
      result set, so the same call repeated later carries its results too.

    Common mistakes:
    - Answering from snippets. A snippet is an engine's summary of a page as it
      looked when crawled: it drops qualifiers and is often years old. Use
      `search` to find the URL, then read the page (`fetch`, `research`) for
      any date, amount, rule, deadline or number you will state.
    - Treating the `## Answer` block as verified. It is one small model's
      reading of the few pages below; read the source page yourself before
      acting on a deadline, price or rule.
    - Treating a result as recent because `freshness=` was set. The filter keeps
      undated results; the header says how many could be dated (`dated: 3/10`)
      and each result is marked `dated …`, `… (from snippet text)` or `undated`.
    - Passing a URL as `query`: that is `fetch`'s job.
    - Cranking `max_results` up hoping for better recall; engines cap around
      10-20 each, anything beyond is duplicate noise (and 50 is the ceiling).
    - Naming engines by default. The default pool is already the set that works
      keylessly over plain HTTP, it benches an engine that starts failing and
      seats a reserve when it gets thin, and naming engines switches all of
      that, and `category=` routing, off. Name engines when you want a
      specific index: `engines=["so360","baidu"]` for Chinese-language sites,
      `engines=["brave"]` (needs the browser) for a second opinion.
    - Using `category="news"` for breaking news without also setting
      `freshness="day"`: the index lags by days.

    Args:
        query: Natural-language query (the same string a human would type).
        engines: Subset of `engines()`. None (recommended) = the health-aware
            default pool: duckduckgo, bing, yahoojp (Google's index) and
            anysearch, plus googlenews when `freshness` is "day"/"week",
            so360 and quark for a Chinese query and naver for a Korean one.
        max_results: Merged result count after dedup, clamped to 1-50. It is
            also the PER-ENGINE budget, so it multiplies across the fan-out;
            5-20 is the useful range and anything past that is duplicate noise
            bought with real latency. Omit it for the configured default.
        use_cache: Reuse the last result for this exact (query, engines,
            max_results, AND all active filters: freshness, include/exclude
            domains, category, include/exclude text) within the cache TTL.
            Changing any filter is a different cache entry. False forces a
            re-fetch.
        max_age_hours: Treat cached results older than this as a read miss; a
            fresh result is ALWAYS written back to the cache regardless of this
            value, so caching is never disabled. Use 0 to force-refresh while
            keeping cache writes; None = use server default TTL (7 days).
        freshness: "day"|"week"|"month"|"year". Restricts to recent results.
            Best-effort: applied as an engine time-window param AND a client-side
            date check, but most HTML-engine results carry no parseable date, so
            undated results are kept rather than dropped (unknown != old). Treat
            it as a strong hint, not a hard filter; googlenews dates are exact.
        include_domains: List of domains to restrict to (e.g. ["python.org"]).
        exclude_domains: List of domains to exclude.
        category: Which KIND of source to search. The enum lists every value.
            A bare group widens: "paper" adds one specialist per sub-group to the
            default web pool. A dotted sub-group narrows to just the sources that
            index it ("paper.biomed" => the biomedical indexes only). It also
            RERANKS: engines that natively index the category count double in
            the fusion, so the filing outranks the commentary about it, and a
            record looked up by the query (a PyPI release, a CVE, an ECB rate,
            a forecast) counts five times, so it leads the list. Call
            `engines()` for the group -> sub-group -> engine tree with a line on
            each source. Two behaviours worth knowing: "image"/"dataset" REPLACE
            the web pool rather than augment it (a web engine cannot return an
            image file), and "news"/"paper"/"forum"/"github"/"blog" also filter
            general-web hits by hostname, so a strict category can thin those
            engines out. The specialists it routes to are exempt.
        include_text: Substring required in title or snippet (case-insensitive).
        exclude_text: Substring forbidden in title or snippet.
        format: "markdown" (default) or "json".
fetch tool
Fetch one URL: page text, or a description of a non-text resource.

    Handles any http(s) resource, not just HTML:
    - HTML pages -> reader-mode Markdown (nav/footer/scripts stripped).
    - PDF/DOCX/XLSX/PPTX/EPUB/CSV/code/archives -> parsed text (same engine as
      `read_doc`, which you should prefer when you need pagination).
    - Images, video, audio, fonts, opaque binaries -> a description
      (media type, byte size, dimensions, sha256), NOT the bytes.

    Best for:
    - You already have a URL (from `search`, the user, or your own knowledge)
      and need the actual page text.
    - Verifying a single claim by reading the source.
    - Checking what a resource IS before deciding to spend tokens on it.

    Not recommended for:
    - Multiple URLs at once -> use `fetch_batch` (concurrent, one round-trip).
    - "Search then read top N" -> use `research` (one call, not two).
    - Long documents you need to page through -> use `read_doc` (start/length).
    - You don't have a URL yet -> use `search` first.

    Returns:
    - markdown (default): a small header (URL, render method, token count)
      plus the cleaned page body.
    - json: {url, title, content, method, truncated, tokens_estimated,
      author, published_date, sitename}, plus {media_type, bytes_size, sha256,
      width, height} for non-text resources.
    - With `inline=True` on an image: the image itself, viewable by a
      vision-capable model.

    Common mistakes:
    - Passing a search query instead of a URL.
    - Using `render="http"` on a JS-only SPA: it returns near-empty content;
      use "auto" (default) or "browser".
    - Setting `inline=True` on a large image out of habit. A 1MB image costs
      well over a thousand tokens; fetch it plainly first and inline only if
      the description says it's worth looking at.
    - Forgetting that results are cached 7 days: use `force_refresh=True`
      or `max_age_hours=0` for a fresh pull. The header says `cached N days ago`
      when you are not looking at the live page; for deadlines, prices and
      anything else that moves, that is the cue to refresh.
    - Reading `no publication date found` as "recent". It means unknown.

    Args:
        url: Absolute http(s) URL.
        render: "auto" (try HTTP, fall back to stealth Chromium), "http"
            (fast, fails on JS), "browser" (slow, robust).
        force_refresh: Bypass the page cache entirely.
        max_age_hours: Treat cached pages older than this as a miss. 0 = same
            as force_refresh. None = server default TTL (7 days).
        inline: For images only. Returns the image itself instead of a
            description, so a vision-capable model can see it. Ignored for
            text resources.
        format: "markdown" or "json".
fetch_batch tool
Fetch a list of URLs in parallel. Per-URL failures do not raise.

    Best for:
    - 2+ URLs you want to read in one round-trip.
    - Reading the top N results of a previous `search` call.

    Not recommended for:
    - A single URL -> `fetch` (no list-wrapping overhead).
    - "Search and then read" -> `research` collapses both into one tool call.
    - PDFs/DOCX -> `read_doc` per file.

    Returns:
    - markdown (default): each page rendered as a Markdown section, separated
      by horizontal rules; failed URLs become inline error notes.
    - json: list[dict], one entry per URL, with `error` set on failures.

    Common mistakes:
    - Passing a single URL inside a 1-element list: use `fetch` directly.
    - Assuming an exception means the whole batch failed; check each item's
      `error` field instead.

    Args:
        urls: List of absolute http(s) URLs (max 20 per call).
        render: Same as `fetch`.
        format: "markdown" or "json".
read_doc tool
Read an http(s) document (or a sandboxed local file) into Markdown.

    Best for:
    - Remote PDFs and DOCX from an http(s) URL (parsed locally, no remote API).
    - Local PDF/DOCX/text/Markdown files, ONLY when local reads are enabled
      (see Security below).
    - Paginating through a long document via `start` / `length`.

    Not recommended for:
    - Arbitrary HTML web pages -> `fetch` does reader-mode cleanup that this
      tool does not.
    - Pages discovered through search -> `fetch` or `research`.

    Security (local files are sandboxed and OFF by default):
    - Local-file reads are DISABLED unless the server operator sets the
      SEARCH_MCP_DOCUMENT_ROOT env var to a directory. With it unset, a local
      path raises a "local file reads are disabled" error. Pass an http(s)
      URL instead, or ask the operator to enable the sandbox.
    - When enabled, `source` must resolve INSIDE that root; relative paths
      resolve against the root (not the process CWD) and any `..` traversal
      that escapes the root is rejected. `file://` URLs are always rejected.
    - Remote http(s) sources are unaffected by this setting.

    Returns:
    - markdown (default): rendered document text with a small header.
    - json: {content, title, format, total_chars, start, returned_chars,
      truncated}. Use `total_chars` and `returned_chars` to drive pagination.

    Common mistakes:
    - Calling this on a normal article URL: you'll get raw HTML noise. Use
      `fetch` instead.
    - Forgetting to advance `start` when paginating: next call should pass
      `start = previous_start + returned_chars`.
    - Passing a negative `length` (raises an error) or a `start` past the end
      (clamped to EOF: you'll get `returned_chars == 0`, `start == total_chars`,
      and `truncated == False`, which is the signal you've paged off the end).

    Args:
        source: http(s) URL, or a local path UNDER SEARCH_MCP_DOCUMENT_ROOT when
            local reads are enabled (disabled by default; see Security).
        start: Character offset to begin reading from. Default 0. Clamped into
            [0, total_chars]; a negative value is treated as 0.
        length: Max characters to return; None = read to end (still capped by
            the per-call max content size). Must be >= 0. A negative length
            is rejected with a ValueError.
        format: "markdown" or "json".
research tool
One-shot research: search the web, fetch the top results, return both.

    Best for:
    - Open-ended questions that need finding sources AND reading them
      ("what's new with X", "summarize the controversy around Y").
    - Replacing a `search` + N x `fetch` chain with one call.
    - Producing a citable brief with [n]-style source references.

    Not recommended for:
    - You only need links -> `search` (cheaper, no fetching).
    - You only need to read one URL you already have -> `fetch`.
    - You want to query previously-fetched cached pages -> `cache_search`.
    - Checking or expanding one paper's citations -> `paper_graph`.

    Returns:
    - markdown (default): a "Research brief" with a Sources index then the
      full Markdown body of each fetched document, separated by horizontal
      rules; includes a token estimate.
    - json: {question, engines, sources:[{rank,title,url,snippet,...}],
      documents:[...], tokens_estimated, errors}.

    Common mistakes:
    - Using `depth=8` for a quick lookup: that's 8 page fetches, and 2-3 is
      almost always enough.
    - Calling `research` for a known URL: that is what `fetch` is for.
    - Forgetting that `fetch=False` returns sources only (much cheaper if
      the LLM only needs to pick which one to read).

    Args:
        question: What you want to know, in natural language.
        depth: How many top results to fetch (1-8). 3 is a good default.
        engines: Override the engine set (see `engines()` for names). Prefer
            `category=`. Naming engines turns category routing off.
        fetch: If False, return source list without reading them.
        freshness: "day"|"week"|"month"|"year". Restricts to recent results.
            Best-effort; undated results are kept rather than dropped.
        include_domains: Restrict to these domains (e.g. ["python.org"]).
        exclude_domains: Drop results from these domains.
        category: Which KIND of source to search; a bare group widens, a dotted
            sub-group narrows. Same values as `search`; see `engines()`.
        include_text: Substring required in title or snippet (case-insensitive).
        exclude_text: Substring forbidden in title or snippet.
        use_cache: Reuse cached search/page data within TTL.
        max_age_hours: Treat cached search results AND cached page bodies older
            than this as a read miss; fresh data is always written back. 0 =
            force-refresh both the engine search and every fetched page body;
            None = server default TTL (7 days). A non-zero value is honored for
            both halves (it used to be ignored for anything but 0).
        format: "markdown" or "json".
paper_graph tool
Follow the citations of ONE paper, and check whether it still stands.

    `search` finds papers that MENTION your words. This follows the edges
    instead: what a specific paper built on, and what has built on it since.

    Best for:
    - Checking a citation before repeating it: is the DOI real, and has the
      paper been retracted or corrected?
    - "What happened after this result": citing works come back ordered by how
      much the field cited them, so a 2019 paper leads to the current state of
      the art rather than to the most recent preprint about it.
    - Building a reading list backwards from one good paper.

    Not recommended for:
    - Finding papers by topic -> `search(category="paper")`, or a sub-group
      like `"paper.biomed"` / `"paper.cs"` / `"paper.preprint"`.
    - Reading the paper itself -> `read_doc` on the returned URL.

    Returns:
    - markdown (default): the paper with its retraction/correction notices,
      then "References" and "Cited by" sections.
    - json: {paper, references, citations, notes}, where `paper.crossref`
      carries `registered` and every post-publication `notices` entry.

    Common mistakes:
    - Passing a topic instead of a paper. A title resolves to its single best
      match; a phrase that names no specific paper resolves to the wrong one.
    - Reading an empty `citations` list as "uncited" when `notes` says the
      lookup was truncated.

    Args:
        paper: DOI (`10.1145/1571941.1572114`, or a doi.org URL), an OpenAlex
            ID (`W2148972377`), or the paper's exact title.
        direction: "both", "references" (what it cites) or "citations" (what
            cites it).
        limit: Max neighbours per direction, 1-50.
        format: "markdown" or "json".
cache_search tool
Full-text search over pages already fetched into the local SQLite FTS5 index.

    Best for:
    - Recalling something the user/agent fetched earlier in the conversation
      ("what did that Wikipedia page say about X").
    - Avoiding re-fetching content already in the local cache.
    - Quick keyword grep across the corpus you've built up.

    Not recommended for:
    - Discovering new pages on the open web -> use `search` or `research`.
    - When the cache is empty (fresh install) -> `search`/`research` first to
      populate it.

    Returns:
    - markdown (default): a per-hit list of title, URL, and a `[bracket]`-
      highlighted snippet around the matched terms.
    - json: list of {url, title, snippet, author, date, sitename}. The last
      three are "" when the cached row predates metadata capture.

    Common mistakes:
    - Treating this like web search: it ONLY hits pages already in the local
      cache. If the user hasn't fetched anything, you'll get zero hits.
    - Using natural-language phrases without quoting them; FTS5 splits on
      whitespace as AND. For an exact phrase use `"like this"`.

    Args:
        query: FTS5 query. Bare terms = AND. Supports OR / NOT, prefix
            (`term*`), and phrase (`"exact phrase"`).
        limit: Max hits to return.
        format: "markdown" or "json".
engines tool
List the available sources, grouped by what they index.

    Best for:
    - Choosing a source deliberately: which one indexes filings, or preprints,
      or Chinese-language pages.
    - Checking a name before passing it to `engines=` on `search` / `research`.

    Not recommended for:
    - Calling on every search: the list is static, so read it once.

    Returns (markdown): a `group -> sub-group -> engine` tree, one line of
    description per engine. `group="paper"` restricts it to that group.
    Returns (json): `{"engines": [...names...], "taxonomy": {...},
    "descriptions": {...}}`.

    Prefer `category=` over `engines=`. `category="paper"` WIDENS: it routes to
    one specialist per sub-group. A dotted sub-group NARROWS: `"paper.biomed"`
    queries only the biomedical indexes. Naming engines explicitly turns that
    routing off entirely, so reach for it only to force a specific source.

    Common mistakes:
    - Passing one of these names as `query`: they belong in `engines=`.
    - Passing a key-only engine with no key configured; it returns an
      actionable error, not results.
compare tool
Fetch 2-5 URLs concurrently and return per-URL excerpts so the LLM can
    compare them against a single question in one round trip.

    Best for:
    - Side-by-side product/feature/article comparisons.
    - "Compare X to Y" or "How does A differ from B" queries.
    - Triangulating a fact across multiple sources.

    Not recommended for:
    - >5 URLs -> use `fetch_batch`.
    - 1 URL -> use `fetch`.
    - Don't have URLs yet -> use `search` or `research` first.

    Returns:
    - markdown (default): a comparison brief with per-URL sections, each
      containing title, sitename, published date, and a smart-truncated excerpt.
    - json: {question, urls, excerpts:[{url, title, excerpt, ...}],
      tokens_estimated}.

    Common mistakes:
    - Asking `compare` to actually answer the question: it returns material,
      the LLM does the comparison.
    - Passing >5 URLs and expecting them all to fit in context: use
      `fetch_batch` for bulk reads.

    Args:
        question: The comparison question the LLM will answer using the
            returned excerpts.
        urls: 2-5 absolute http(s) URLs.
        format: "markdown" (default) or "json".
extract_structured tool
Pull JSON-LD, OpenGraph, Twitter cards, and microdata from a web page.

    Best for:
    - Product pages (price, currency, availability, brand, rating).
    - Article pages (author, publish date, image, headline).
    - Recipe / event / video pages where rich metadata IS the answer.
    - Cases where `fetch` returns prose but you need fields.

    Not recommended for:
    - Just reading a page -> use `fetch`.
    - PDFs / DOCX -> use `read_doc`.
    - Pages that don't publish schema.org metadata (most blogs): you'll get
      empty lists; fall back to `fetch`.

    Returns:
    - json: {url, json_ld:[], microdata:[], opengraph:[], rdfa:[]}. Twitter
      card meta tags are surfaced inside the `opengraph` list.
    - markdown (default): a flattened key/value view with each block printed
      as a JSON code block under its syntax heading.

    Common mistakes:
    - Calling on every URL "just in case": most sites have no structured
      data, and `fetch` is what you actually want.

    Args:
        url: Absolute http(s) URL.
        format: "markdown" (default) or "json".
download tool
Save a file from a URL to a local, auto-expiring download directory.

    Downloads are enabled by default and saved under
    `SEARCH_MCP_CACHE_DIR/downloads`. Set `SEARCH_MCP_DOWNLOAD_ENABLED=false`
    to disable them or `SEARCH_MCP_DOWNLOAD_DIR` to override the destination.

    Best for:
    - Keeping an actual file (installer, dataset, archive, image) rather than
      its text.
    - Handing a path to another tool that needs a real file on disk.

    Not recommended for:
    - Reading a document's contents -> use `read_doc`, which parses it without
      touching the filesystem.
    - Looking at a web page -> use `fetch`.
    - Viewing an image -> use `fetch(inline=True)`.

    Returns:
    - markdown (default): where the file was saved, its size and type.
    - json: {url, saved_path, media_type, bytes_size, sha256, expires_in_hours}.
      An expires_in_hours value of 0 means TTL cleanup is disabled.

    Retention: files older than SEARCH_MCP_DOWNLOAD_TTL_HOURS (default 24) are
    deleted before the next download and at startup. A value of 0 disables TTL
    cleanup. Otherwise, treat the path as short-lived and copy it elsewhere if
    you need to keep it.

    Args:
        url: Absolute http(s) URL of the file to save.
        format: "markdown" or "json".
research_prompt prompt
Instruct the model to do a thorough, cited research pass on a question.
factcheck_prompt prompt
Instruct the model to fact-check a specific claim with citations.
compare_sources prompt
Instruct the model to use `compare` against several URLs and answer
    the question with per-URL citations.
news_brief prompt
Instruct the model to produce a fresh news brief using `search` +
    `fetch_batch`, with citations.
quick_search prompt
A fast, sourced lookup: the quick-search agent's instructions plus the
    question. Run it inline, or hand the text to a subagent on a host that has
    no agent files (Codex's `spawn_agent` takes it as the message).
cached_page resource
Return the cached Markdown body for a previously-fetched URL.

    The URL must be percent-encoded when embedded in the resource URI
    (RFC 6570 templates do not allow `:` or `/` inside variable expansions).
cached_search resource
Return the cached merged result list for a search query hash.

    The hash is the same one the aggregator uses internally to key the
    `search_cache` table. Useful for exposing prior `search` invocations
    as MCP resources without re-running them.

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure6.1
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 18 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 18 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 18 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 18 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 18 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 19 capabilities; 13 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    6 of 19 capabilities touch files; 7 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    6 of 19 capabilities call the network; 7 more call code the scanner could not follow, where it may happen
Where the code is: 19 handlers in 1 file at commit 9a59cfc3df5b
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain1.5
  • Dependency manifests
    2 manifests: mcpb/pyproject.toml, pyproject.toml
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 2 not resolved: mcpb/pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies CRITICAL
    15 production packages with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    No MCP SDK declared in a manifest
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    6 of 19 capabilities read credentials; 7 more call code the scanner could not follow, where it may happen
  • Environment variables
    6 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (15 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

PackageInstalledWorstAdvisoriesFixed in
pillowPyPI 12.3.0 CRITICAL 62 advisories 13.0.0
  • CRITICALGHSA-332p-7hrc-92wf BIT-pillow-2026-112393 CVE-2026-112393Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO
  • CRITICALGHSA-v9pv-5gc8-w2m6 BIT-pillow-2026-96639 CVE-2026-96639 PYSEC-2026-4339Pillow multi-frame loaders can reuse stale native image storage after mode transitions
  • CRITICALGHSA-w889-685w-c8fh BIT-pillow-2026-112900 CVE-2026-112900Pillow: Argument Injection in Ghostscript call, potentially leading into RCE
  • CRITICALGHSA-8g5g-8vmr-9782 BIT-pillow-2026-112403 CVE-2026-112403 PYSEC-2026-4332Pillow: Heap buffer overflow in ImagingJpegDecode
  • CRITICALGHSA-5x8w-8jj5-q52h BIT-pillow-2026-112398 CVE-2026-112398 PYSEC-2026-4330Pillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code execution
  • HIGHGHSA-27h8-gf7j-v5hc BIT-pillow-2026-112392 CVE-2026-112392 PYSEC-2026-4326Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images
  • HIGHGHSA-c6hw-5grf-ff96 BIT-pillow-2026-112404 CVE-2026-112404Pillow: OOB read in TiffDecode.c tile and RGBA paths leaks heap memory into pixels
  • HIGHGHSA-xcvg-w56q-r89m CVE-2026-128067Pillow: Heap buffer overflow saving TIFF with libtiff when tags override image size
  • HIGHGHSA-gg2r-wvfm-q9rx BIT-pillow-2026-112892 CVE-2026-112892Pillow: MSP RLE decoder expands a tiny file into unbounded memory
  • HIGHGHSA-xvh5-g6gv-559v BIT-pillow-2026-112902 CVE-2026-112902 PYSEC-2026-4363 Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags
  • HIGHGHSA-58r4-6rv3-gfh8 BIT-pillow-2026-112397 CVE-2026-112397 PYSEC-2026-4329Pillow: Out-of-bounds access in _imagingmorph on a zero-width image
  • HIGHGHSA-f2g6-542v-9j58 BIT-pillow-2026-112406 CVE-2026-112406Pillow: Infinite loop in PdfParser.rewrite_pages on page tree Parent cycle
  • HIGHGHSA-65qm-jvmh-6pqg BIT-pillow-2026-112400 CVE-2026-112400Pillow: GIF seek keeps rejected size after DecompressionBombError, allowing DoS
  • HIGHGHSA-3j72-p6qg-6xp7 BIT-pillow-2026-96642 CVE-2026-96642 PYSEC-2026-4341Pillow: TarIO negative size field causes infinite CPU-spin loop
  • HIGHGHSA-78g4-xqwv-q3g8Pillow: Bundled libopenjp2 2.5.4 in all wheels since 11.1.0 carries OSV-2025-219 heap-buffer-overflow write reachable from Image.open().load()
  • HIGHGHSA-pchr-8j38-3x4p BIT-pillow-2026-112896 CVE-2026-112896 PYSEC-2026-4334Pillow: TIFF encoder ColorMap plane-size mismatch causes a heap out-of-bounds read
  • HIGHGHSA-g7cr-3p24-7wf7 BIT-pillow-2026-96778 CVE-2026-96778Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills buffer
  • HIGHGHSA-g842-9rc4-69pw BIT-pillow-2026-96637 CVE-2026-96637 PYSEC-2026-4338Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocation DoS
  • HIGHGHSA-jg86-v3jv-hrpm BIT-pillow-2026-112894 CVE-2026-112894Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)
  • HIGHGHSA-j4m9-6w36-pw47 BIT-pillow-2026-112893 CVE-2026-112893Pillow: Invalid free in FreeType glyph rendering when a stroker is active
  • HIGHGHSA-q45j-58j2-45rg BIT-pillow-2026-112897 CVE-2026-112897Pillow: TiffDecode returns uninitialized memory as pixels for short JPEG strips
  • HIGHGHSA-p4wg-p73j-c528 BIT-pillow-2026-112895 CVE-2026-112895Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for CVE-2026-42310)
  • HIGHGHSA-mrfp-p49p-3hf2 BIT-pillow-2026-96640 CVE-2026-96640Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion
  • HIGHGHSA-9v9v-9qvf-h2hj BIT-pillow-2026-96644 CVE-2026-96644 PYSEC-2026-4343Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)
  • HIGHGHSA-5xm2-6676-qcp9 BIT-pillow-2026-112399 CVE-2026-112399Pillow: APNG background disposal allocates full canvas before decompression bomb check
  • HIGHGHSA-g4qv-2jxx-769h BIT-pillow-2026-96643 CVE-2026-96643 PYSEC-2026-4342Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic time
  • HIGHGHSA-22hg-r758-rrw9 BIT-pillow-2026-112390 CVE-2026-112390Pillow: Infinite loop in MIC n_frames when the embedded TIFF
  • HIGHGHSA-7mwm-ghpf-9vrm BIT-pillow-2026-112402 CVE-2026-112402 PYSEC-2026-4331Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform
  • HIGHGHSA-cp9v-662q-vvx9 BIT-pillow-2026-112405 CVE-2026-112405 PYSEC-2026-4333Pillow: NULL pointer dereference in Image.merge via an unvalidated band 0
  • MEDIUMPYSEC-2026-4340 BIT-pillow-2026-96641 CVE-2026-96641 GHSA-4rm8-3hmm-39fgPillow is a Python imaging library. Prior to 13.0.0, PILfont text-width accumulation in src/_imaging.c checks positive glyph advances against INT_MAX but does not check negative advances against INT_MIN. Repeating a signed 16-bit advance of -32768 can therefore execute a signed C integer overflow in xsize += dx, producing a large positive width from a negative mathematical result. Applications that use getlength(), getsize(), or derived layout, quota, serialization, or allocation calculations can experience logic-integrity errors or resource consumption, while the high-level mask path commonly retains a decompression-bomb check. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-24rc-8hj2-v98c BIT-pillow-2026-96638 CVE-2026-96638Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode
  • MEDIUMPYSEC-2026-4334 BIT-pillow-2026-112896 CVE-2026-112896 GHSA-pchr-8j38-3x4pPillow is a Python imaging library. Prior to 13.0.0, Pillow's TIFF encoder can read beyond a ColorMap buffer when retained TIFF metadata has a plane size inconsistent with BitsPerSample. A small TIFF can be opened normally and then retain a crafted ColorMap that is reused when the image is saved. An application that re-encodes the attacker's TIFF with libtiff can trigger the out-of-bounds read. This can disclose heap memory in the output or crash the process. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-4rm8-3hmm-39fg BIT-pillow-2026-96641 CVE-2026-96641 PYSEC-2026-4340Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise
  • MEDIUMPYSEC-2026-4341 BIT-pillow-2026-96642 CVE-2026-96642 GHSA-3j72-p6qg-6xp7Pillow is a Python imaging library. Prior to 13.0.0, the TarIO initializer in src/PIL/TarIO.py accepts a negative octal member size and computes a backward seek that returns to the same 512-byte header. When the requested member name does not match, the parser repeatedly reads that header, consumes a full CPU core, and never returns. TarIO is reached only when an application directly uses PIL.TarIO.TarIO rather than the default Image.open() path. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-vx6w-vv9f-6gvg BIT-pillow-2026-112899 CVE-2026-112899Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit
  • MEDIUMPYSEC-2026-4329 BIT-pillow-2026-112397 CVE-2026-112397 GHSA-58r4-6rv3-gfh8Pillow is a Python imaging library. Prior to 13.0.0, Pillow's ImageMorph.MorphOp.apply() can access memory before a row buffer for a zero-width image. PPM and PGM input can create an image with width zero, and the native morphology routine indexes outrow[width - 1] without rejecting that geometry. An attacker can supply such an image to an application that applies a morphology operation. This can crash the process. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-4327 BIT-pillow-2026-112394 CVE-2026-112394 GHSA-4558-3h8r-v8xpPillow is a Python imaging library. Prior to 13.0.0, Pillow's P;2L and P;4L raw decoders can read past the end of an input buffer. ImagingRawDecode calculates a packed-pixel row size, while the unpackers read separately padded bit planes. A caller can supply a buffer and image dimensions whose accepted size is smaller than the unpacker's actual footprint. This can disclose up to three adjacent heap bytes in output pixels or crash the process. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-fc9g-5qg7-mf45 BIT-pillow-2026-112891 CVE-2026-112891Pillow: Quadratic GIF comment copying during save
  • MEDIUMPYSEC-2026-4339 BIT-pillow-2026-96639 CVE-2026-96639 GHSA-v9pv-5gc8-w2m6Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation created for a narrow frame mode while a later frame of the same dimensions changes the logical mode and decoder tiles to wider RGB or CMYK data. ImageFile.load_prepare() reuses the stale native storage because _im is non-null without verifying that its mode and size still match. Crafted PSD, MPO, DCX, or MIC frame transitions can then write wider pixels into the narrow allocation, causing native out-of-bounds writes and crashes. The MPO path can also cause a native over-read and, in demonstrated runtime-specific profiles, command execution. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-74r2-7ff9-mjj2 BIT-pillow-2026-112401 CVE-2026-112401Pillow: Quadratic GIF comment concatenation allows DoS in Image.open()
  • MEDIUMPYSEC-2026-4328 BIT-pillow-2026-112396 CVE-2026-112396 GHSA-4rr5-89j8-mwwmPillow is a Python imaging library. From 11.3.0 until 13.0.0, Pillow has a heap use-after-free when libtiff rejects a tag while encoding TIFF data to an in-memory buffer. When an application saves attacker-influenced TIFF tags to BytesIO, libtiff can reject a tag during encoding in ImagingLibTiffEncode; the error path then frees the output buffer without closing or clearing the TIFF handle, and later cleanup flushes through the write callback into freed memory, which can crash the process and may enable code execution. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-654x-cwwv-5j9c BIT-pillow-2026-114501 CVE-2026-114501 PYSEC-2026-4336Pillow: Arrow export leaks stale heap memory when PILLOW_ALIGNMENT > 1
  • MEDIUMPYSEC-2026-4336 BIT-pillow-2026-114501 CVE-2026-114501 GHSA-654x-cwwv-5j9cPillow is a Python imaging library. From 11.2.1 until 13.0.0, Arrow export assumes that an image's rows are tightly contiguous and exports from im->blocks[0].ptr even when PILLOW_ALIGNMENT makes aligned_linesize include row padding or an aligned offset before the first row. The resulting Arrow buffer can include uninitialized padding, bytes preceding the first row, or stale heap contents from previously freed images. Applications that configure alignment and export images to Arrow can therefore disclose one user's pixels or other process memory to another user. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-xgh8-jp6q-p5x8 BIT-pillow-2026-112901 CVE-2026-112901 PYSEC-2026-4335Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes
  • MEDIUMPYSEC-2026-4342 BIT-pillow-2026-96643 CVE-2026-96643 GHSA-g4qv-2jxx-769hPillow is a Python imaging library. From 11.0.0 until 13.0.0, Exif.load() in src/PIL/Image.py repeatedly slices the remaining EXIF data while it begins with the six-byte Exif header. src/PIL/PngImagePlugin.py accepts an uncapped PNG eXIf chunk, so a file filled with repeated headers causes a new shrinking copy on every iteration and quadratic CPU work. The condition is reachable through Image.getexif(), Image._getexif(), and ImageOps.exif_transpose(), including common photo-upload rotation workflows. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-4363 BIT-pillow-2026-112902 CVE-2026-112902 GHSA-xvh5-g6gv-559vPillow is a Python imaging library. In versions through 12.3.0, the libtiff TIFF encoder can pass arguments to  TIFFSetField()  that do not match libtiff’s definition of the corresponding tag. When an application saves attacker-controlled image metadata through this encoder, crafted tag values can cause invalid memory reads, copying process memory into the encoded output or crashing the process. Applications that return the encoded output to an attacker can disclose that memory. The issue is reachable when re-saving compressed TIFF images and through certain conversions that preserve EXIF metadata into compressed TIFF output. This vulnerability is fixed in version 13.0.0.
  • MEDIUMGHSA-wqgw-9xfh-qf2g CVE-2026-128066Pillow: Memory DoS in TIFF and EXIF IFD parsing via overlapping tag data
  • MEDIUMGHSA-4558-3h8r-v8xp BIT-pillow-2026-112394 CVE-2026-112394 PYSEC-2026-4327Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size
  • MEDIUMGHSA-462x-pgg6-55fp BIT-pillow-2026-112395 CVE-2026-112395Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)
  • MEDIUMGHSA-4rr5-89j8-mwwm BIT-pillow-2026-112396 CVE-2026-112396 PYSEC-2026-4328Pillow: Heap use-after-free when encoding TIFF to an in-memory buffer
  • MEDIUMPYSEC-2026-4335 BIT-pillow-2026-112901 CVE-2026-112901 GHSA-xgh8-jp6q-p5x8Pillow is a Python imaging library. Prior to 13.0.0, Pillow's XBM header parser is vulnerable to regular-expression denial of service. In XbmImageFile._open, when an application calls Image.open() on a small crafted XBM file, XbmImagePlugin applies a backtracking expression to the attacker-controlled header before image dimensions are accepted, stalling a worker for minutes and denying service. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-4332 BIT-pillow-2026-112403 CVE-2026-112403 GHSA-8g5g-8vmr-9782Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. ImagingJpegDecode does not verify libjpeg's actual output width and component count after scaling is requested, and an 8-bit lossless SOF3 JPEG decoded by a build linked to libjpeg-turbo 3.x can ignore the requested downscaling geometry. An attacker can supply such a JPEG to an application that uses draft() or thumbnail() to request downscaling. This can corrupt heap memory, crash the process, or potentially allow code execution. Older libjpeg-turbo 2.x and IJG builds reject the SOF3 input. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-4331 BIT-pillow-2026-112402 CVE-2026-112402 GHSA-7mwm-ghpf-9vrmPillow is a Python imaging library. Prior to 13.0.0, Pillow can double free image memory when ImagingScaleAffine encounters a selective allocation failure. The affected fast path handles Transform.EXTENT or pure scale-and-translate Transform.AFFINE operations with the default NEAREST resampling. The output image allocation must succeed while the additional per-column lookup allocation fails, after which the error path deletes image storage that later cleanup releases again. An attacker who can drive such a large Image.transform() operation under memory pressure may trigger the failure. This can crash the process and may corrupt memory. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-4338 BIT-pillow-2026-96637 CVE-2026-96637 GHSA-g842-9rc4-69pwPillow is a Python imaging library. Prior to 13.0.0, SpiderImageFile.seek() in src/PIL/SpiderImagePlugin.py reparses a later SPIDER stack frame and replaces self._size without rerunning Image._decompression_bomb_check(). A tiny file can use a safe first frame to pass Image.open() and then declare very large dimensions in a later mode F frame. Loading that frame allocates approximately four bytes per attacker-declared pixel and can consume multiple gigabytes of memory. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-4343 BIT-pillow-2026-96644 CVE-2026-96644 GHSA-9v9v-9qvf-h2hjPillow is a Python imaging library. Prior to 13.0.0 on Windows, src/PIL/WmfImagePlugin.py passes unchecked 32-bit WMF or EMF dimensions to the native drawwmf handler in src/display.c. The handler sizes a DIB allocation from 16-bit-truncated bcWidth and bcHeight fields but copies pixel data using the original full dimensions. A crafted wide, short metafile can pass the pixel-count decompression-bomb check and make the Windows-only renderer read beyond the heap buffer, potentially disclosing memory or crashing the process. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-4330 BIT-pillow-2026-112398 CVE-2026-112398 GHSA-5x8w-8jj5-q52hPillow is a Python imaging library. Prior to 13.0.0, Pillow's FlashPix JPEG-tile decoder can write decoded scanlines beyond the allocated tile buffer. FlashPix (FPX) JPEG decoding selects raw mode LA with two bytes per pixel, while an unrecognized JPEG mode can be decoded as JCS_UNKNOWN with four components, causing ImagingJpegDecode to write four-component scanlines into the two-byte tile buffer. An attacker can supply a crafted OLE2 FlashPix file to an application with the optional olefile dependency installed that opens or thumbnails untrusted input. This can corrupt heap memory and may allow arbitrary code execution. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-4337 BIT-pillow-2026-96636 CVE-2026-96636 GHSA-p8hx-v2p6-rp84Pillow is a Python imaging library. Prior to 13.0.0, MpoImageFile.seek() and DcxImageFile.seek() reparse later MPO or DCX frames and replace self._size without rerunning Image._decompression_bomb_check(). A crafted multi-frame image can use a tiny first frame to pass Image.open() and then declare an over-limit later frame. Normal frame iteration through seek(), load(), or ImageSequence.Iterator can decode that frame and commit hundreds of megabytes or more, causing memory-exhaustion denial of service. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-p8hx-v2p6-rp84 BIT-pillow-2026-96636 CVE-2026-96636 PYSEC-2026-4337Pillow: Decompression-bomb protection bypass via multi-frame seek() in MPO and DCX (MpoImageFile.seek / DcxImageFile.seek)
  • MEDIUMPYSEC-2026-4326 BIT-pillow-2026-112392 CVE-2026-112392 GHSA-27h8-gf7j-v5hcPillow is a Python imaging library. Prior to 13.0.0, Pillow's rank-based filters can dereference invalid image storage for a zero-size image. ImagingExpand() allocates a non-empty output and then faults while replicating edges by reading the first pixel from empty input storage; ImagingRankFilter is never reached. An attacker can supply or cause creation of a zero-size image to an application that applies a rank, median, minimum, or maximum filter. This causes a native process crash. This issue is fixed in version 13.0.0.
  • MEDIUMPYSEC-2026-4333 BIT-pillow-2026-112405 CVE-2026-112405 GHSA-cp9v-662q-vvx9Pillow is a Python imaging library. From 12.0.0 until 13.0.0, Pillow's Image.merge() can dereference a null image8 plane. Validation skips the first input band, allowing a 32-bit integer or floating-point image backed by image32 storage to be merged as a narrower multiband image. A crafted IPTC file can reach this path when an application opens and loads it, or a caller can invoke Image.merge() directly with such a first band. This causes a native process crash. This issue is fixed in version 13.0.0.
  • MEDIUMGHSA-rfgq-q3w2-pmv2 BIT-pillow-2026-112898 CVE-2026-112898Pillow: Image.quantize() with empty palette leaks uninitialized stack memory
  • MEDIUMGHSA-254f-3936-288h BIT-pillow-2026-112391 CVE-2026-112391Pillow: PdfParser can recurse without limit in get_value() and linearize_page_tree()
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
certifiPyPI 2026.4.22 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
pypdfPyPI 6.10.2 HIGH 71 advisories 6.12.06.12.16.12.2+20 more
  • HIGHGHSA-g867-7843-wf8q CVE-2026-59935 PYSEC-2026-3613pypdf: Possible infinite loop for not terminated inline images (ASCII85 and ASCIIHex filter)
  • HIGHGHSA-gmh7-3g9r-mjh5 CVE-2026-115580pypdf: Possible long runtimes for large xref table header limits
  • HIGHGHSA-w23x-9jrw-r45c CVE-2026-103000 PYSEC-2026-4160pypdf: Possible large memory usage when retrieving alphabetical page labels
  • HIGHGHSA-5jq2-8x83-x246 CVE-2026-102994 PYSEC-2026-4153pypdf: Possible long runtimes/large memory usage when parsing indirect objects
  • HIGHGHSA-fp3h-c4fm-7vvf CVE-2026-102995 PYSEC-2026-4154pypdf: Possible large memory usage for large /ToUnicode streams (Follow-up 2)
  • HIGHGHSA-6c7f-9265-g8fw CVE-2026-115572pypdf: Possible long runtimes for repeated references to the same missing object
  • HIGHGHSA-g9cg-prrw-2r8q CVE-2026-102996 PYSEC-2026-4155pypdf: Possible large memory usage when parsing font data
  • HIGHGHSA-qv6h-rv94-w285 CVE-2026-102993 PYSEC-2026-4158pypdf: Possible large memory usage when retrieving Roman page labels
  • HIGHGHSA-jr96-gvgh-j3r4 CVE-2026-115585pypdf: Possible long runtimes for repeated malformed cross-reference entries (Follow-up)
  • HIGHGHSA-62m5-6wh8-28x7 CVE-2026-119208pypdf has possible long runtimes/large memory usage for encrypted PDF files
  • HIGHGHSA-5849-834g-hvw5 CVE-2026-119203pypdf has possible infinite loop when hitting EOF in standard xref table during trailer search
  • HIGHGHSA-jw7q-gvrg-4vj3 CVE-2026-102997 PYSEC-2026-4156pypdf: Possible long runtimes for partially malformed FlateDecode streams (Follow-up)
  • HIGHGHSA-42gh-23hr-vphw CVE-2026-119206pypdf has possible long runtimes when retrieving page labels
  • HIGHGHSA-php9-fj8v-98fj CVE-2026-102998 PYSEC-2026-4157pypdf: Possible long runtimes when generating appearance streams
  • HIGHGHSA-x3rh-gjgm-fmqc CVE-2026-119209pypdf has possible large memory usage when parsing cross-reference streams
  • HIGHGHSA-5xf7-4p34-54qr CVE-2026-59936 PYSEC-2026-3612pypdf: Possible infinite loop for not terminated inline images
  • HIGHGHSA-mfr5-77xh-9j7h CVE-2026-119205pypdf has possible infinite loop when cloning dictionaries
  • HIGHGHSA-v247-6f48-mgcj CVE-2026-102999 PYSEC-2026-4159pypdf: Possible long runtimes with large amount of embedded files
  • HIGHGHSA-cggf-277g-3q54 CVE-2026-119204pypdf has possible large memory usage when parsing page tree
  • HIGHGHSA-4vqv-7265-gm2w CVE-2026-119207pypdf has possible large memory usage for exceptions in strict mode
  • MEDIUMPYSEC-2026-3656 CVE-2026-71852 GHSA-fwg2-594c-jp42pypdf: Possible long runtimes/large memory usage for large CID font width ranges
  • MEDIUMGHSA-39mj-jf6j-2qj3 CVE-2026-113794pypdf: Possible infinite loop when hitting EOF in standard xref table
  • MEDIUMPYSEC-2026-3016 CVE-2026-48155 GHSA-cj93-chg6-vgv8pypdf: Possible large memory usage for large offsets for layout mode text
  • MEDIUMPYSEC-2026-3910 CVE-2026-84310 GHSA-23w6-3w8w-8484pypdf: Possible long runtimes/large memory usage when retrieving outlines
  • MEDIUMGHSA-g9xf-7f8q-9mcj CVE-2026-54651 PYSEC-2026-3018pypdf: Possible infinite loop when processing threads/articles in writer
  • MEDIUMGHSA-fp3f-mc75-235c CVE-2026-71870 PYSEC-2026-3655pypdf: Possible large memory usage for large /ToUnicode streams
  • MEDIUMGHSA-cj93-chg6-vgv8 CVE-2026-48155 PYSEC-2026-3016pypdf: Possible large memory usage for large offsets for layout mode text
  • MEDIUMGHSA-wjqc-6w8f-h24c CVE-2026-48735 PYSEC-2026-3025pypdf: Manipulated XMP metadata streams can exhaust RAM
  • MEDIUMGHSA-5qjq-93h5-hrgp CVE-2026-59938 PYSEC-2026-3611pypdf: Possible large memory usage for wrong image dimensions
  • MEDIUMPYSEC-2026-4153 CVE-2026-102994 GHSA-5jq2-8x83-x246pypdf: Possible long runtimes/large memory usage when parsing indirect objects
  • MEDIUMGHSA-jp53-mhqp-8xcg CVE-2026-84309 PYSEC-2026-3913pypdf: Possible infinite loop for TreeObject.insert_child
  • MEDIUMGHSA-55h5-xmcq-c37v CVE-2026-59937 PYSEC-2026-3610pypdf: Possible long runtimes for repeated malformed cross-reference entries
  • MEDIUMPYSEC-2026-3025 CVE-2026-48735 GHSA-wjqc-6w8f-h24cpypdf: Manipulated XMP metadata streams can exhaust RAM
  • MEDIUMPYSEC-2026-3613 CVE-2026-59935 GHSA-g867-7843-wf8qpypdf: Possible infinite loop for not terminated inline images (ASCII85 and ASCIIHex filter)
  • MEDIUMGHSA-248m-82v9-q6g6 CVE-2026-48156 PYSEC-2026-3004pypdf: Possible long runtimes for zero-only width values in cross-reference streamsuntimes for zero-only width values in cross-reference streams
  • MEDIUMGHSA-f54x-cmq8-qg57 CVE-2026-113790pypdf: Possible large memory usage when parsing arrays and dictionaries
  • MEDIUMPYSEC-2026-3010 CVE-2026-49460 GHSA-5hgr-hg42-57jgpypdf: Inefficient decoding of FlateDecode PNG predictor streams
  • MEDIUMGHSA-j543-4vmf-qm7v CVE-2026-49461 PYSEC-2026-3020pypdf: Possible large memory usage for form XObjects during text extraction
  • MEDIUMGHSA-fc8x-2rww-xw9m CVE-2026-82398 PYSEC-2026-3912pypdf: Inefficient handling of non-whitespace inputs in read_until_whitespace
  • MEDIUMGHSA-52x6-gq3r-vpf4 CVE-2026-54530 PYSEC-2026-3009pypdf: Possible infinite loop when retrieving fonts for layout-mode text extraction
  • MEDIUMPYSEC-2026-4160 CVE-2026-103000 GHSA-w23x-9jrw-r45cpypdf: Possible large memory usage when retrieving alphabetical page labels
  • MEDIUMGHSA-cgf9-327m-v77c CVE-2026-113791pypdf: Possible large memory usage when parsing content streams
  • MEDIUMPYSEC-2026-4155 CVE-2026-102996 GHSA-g9cg-prrw-2r8qpypdf: Possible large memory usage when parsing font data
  • MEDIUMPYSEC-2026-3009 CVE-2026-54530 GHSA-52x6-gq3r-vpf4pypdf: Possible infinite loop when retrieving fonts for layout-mode text extraction
  • MEDIUMPYSEC-2026-4154 CVE-2026-102995 GHSA-fp3h-c4fm-7vvfpypdf: Possible large memory usage for large /ToUnicode streams (Follow-up 2)
  • MEDIUMPYSEC-2026-3655 CVE-2026-71870 GHSA-fp3f-mc75-235cpypdf: Possible large memory usage for large /ToUnicode streams
  • MEDIUMPYSEC-2026-3022 CVE-2026-54531 GHSA-m2v9-299j-rv96pypdf: Possible infinite loop when processing outlines/bookmarks in writer
  • MEDIUMPYSEC-2026-3004 CVE-2026-48156 GHSA-248m-82v9-q6g6pypdf: Possible long runtimes for zero-only width values in cross-reference streamsuntimes for zero-only width values in cross-reference streams
  • MEDIUMPYSEC-2026-3911 CVE-2026-84311 GHSA-763m-79hh-57f2pypdf: Possible long runtimes/large memory usage when extracting XForm objects
  • MEDIUMGHSA-763m-79hh-57f2 CVE-2026-84311 PYSEC-2026-3911pypdf: Possible long runtimes/large memory usage when extracting XForm objects
  • MEDIUMGHSA-m2v9-299j-rv96 CVE-2026-54531 PYSEC-2026-3022pypdf: Possible infinite loop when processing outlines/bookmarks in writer
  • MEDIUMGHSA-5hgr-hg42-57jg CVE-2026-49460 PYSEC-2026-3010pypdf: Inefficient decoding of FlateDecode PNG predictor streams
  • MEDIUMGHSA-7mh2-4gg2-979f CVE-2026-113795pypdf: Possible large memory usage for streams with multiple filters
  • MEDIUMPYSEC-2026-4156 CVE-2026-102997 GHSA-jw7q-gvrg-4vj3pypdf: Possible long runtimes for partially malformed FlateDecode streams (Follow-up)
  • MEDIUMPYSEC-2026-3612 CVE-2026-59936 GHSA-5xf7-4p34-54qrpypdf: Possible infinite loop for not terminated inline images
  • MEDIUMGHSA-fwg2-594c-jp42 CVE-2026-71852 PYSEC-2026-3656pypdf: Possible long runtimes/large memory usage for large CID font width ranges
  • MEDIUMPYSEC-2026-3018 CVE-2026-54651 GHSA-g9xf-7f8q-9mcjpypdf: Possible infinite loop when processing threads/articles in writer
  • MEDIUMGHSA-9mx8-4j7g-633p CVE-2026-113793pypdf: Possible infinite loop when removing tree items
  • MEDIUMPYSEC-2026-3912 CVE-2026-82398 GHSA-fc8x-2rww-xw9mpypdf: Inefficient handling of non-whitespace inputs in read_until_whitespace
  • MEDIUMPYSEC-2026-4157 CVE-2026-102998 GHSA-php9-fj8v-98fjpypdf: Possible long runtimes when generating appearance streams
  • MEDIUMPYSEC-2026-3020 CVE-2026-49461 GHSA-j543-4vmf-qm7vpypdf: Possible large memory usage for form XObjects during text extraction
  • MEDIUMPYSEC-2026-3611 CVE-2026-59938 GHSA-5qjq-93h5-hrgppypdf: Possible large memory usage for wrong image dimensions
  • MEDIUMGHSA-jm82-fx9c-mx94 CVE-2026-57204pypdf: Missing stream length values ignore defined limits
  • MEDIUMPYSEC-2026-3913 CVE-2026-84309 GHSA-jp53-mhqp-8xcgpypdf: Possible infinite loop for TreeObject.insert_child
  • MEDIUMGHSA-qfv9-64jg-mh7p CVE-2026-113792pypdf: Possible infinite loop in PdfWriter.find_outline_item
  • MEDIUMPYSEC-2026-4159 CVE-2026-102999 GHSA-v247-6f48-mgcjpypdf: Possible long runtimes with large amount of embedded files
  • MEDIUMGHSA-23w6-3w8w-8484 CVE-2026-84310 PYSEC-2026-3910pypdf: Possible long runtimes/large memory usage when retrieving outlines
  • MEDIUMPYSEC-2026-4158 CVE-2026-102993 GHSA-qv6h-rv94-w285pypdf: Possible large memory usage when retrieving Roman page labels
  • MEDIUMGHSA-6vvc-x485-93v7 CVE-2026-113789pypdf: Possible long runtimes/large memory usage when retrieving form fields
  • MEDIUMPYSEC-2026-3610 CVE-2026-59937 GHSA-55h5-xmcq-c37vpypdf: Possible long runtimes for repeated malformed cross-reference entries
  • LOWGHSA-5hx5-vpf9-5wcv CVE-2026-113786pypdf: Unvalidated JPEG image data loading
soupsievePyPI 2.8.3 HIGH 12 advisories 2.8.42.9.02.10.0+2 more
  • HIGHGHSA-836r-79rf-4m37 CVE-2026-49477 PYSEC-2026-3072Soup Sieve: Regular Expression Denial of Service (ReDoS) via Selector Parser
  • HIGHGHSA-mmhr-3c5m-f64f CVE-2026-126190Soup Sieve: Polynomial-time denial of service in the descendant combinator
  • HIGHGHSA-2wc2-fm75-p42x CVE-2026-49476 PYSEC-2026-3071Soup Sieve has Memory Exhaustion via Large Comma-Separated Selector Lists
  • HIGHGHSA-6655-6qjp-jx7x CVE-2026-126191Soup Sieve: Exponential ReDoS in selector compilation via \\9-run in CSS_ESCAPES/IDENTIFIER
  • MEDIUMPYSEC-2026-3072 CVE-2026-49477 GHSA-836r-79rf-4m37Soup Sieve: Regular Expression Denial of Service (ReDoS) via Selector Parser
  • MEDIUMPYSEC-2026-4170 CVE-2026-86000 GHSA-gjv8-xp57-g29cSoup Sieve: Polynomial-time ReDoS (O(n²)) in the `IDENTIFIER` / `VALUE` selector sub-patterns
  • MEDIUMGHSA-gjv8-xp57-g29c CVE-2026-86000 PYSEC-2026-4170Soup Sieve: Polynomial-time ReDoS (O(n²)) in the `IDENTIFIER` / `VALUE` selector sub-patterns
  • MEDIUMPYSEC-2026-4171 CVE-2026-85999 GHSA-j934-xhv5-fg8fSoup Sieve: Polynomial-time ReDoS (O(n²)) in the whitespace/comment trimming regex `RE_WS_END` (triggers on VALID selectors)
  • MEDIUMPYSEC-2026-3071 CVE-2026-49476 GHSA-2wc2-fm75-p42xSoup Sieve has Memory Exhaustion via Large Comma-Separated Selector Lists
  • MEDIUMGHSA-4j63-6c4x-wfg4 CVE-2026-126192Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time
  • MEDIUMGHSA-j934-xhv5-fg8f CVE-2026-85999 PYSEC-2026-4171Soup Sieve: Polynomial-time ReDoS (O(n²)) in the whitespace/comment trimming regex `RE_WS_END` (triggers on VALID selectors)
  • MEDIUMGHSA-7g44-g9rc-x53w CVE-2026-126193Soup Sieve: Uncontrolled recursion in CSS parser lets nested pseudo-class selectors exhaust the Python call stack
httpx2PyPI 2.9.1 HIGH 10 advisories 2.10.02.11.02.12.0
  • HIGHGHSA-7mj9-2mp8-4m2p CVE-2026-84381 PYSEC-2026-3844 PYSEC-2026-3845HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
  • HIGHGHSA-8xx6-hgc6-gc2m CVE-2026-84382 PYSEC-2026-3846HTTPX2: Streaming response decompression does not bound peak memory (decompression amplification)
  • MEDIUMGHSA-pf96-p4fj-6566 CVE-2026-84380 PYSEC-2026-3849HTTPX2: Conflicting Content-Length and Transfer-Encoding headers can be auto-generated
  • MEDIUMPYSEC-2026-3845 CVE-2026-84381 GHSA-7mj9-2mp8-4m2p PYSEC-2026-3844HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
  • MEDIUMPYSEC-2026-3847 CVE-2026-84378 GHSA-f2fp-rgf2-35cpHTTPX2: Quadratic SSE line buffering can cause CPU denial of service
  • MEDIUMGHSA-f2fp-rgf2-35cp CVE-2026-84378 PYSEC-2026-3847HTTPX2: Quadratic SSE line buffering can cause CPU denial of service
  • MEDIUMGHSA-h4x7-gw46-3wm6 CVE-2026-84379 PYSEC-2026-3848HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers
  • MEDIUMPYSEC-2026-3849 CVE-2026-84380 GHSA-pf96-p4fj-6566HTTPX2: Conflicting Content-Length and Transfer-Encoding headers can be auto-generated
  • MEDIUMPYSEC-2026-3846 CVE-2026-84382 GHSA-8xx6-hgc6-gc2mHTTPX2: Streaming response decompression does not bound peak memory (decompression amplification)
  • MEDIUMPYSEC-2026-3848 CVE-2026-84379 GHSA-h4x7-gw46-3wm6HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers
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
urllib3PyPI 2.6.3 HIGH 10 advisories 2.7.02.8.0
  • HIGHGHSA-vxq7-64xx-v4gw CVE-2026-97689 PYSEC-2026-4177urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
  • HIGHGHSA-qccp-gfcp-xxvc CVE-2026-44431 PYSEC-2026-141urllib3: Sensitive headers forwarded across origins in proxied low-level redirects
  • HIGHGHSA-8988-9cw3-xx77 CVE-2026-97687 PYSEC-2026-4175urllib3: HTTPS proxy TLS configuration may be ignored or overridden
  • HIGHGHSA-mf9v-mfxr-j63j CVE-2026-44432 PYSEC-2026-142urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API
  • MEDIUMPYSEC-2026-4175 CVE-2026-97687 GHSA-8988-9cw3-xx77urllib3: HTTPS proxy TLS configuration may be ignored or overridden
  • MEDIUMGHSA-gh4c-6fx4-qh6g CVE-2026-97688 PYSEC-2026-4176urllib3: Chunked Deflate streaming can enter an infinite loop
  • MEDIUMPYSEC-2026-142 CVE-2026-44432 GHSA-mf9v-mfxr-j63jurllib3 is an HTTP client library for Python. From 2.6.0 to before 2.7.0, urllib3 could decompress the whole response instead of the requested portion (1) during the second HTTPResponse.read(amt=N) call when the response was decompressed using the official Brotli library or (2) when HTTPResponse.drain_conn() was called after the response had been read and decompressed partially (compression algorithm did not matter here). These issues could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This could result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data) on the client side. This vulnerability is fixed in 2.7.0.
  • MEDIUMPYSEC-2026-141 CVE-2026-44431 GHSA-qccp-gfcp-xxvcurllib3 is an HTTP client library for Python. From 1.23 to before 2.7.0, cross-origin redirects followed from the low-level API via ProxyManager.connection_from_url().urlopen(..., assert_same_host=False) still forward these sensitive headers. This vulnerability is fixed in 2.7.0.
  • MEDIUMPYSEC-2026-4177 CVE-2026-97689 GHSA-vxq7-64xx-v4gwurllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
  • MEDIUMPYSEC-2026-4176 CVE-2026-97688 GHSA-gh4c-6fx4-qh6gurllib3: Chunked Deflate streaming can enter an infinite loop
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
httpcore2PyPI 2.9.1 HIGH 2 advisories 2.10.0
  • HIGHGHSA-7mj9-2mp8-4m2p CVE-2026-84381 PYSEC-2026-3844 PYSEC-2026-3845HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
  • MEDIUMPYSEC-2026-3844 CVE-2026-84381 GHSA-7mj9-2mp8-4m2p PYSEC-2026-3845HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
lxml-html-cleanPyPI 0.4.4 HIGH 2 advisories 0.4.5
  • HIGHGHSA-4jhm-jv67-739f CVE-2026-49825 PYSEC-2026-2614`lxml_html_clean.Cleaner` does not strip `javascript:` URLs from namespaced URL attributes
  • MEDIUMPYSEC-2026-2614 CVE-2026-49825 GHSA-4jhm-jv67-739f`lxml_html_clean.Cleaner` does not strip `javascript:` URLs from namespaced URL attributes
opentelemetry-apiPyPI 1.44.0 MEDIUM 2 advisories 1.45.11.45.2
  • MEDIUMGHSA-xcq7-p3pf-p88h CVE-2026-114603OpenTelemetry Python: Unbounded tracestate parsing in opentelemetry-api
  • MEDIUMGHSA-mf5v-w3w3-f6cg CVE-2026-126360OpenTelemetry Python API: Denial of service through quadratic-time traceparent parsing
pydantic-settingsPyPI 2.14.0 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 runsOn your machine, started by your MCP client from this repository or its package
TransportStreamable HTTP, stdio
Sign-innot checked needs the live server
Servers in the code4 (search-mcp, ask-only, budget)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-11-15
Signed releasesnot checked yet

Where it is published

MCP Registryio.github.sweetcornna/free-search-mcp
Listed in4 catalogs (github_search, glama, mcp_registry, mcp_toplist)
LicenseMIT
Created2026-04-24
Topicsclaude duckduckgo llm mcp model-context-protocol mojeek playwright python search websearch

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.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.