MCP ScannerCustom audit
All servers

the-momentum/apple-health-mcp-server

MCP server for querying Apple Health data with natural language using DuckDB under the hood.

Packageapple-health-mcp-server
Version0.1.0 in pyproject.toml
Publisherthe-momentum community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 287Forks 26Last push 2026-07-09
Python 100.0%by source files the scanner reads
Code safety10.0Exposure10.0Prompts10.0Supply chain1.6Secrets10.0Transparency10.0
Analysis confidence93%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetynothing published yet10.0/10

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

Capability Exposure10.0/10Good

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.6/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

Top risks in plain words

  • CRITICAL16 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.

  • Update its vulnerable packages

    Use anyio 4.14.2 or later, authlib 1.9.1 or later, certifi 2026.10.18 or later, cryptography 50.0.0 or later and 12 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 18 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

None of the tools reaches any of these in the code the scanner could trace.

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

No tool was seen returning text from outside the server to the model.

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 (18: 18 tools)

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

get_health_summary_chtool Get a summary of Apple Health data from ClickHouse.
Get a summary of Apple Health data from ClickHouse.
    The function returns total record count, record type breakdown, and
    (optionally) a date range aggregation.

    Notes for LLM:
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_health_summary_duckdbtool Get a summary of Apple Health data from DuckDB.
Get a summary of Apple Health data from DuckDB.
    The function returns total record count, record type breakdown, and
     (optionally) a date range aggregation.

    Notes for LLM:
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - Use this tool if you're not certain of the record type that
      should be called
    - If there are multiple databases available (DuckDB, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_health_summary_estool Get a summary of Apple Health data from Elasticsearch.
Get a summary of Apple Health data from Elasticsearch.
    The function returns total record count, record type breakdown, and
    (optionally) a date range aggregation.

    Notes for LLM:
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_statistics_by_type_chtool Get comprehensive statistics for a specific health record type from ClickHouse.
Get comprehensive statistics for a specific health record type from ClickHouse.

    Parameters:
    - record_type: The type of health record to analyze. Use RecordType for
      most frequent types. Use str if that type is beyond RecordType scope.

    Returns:
    - record_type: The analyzed record type
    - total_count: Total number of records of this type in the index
    - value_statistics: Statistical summary of the 'value' field including:
      * count: Number of records with values
      * min: Minimum value recorded
      * max: Maximum value recorded
      * avg: Average value across all records
      * sum: Sum of all values
    - sources: Breakdown of records by source device/app (e.g., "Rob's iPhone", "Polar Flow")

    Notes for LLMs:
    - This function provides comprehensive statistical analysis for any health record type.
    - The value_statistics object contains all basic statistics (count, min,
      max, avg, sum) for the 'value' field.
    - The sources breakdown shows which devices/apps contributed data for this record type.
    - Example types: "HKQuantityTypeIdentifierStepCount",
     "HKQuantityTypeIdentifierBodyMassIndex", "HKQuantityTypeIdentifierHeartRate", etc.
    - Use this function to understand the distribution, range, and trends of
      specific health metrics.
    - The function is useful for health analysis, identifying outliers, and
      understanding data quality.
    - date_range key for query is commented, since it contained hardcoded from
      date, but you can use it anyway if you replace startDate with your data.
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_statistics_by_type_duckdbtool Get comprehensive statistics for a specific health record type from DuckDB.
Get comprehensive statistics for a specific health record type from DuckDB.

    Parameters:
    - record_type: The type of health record to analyze. Use RecordType for
      most frequent types. Use str if that type is beyond RecordType scope.

    Returns:
    - record_type: The analyzed record type
    - total_count: Total number of records of this type in the index
    - value_statistics: Statistical summary of the 'value' field including:
      * count: Number of records with values
      * min: Minimum value recorded
      * max: Maximum value recorded
      * avg: Average value across all records
      * sum: Sum of all values
    - sources: Breakdown of records by source device/app (e.g., "Rob's iPhone", "Polar Flow")

    Notes for LLMs:
    - This function provides comprehensive statistical analysis for any health record type.
    - The value_statistics object contains all basic statistics (count, min,
      max, avg, sum) for the 'value' field.
    - The sources breakdown shows which devices/apps contributed data for this record type.
    - Example types: "HKQuantityTypeIdentifierStepCount",
      "HKQuantityTypeIdentifierBodyMassIndex", "HKQuantityTypeIdentifierHeartRate", etc.
    - Use this function to understand the distribution, range, and trends of
     specific health metrics.
    - The function is useful for health analysis, identifying outliers, and
      understanding data quality.
    - This tool can also be used to figure out the value of the record with
      the shortest/longest duration or highest/lowest value
    - date_range key for query is commented, since it contained hardcoded from
      date, but you can use it anyway if you replace startDate with your data.
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_statistics_by_type_estool Get comprehensive statistics for a specific health record type from Elasticsearch.
Get comprehensive statistics for a specific health record type from Elasticsearch.

    Parameters:
    - record_type: The type of health record to analyze. Use RecordType for
      most frequent types. Use str if that type is beyond RecordType scope.

    Returns:
    - record_type: The analyzed record type
    - total_count: Total number of records of this type in the index
    - value_statistics: Statistical summary of the 'value' field including:
      * count: Number of records with values
      * min: Minimum value recorded
      * max: Maximum value recorded
      * avg: Average value across all records
      * sum: Sum of all values
    - sources: Breakdown of records by source device/app (e.g., "Rob's iPhone", "Polar Flow")

    Notes for LLMs:
    - This function provides comprehensive statistical analysis for any health record type.
    - The value_statistics object contains all basic statistics (count, min,
      max, avg, sum) for the 'value' field.
    - The sources breakdown shows which devices/apps contributed data for this record type.
    - Example types: "HKQuantityTypeIdentifierStepCount",
      "HKQuantityTypeIdentifierBodyMassIndex", "HKQuantityTypeIdentifierHeartRate", etc.
    - Use this function to understand the distribution, range, and trends of
      specific health metrics.
    - The function is useful for health analysis, identifying outliers, and
      understanding data quality.
    - date_range key for query is commented, since it contained hardcoded from
      date, but you can use it anyway if you replace startDate with your data.
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_trend_data_chtool Get trend data for a specific health record type over time using ClickHouse
Get trend data for a specific health record type over time using ClickHouse
    date histogram aggregation.

    Parameters:
    - record_type: The type of health record to analyze (e.g., "HKQuantityTypeIdentifierStepCount")
    - interval: Time interval for aggregation.
    - date_from, date_to: Optional date strings for filtering date range

    Returns:
    - record_type: The analyzed record type
    - device: The device on which the data was recorded
    - interval: The time interval used
    - trend_data: List of time buckets with statistics for each period:
      * date: The time period (ISO string)
      * value_sum: Sum of values for the period
      * avg_value: Average value for the period
      * min_value: Minimum value for the period
      * max_value: Maximum value for the period
      * count: Number of records in the period

    Notes for LLMs:
    - Use this to analyze trends, patterns, and seasonal variations in health data
    - Keep in mind that when there is data from multiple devices spanning the same
      time period, there is a possibility of data being duplicated. Inform the user
      of this possibility if you see multiple devices in the same time period.
    - If a user asks you to sum up some values from their health records, DO NOT
      search for records and write a script to sum them, instead, use this tool:
      if they ask to sum data from a year, use this tool with date_from set as the
      beginning of the year and date_to as the end of the year, with an interval
      of 'year'
    - The function automatically handles date filtering if date_from/date_to are provided
    - IMPORTANT - interval must be one of: "day", "week", "month", or "year".
      Do not use other values.
    - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_trend_data_duckdbtool Get trend data for a specific health record type over time using DuckDB
Get trend data for a specific health record type over time using DuckDB
     date histogram aggregation.

    Parameters:
    - record_type: The type of health record to analyze (e.g., "HKQuantityTypeIdentifierStepCount")
    - interval: Time interval for aggregation.
    - date_from, date_to: Optional ISO8601 date strings for filtering date range

    Returns:
    - record_type: The analyzed record type
    - device: The device on which the data was recorded
    - interval: The time interval used
    - trend_data: List of time buckets with statistics for each period:
      * date: The time period (ISO string)
      * value_sum: Sum of values for the period
      * avg_value: Average value for the period
      * min_value: Minimum value for the period
      * max_value: Maximum value for the period
      * count: Number of records in the period

    Notes for LLMs:
    - Use this to analyze trends, patterns, and seasonal variations in health data
    - Keep in mind that when there is data from multiple devices spanning the same
      time period, there is a possibility of data being duplicated. Inform the user
      of this possibility if you see multiple devices in the same time period.
    - If a user asks you to sum up some values from their health records, DO NOT
      search for records and write a script to sum them, instead, use this tool:
      if they ask to sum data from a year, use this tool with date_from set as the
      beginning of the year and date_to as the end of the year, with an interval
      of 'year'
    - The function automatically handles date filtering if date_from/date_to are provided
    - IMPORTANT - interval must be one of: "day", "week", "month", or "year".
      Do not use other values.
    - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_trend_data_estool Get trend data for a specific health record type over time using
Get trend data for a specific health record type over time using
    Elasticsearch date histogram aggregation.

    Parameters:
    - record_type: The type of health record to analyze (e.g., "HKQuantityTypeIdentifierStepCount")
    - interval: Time interval for aggregation.
    - date_from, date_to: Optional ISO8601 date strings for filtering date range

    Returns:
    - record_type: The analyzed record type
    - device: The device on which the data was recorded
    - interval: The time interval used
    - trend_data: List of time buckets with statistics for each period:
      * date: The time period (ISO string)
      * value_sum: Sum of values for the period
      * avg_value: Average value for the period
      * min_value: Minimum value for the period
      * max_value: Maximum value for the period
      * count: Number of records in the period

    Notes for LLMs:
    - Use this to analyze trends, patterns, and seasonal variations in health data
    - Keep in mind that when there is data from multiple devices spanning the same
      time period, there is a possibility of data being duplicated. Inform the user
      of this possibility if you see multiple devices in the same time period.
    - If a user asks you to sum up some values from their health records, DO NOT
      search for records and write a script to sum them, instead, use this tool:
      if they ask to sum data from a year, use this tool with date_from set as the
      beginning of the year and date_to as the end of the year, with an interval
      of 'year'
    - The function automatically handles date filtering if date_from/date_to are provided
    - IMPORTANT - interval must be one of: "day", "week", "month", or "year".
      Do not use other values.
    - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_xml_by_typetool Get all records of a specific health record type from the Apple Health XML file.
Get all records of a specific health record type from the Apple Health XML file.

    Parameters:
    - record_type: The type of health record to retrieve (use RecordType for
      most frequent types, or any string for custom/rare types)
    - limit: Maximum number of records to return (default: 20)

    Returns:
    - A string containing up to limit XML elements of the specified type, or
      a message if no records are found.

    Notes for LLMs:
    - Use this to extract all records of a given type for further analysis or conversion
    - RecordType contains only the most frequent types; other types may appear as strings
    - This function streams the file for memory efficiency and does not load
      the entire file into memory.
    - If filename is not provided, the file set by set_xml_file will be used.
    - Do not guess, auto-fill, or assume any missing data.
    - When asked for medical advice, try to use my data from ElasticSearch first.
get_xml_structuretool Analyze the structure and metadata of an Apple Health XML export file
Analyze the structure and metadata of an Apple Health XML export file
    without loading the entire content.

    Returns:
    - file_size_mb: Size of the file in megabytes
    - root_elements: List of unique root-level XML tags
    - record_types: List of unique health record types (see RecordType for
      most frequent types, but may include others)
    - workout_types: List of unique workout types
    - sources: List of unique data sources (device/app names)

    Notes for LLMs:
    - Use this to quickly understand the contents and structure of a health XML file
    - RecordType contains only the most frequent types; other types may appear as strings
    - Do not guess, auto-fill, or assume any missing data.
    - When asked for medical advice, try to use my data from ElasticSearch first.
search_health_records_chtool Search health records in ClickHouse with flexible query building.
Search health records in ClickHouse with flexible query building.

    Parameters:
    - params: HealthRecordSearchParams object containing all search/filter parameters.

    Notes for LLMs:
    - This function should return a list of health record documents (dicts)
      matching the search criteria.
    - Each document in the list should represent a single health record as stored in ClickHouse.
    - If an error occurs, the function should return a list with a single dict
     containing an 'error' key and the error message.
    - Use this to retrieve structured health data for further analysis, filtering, or display.
    - Example source_name: "Rob’s iPhone", "Polar Flow", "Sync Solver".
    - Example date_from/date_to: "2020-01-01T00:00:00+00:00"
    - Example value_min/value_max: "10", "100.5"
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
search_health_records_duckdbtool Search health records in DuckDB with flexible query building.
Search health records in DuckDB with flexible query building.

    Parameters:
    - params: HealthRecordSearchParams object containing all search/filter parameters.
      (required parameters: record_type)

    Notes for LLMs:
    - This function should return a list of health record documents (dicts)
      matching the search criteria ordered by date from most to least recent.
    - Each document in the list should represent a single health record as stored in ClickHouse.
    - If an error occurs, the function should return a list with a single dict
      containing an 'error' key and the error message.
    - Use this to retrieve structured health data for further analysis, filtering, or display.
    - Example source_name: "Rob’s iPhone", "Polar Flow", "Sync Solver".
    - Example date_from/date_to: "2020-01-01T00:00:00+00:00"
    - Example value_min/value_max: "10", "100.5"
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - This tool can be used to search for most recent records of a given type,
      in which case you should use this tool with a limit of 1.
    - If there are multiple databases available (DuckDB, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, Elasticsearch):
      you can use the tools from this database without the user specifying it.
search_health_records_estool Search health records in Elasticsearch with flexible query building.
Search health records in Elasticsearch with flexible query building.

    Parameters:
    - params: HealthRecordSearchParams object containing all search/filter parameters.

    Notes for LLMs:
    - This function should return a list of health record documents (dicts)
      matching the search criteria.
    - Each document in the list should represent a single health record as stored in Elasticsearch.
    - If an error occurs, the function should return a list with a single dict
      containing an 'error' key and the error message.
    - Use this to retrieve structured health data for further analysis, filtering, or display.
    - Example source_name: "Rob’s iPhone", "Polar Flow", "Sync Solver".
    - Example date_from/date_to: "2020-01-01T00:00:00+00:00"
    - Example value_min/value_max: "10", "100.5"
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
search_values_chtool Search for records with exactly matching values (including text) using ClickHouse.
Search for records with exactly matching values (including text) using ClickHouse.

    Parameters:
    - record_type: The type of health record to analyze (e.g., "HKQuantityTypeIdentifierStepCount")
    - value: Value to search for in the data
    - date_from, date_to: Optional date strings for filtering date range

    Notes for LLMs:
    - Use this to search for specific values (for example statistical outliers) in health data
    - It can also be used for text values: e.g.
      you can search for "HKCategoryTypeIdentifierSleepAnalysis"
      records with the value of "HKCategoryValueSleepAnalysisAsleepDeep"
    - The function automatically handles date filtering if date_from/date_to are provided
    - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
search_values_duckdbtool Search for records with exactly matching values (including text) using DuckDB.
Search for records with exactly matching values (including text) using DuckDB.

    Parameters:
    - record_type: The type of health record to analyze (e.g., "HKQuantityTypeIdentifierStepCount")
    - value: Value to search for in the data
    - date_from, date_to: Optional ISO8601 date strings for filtering date range

    Notes for LLMs:
    - Use this to search for specific values (for example statistical outliers) in health data
    - It can also be used for text values: e.g.
      you can search for "HKCategoryTypeIdentifierSleepAnalysis"
      records with the value of "HKCategoryValueSleepAnalysisAsleepDeep"
    - The function automatically handles date filtering if date_from/date_to are provided
    - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, Elasticsearch):
      you can use the tools from this database without the user specifying it.
search_values_estool Search for records with exactly matching values (including text) using Elasticsearch.
Search for records with exactly matching values (including text) using Elasticsearch.

    Parameters:
    - record_type: The type of health record to analyze (e.g., "HKQuantityTypeIdentifierStepCount")
    - value: Value to search for in the data
    - date_from, date_to: Optional ISO8601 date strings for filtering date range

    Notes for LLMs:
    - Use this to search for specific values (for example statistical outliers) in health data
    - It can also be used for text values: e.g.
      you can search for "HKCategoryTypeIdentifierSleepAnalysis"
      records with the value of "HKCategoryValueSleepAnalysisAsleepDeep"
    - The function automatically handles date filtering if date_from/date_to are provided
    - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
search_xml_contenttool Search for specific content in the Apple Health XML file and return
Search for specific content in the Apple Health XML file and return
    matching records as XML text.

    Parameters:
    - query: Text to search for in any attribute value
    - max_results: Maximum number of matching records to return (default: 50)

    Returns:
    - A string containing up to max_results XML elements that match the
      query, or a message if no matches are found.

    Notes for LLMs:
    - Searches both Record and Workout elements
    - Useful for finding all records containing a specific value, device, or type
    - This function streams the file for memory efficiency and does not load
      the entire file into memory.
    - If filename is not provided, the file set by set_xml_file will be used.
    - Do not guess, auto-fill, or assume any missing data.
    - When asked for medical advice, try to use my data from ElasticSearch first.

Text the model reads (18)

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

get_health_summary_ch tool
Get a summary of Apple Health data from ClickHouse.
    The function returns total record count, record type breakdown, and
    (optionally) a date range aggregation.

    Notes for LLM:
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
search_health_records_ch tool
Search health records in ClickHouse with flexible query building.

    Parameters:
    - params: HealthRecordSearchParams object containing all search/filter parameters.

    Notes for LLMs:
    - This function should return a list of health record documents (dicts)
      matching the search criteria.
    - Each document in the list should represent a single health record as stored in ClickHouse.
    - If an error occurs, the function should return a list with a single dict
     containing an 'error' key and the error message.
    - Use this to retrieve structured health data for further analysis, filtering, or display.
    - Example source_name: "Rob’s iPhone", "Polar Flow", "Sync Solver".
    - Example date_from/date_to: "2020-01-01T00:00:00+00:00"
    - Example value_min/value_max: "10", "100.5"
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_statistics_by_type_ch tool
Get comprehensive statistics for a specific health record type from ClickHouse.

    Parameters:
    - record_type: The type of health record to analyze. Use RecordType for
      most frequent types. Use str if that type is beyond RecordType scope.

    Returns:
    - record_type: The analyzed record type
    - total_count: Total number of records of this type in the index
    - value_statistics: Statistical summary of the 'value' field including:
      * count: Number of records with values
      * min: Minimum value recorded
      * max: Maximum value recorded
      * avg: Average value across all records
      * sum: Sum of all values
    - sources: Breakdown of records by source device/app (e.g., "Rob's iPhone", "Polar Flow")

    Notes for LLMs:
    - This function provides comprehensive statistical analysis for any health record type.
    - The value_statistics object contains all basic statistics (count, min,
      max, avg, sum) for the 'value' field.
    - The sources breakdown shows which devices/apps contributed data for this record type.
    - Example types: "HKQuantityTypeIdentifierStepCount",
     "HKQuantityTypeIdentifierBodyMassIndex", "HKQuantityTypeIdentifierHeartRate", etc.
    - Use this function to understand the distribution, range, and trends of
      specific health metrics.
    - The function is useful for health analysis, identifying outliers, and
      understanding data quality.
    - date_range key for query is commented, since it contained hardcoded from
      date, but you can use it anyway if you replace startDate with your data.
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_trend_data_ch tool
Get trend data for a specific health record type over time using ClickHouse
    date histogram aggregation.

    Parameters:
    - record_type: The type of health record to analyze (e.g., "HKQuantityTypeIdentifierStepCount")
    - interval: Time interval for aggregation.
    - date_from, date_to: Optional date strings for filtering date range

    Returns:
    - record_type: The analyzed record type
    - device: The device on which the data was recorded
    - interval: The time interval used
    - trend_data: List of time buckets with statistics for each period:
      * date: The time period (ISO string)
      * value_sum: Sum of values for the period
      * avg_value: Average value for the period
      * min_value: Minimum value for the period
      * max_value: Maximum value for the period
      * count: Number of records in the period

    Notes for LLMs:
    - Use this to analyze trends, patterns, and seasonal variations in health data
    - Keep in mind that when there is data from multiple devices spanning the same
      time period, there is a possibility of data being duplicated. Inform the user
      of this possibility if you see multiple devices in the same time period.
    - If a user asks you to sum up some values from their health records, DO NOT
      search for records and write a script to sum them, instead, use this tool:
      if they ask to sum data from a year, use this tool with date_from set as the
      beginning of the year and date_to as the end of the year, with an interval
      of 'year'
    - The function automatically handles date filtering if date_from/date_to are provided
    - IMPORTANT - interval must be one of: "day", "week", "month", or "year".
      Do not use other values.
    - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
search_values_ch tool
Search for records with exactly matching values (including text) using ClickHouse.

    Parameters:
    - record_type: The type of health record to analyze (e.g., "HKQuantityTypeIdentifierStepCount")
    - value: Value to search for in the data
    - date_from, date_to: Optional date strings for filtering date range

    Notes for LLMs:
    - Use this to search for specific values (for example statistical outliers) in health data
    - It can also be used for text values: e.g.
      you can search for "HKCategoryTypeIdentifierSleepAnalysis"
      records with the value of "HKCategoryValueSleepAnalysisAsleepDeep"
    - The function automatically handles date filtering if date_from/date_to are provided
    - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_health_summary_duckdb tool
Get a summary of Apple Health data from DuckDB.
    The function returns total record count, record type breakdown, and
     (optionally) a date range aggregation.

    Notes for LLM:
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - Use this tool if you're not certain of the record type that
      should be called
    - If there are multiple databases available (DuckDB, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, Elasticsearch):
      you can use the tools from this database without the user specifying it.
search_health_records_duckdb tool
Search health records in DuckDB with flexible query building.

    Parameters:
    - params: HealthRecordSearchParams object containing all search/filter parameters.
      (required parameters: record_type)

    Notes for LLMs:
    - This function should return a list of health record documents (dicts)
      matching the search criteria ordered by date from most to least recent.
    - Each document in the list should represent a single health record as stored in ClickHouse.
    - If an error occurs, the function should return a list with a single dict
      containing an 'error' key and the error message.
    - Use this to retrieve structured health data for further analysis, filtering, or display.
    - Example source_name: "Rob’s iPhone", "Polar Flow", "Sync Solver".
    - Example date_from/date_to: "2020-01-01T00:00:00+00:00"
    - Example value_min/value_max: "10", "100.5"
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - This tool can be used to search for most recent records of a given type,
      in which case you should use this tool with a limit of 1.
    - If there are multiple databases available (DuckDB, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_statistics_by_type_duckdb tool
Get comprehensive statistics for a specific health record type from DuckDB.

    Parameters:
    - record_type: The type of health record to analyze. Use RecordType for
      most frequent types. Use str if that type is beyond RecordType scope.

    Returns:
    - record_type: The analyzed record type
    - total_count: Total number of records of this type in the index
    - value_statistics: Statistical summary of the 'value' field including:
      * count: Number of records with values
      * min: Minimum value recorded
      * max: Maximum value recorded
      * avg: Average value across all records
      * sum: Sum of all values
    - sources: Breakdown of records by source device/app (e.g., "Rob's iPhone", "Polar Flow")

    Notes for LLMs:
    - This function provides comprehensive statistical analysis for any health record type.
    - The value_statistics object contains all basic statistics (count, min,
      max, avg, sum) for the 'value' field.
    - The sources breakdown shows which devices/apps contributed data for this record type.
    - Example types: "HKQuantityTypeIdentifierStepCount",
      "HKQuantityTypeIdentifierBodyMassIndex", "HKQuantityTypeIdentifierHeartRate", etc.
    - Use this function to understand the distribution, range, and trends of
     specific health metrics.
    - The function is useful for health analysis, identifying outliers, and
      understanding data quality.
    - This tool can also be used to figure out the value of the record with
      the shortest/longest duration or highest/lowest value
    - date_range key for query is commented, since it contained hardcoded from
      date, but you can use it anyway if you replace startDate with your data.
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_trend_data_duckdb tool
Get trend data for a specific health record type over time using DuckDB
     date histogram aggregation.

    Parameters:
    - record_type: The type of health record to analyze (e.g., "HKQuantityTypeIdentifierStepCount")
    - interval: Time interval for aggregation.
    - date_from, date_to: Optional ISO8601 date strings for filtering date range

    Returns:
    - record_type: The analyzed record type
    - device: The device on which the data was recorded
    - interval: The time interval used
    - trend_data: List of time buckets with statistics for each period:
      * date: The time period (ISO string)
      * value_sum: Sum of values for the period
      * avg_value: Average value for the period
      * min_value: Minimum value for the period
      * max_value: Maximum value for the period
      * count: Number of records in the period

    Notes for LLMs:
    - Use this to analyze trends, patterns, and seasonal variations in health data
    - Keep in mind that when there is data from multiple devices spanning the same
      time period, there is a possibility of data being duplicated. Inform the user
      of this possibility if you see multiple devices in the same time period.
    - If a user asks you to sum up some values from their health records, DO NOT
      search for records and write a script to sum them, instead, use this tool:
      if they ask to sum data from a year, use this tool with date_from set as the
      beginning of the year and date_to as the end of the year, with an interval
      of 'year'
    - The function automatically handles date filtering if date_from/date_to are provided
    - IMPORTANT - interval must be one of: "day", "week", "month", or "year".
      Do not use other values.
    - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, Elasticsearch):
      you can use the tools from this database without the user specifying it.
search_values_duckdb tool
Search for records with exactly matching values (including text) using DuckDB.

    Parameters:
    - record_type: The type of health record to analyze (e.g., "HKQuantityTypeIdentifierStepCount")
    - value: Value to search for in the data
    - date_from, date_to: Optional ISO8601 date strings for filtering date range

    Notes for LLMs:
    - Use this to search for specific values (for example statistical outliers) in health data
    - It can also be used for text values: e.g.
      you can search for "HKCategoryTypeIdentifierSleepAnalysis"
      records with the value of "HKCategoryValueSleepAnalysisAsleepDeep"
    - The function automatically handles date filtering if date_from/date_to are provided
    - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_health_summary_es tool
Get a summary of Apple Health data from Elasticsearch.
    The function returns total record count, record type breakdown, and
    (optionally) a date range aggregation.

    Notes for LLM:
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
search_health_records_es tool
Search health records in Elasticsearch with flexible query building.

    Parameters:
    - params: HealthRecordSearchParams object containing all search/filter parameters.

    Notes for LLMs:
    - This function should return a list of health record documents (dicts)
      matching the search criteria.
    - Each document in the list should represent a single health record as stored in Elasticsearch.
    - If an error occurs, the function should return a list with a single dict
      containing an 'error' key and the error message.
    - Use this to retrieve structured health data for further analysis, filtering, or display.
    - Example source_name: "Rob’s iPhone", "Polar Flow", "Sync Solver".
    - Example date_from/date_to: "2020-01-01T00:00:00+00:00"
    - Example value_min/value_max: "10", "100.5"
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_statistics_by_type_es tool
Get comprehensive statistics for a specific health record type from Elasticsearch.

    Parameters:
    - record_type: The type of health record to analyze. Use RecordType for
      most frequent types. Use str if that type is beyond RecordType scope.

    Returns:
    - record_type: The analyzed record type
    - total_count: Total number of records of this type in the index
    - value_statistics: Statistical summary of the 'value' field including:
      * count: Number of records with values
      * min: Minimum value recorded
      * max: Maximum value recorded
      * avg: Average value across all records
      * sum: Sum of all values
    - sources: Breakdown of records by source device/app (e.g., "Rob's iPhone", "Polar Flow")

    Notes for LLMs:
    - This function provides comprehensive statistical analysis for any health record type.
    - The value_statistics object contains all basic statistics (count, min,
      max, avg, sum) for the 'value' field.
    - The sources breakdown shows which devices/apps contributed data for this record type.
    - Example types: "HKQuantityTypeIdentifierStepCount",
      "HKQuantityTypeIdentifierBodyMassIndex", "HKQuantityTypeIdentifierHeartRate", etc.
    - Use this function to understand the distribution, range, and trends of
      specific health metrics.
    - The function is useful for health analysis, identifying outliers, and
      understanding data quality.
    - date_range key for query is commented, since it contained hardcoded from
      date, but you can use it anyway if you replace startDate with your data.
    - IMPORTANT - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_trend_data_es tool
Get trend data for a specific health record type over time using
    Elasticsearch date histogram aggregation.

    Parameters:
    - record_type: The type of health record to analyze (e.g., "HKQuantityTypeIdentifierStepCount")
    - interval: Time interval for aggregation.
    - date_from, date_to: Optional ISO8601 date strings for filtering date range

    Returns:
    - record_type: The analyzed record type
    - device: The device on which the data was recorded
    - interval: The time interval used
    - trend_data: List of time buckets with statistics for each period:
      * date: The time period (ISO string)
      * value_sum: Sum of values for the period
      * avg_value: Average value for the period
      * min_value: Minimum value for the period
      * max_value: Maximum value for the period
      * count: Number of records in the period

    Notes for LLMs:
    - Use this to analyze trends, patterns, and seasonal variations in health data
    - Keep in mind that when there is data from multiple devices spanning the same
      time period, there is a possibility of data being duplicated. Inform the user
      of this possibility if you see multiple devices in the same time period.
    - If a user asks you to sum up some values from their health records, DO NOT
      search for records and write a script to sum them, instead, use this tool:
      if they ask to sum data from a year, use this tool with date_from set as the
      beginning of the year and date_to as the end of the year, with an interval
      of 'year'
    - The function automatically handles date filtering if date_from/date_to are provided
    - IMPORTANT - interval must be one of: "day", "week", "month", or "year".
      Do not use other values.
    - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
search_values_es tool
Search for records with exactly matching values (including text) using Elasticsearch.

    Parameters:
    - record_type: The type of health record to analyze (e.g., "HKQuantityTypeIdentifierStepCount")
    - value: Value to search for in the data
    - date_from, date_to: Optional ISO8601 date strings for filtering date range

    Notes for LLMs:
    - Use this to search for specific values (for example statistical outliers) in health data
    - It can also be used for text values: e.g.
      you can search for "HKCategoryTypeIdentifierSleepAnalysis"
      records with the value of "HKCategoryValueSleepAnalysisAsleepDeep"
    - The function automatically handles date filtering if date_from/date_to are provided
    - Do not guess, autofill, or assume any missing data.
    - If there are multiple databases available (DuckDB, ClickHouse, Elasticsearch):
      first, ask the user which one he wants to use. DO NOT call any tools before
      the user specifies his intent.
    - If the user decides on an option, only use tools from this database,
      do not switch over to another until the user specifies that he wants
      to use a different one. You do not have to keep asking whether
      the user wants to use the same database that he used before.
    - If there is only one database available (DuckDB, ClickHouse, Elasticsearch):
      you can use the tools from this database without the user specifying it.
get_xml_structure tool
Analyze the structure and metadata of an Apple Health XML export file
    without loading the entire content.

    Returns:
    - file_size_mb: Size of the file in megabytes
    - root_elements: List of unique root-level XML tags
    - record_types: List of unique health record types (see RecordType for
      most frequent types, but may include others)
    - workout_types: List of unique workout types
    - sources: List of unique data sources (device/app names)

    Notes for LLMs:
    - Use this to quickly understand the contents and structure of a health XML file
    - RecordType contains only the most frequent types; other types may appear as strings
    - Do not guess, auto-fill, or assume any missing data.
    - When asked for medical advice, try to use my data from ElasticSearch first.
search_xml_content tool
Search for specific content in the Apple Health XML file and return
    matching records as XML text.

    Parameters:
    - query: Text to search for in any attribute value
    - max_results: Maximum number of matching records to return (default: 50)

    Returns:
    - A string containing up to max_results XML elements that match the
      query, or a message if no matches are found.

    Notes for LLMs:
    - Searches both Record and Workout elements
    - Useful for finding all records containing a specific value, device, or type
    - This function streams the file for memory efficiency and does not load
      the entire file into memory.
    - If filename is not provided, the file set by set_xml_file will be used.
    - Do not guess, auto-fill, or assume any missing data.
    - When asked for medical advice, try to use my data from ElasticSearch first.
get_xml_by_type tool
Get all records of a specific health record type from the Apple Health XML file.

    Parameters:
    - record_type: The type of health record to retrieve (use RecordType for
      most frequent types, or any string for custom/rare types)
    - limit: Maximum number of records to return (default: 20)

    Returns:
    - A string containing up to limit XML elements of the specified type, or
      a message if no records are found.

    Notes for LLMs:
    - Use this to extract all records of a given type for further analysis or conversion
    - RecordType contains only the most frequent types; other types may appear as strings
    - This function streams the file for memory efficiency and does not load
      the entire file into memory.
    - If filename is not provided, the file set by set_xml_file will be used.
    - Do not guess, auto-fill, or assume any missing data.
    - When asked for medical advice, try to use my data from ElasticSearch first.

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 Safety10.0
  • 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 Exposure10.0
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 18 tool handlers traced
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 18 tool handlers traced
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 18 tool handlers traced
  • Requests any address
    No tool sends a request to an address the caller supplies — 18 tool handlers traced
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 18 tool handlers traced
  • Tools that start processes
    Not seen in the traced code of 18 capabilities; 18 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    Not seen in the traced code of 18 capabilities; 18 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 18 capabilities; 18 more call code the scanner could not follow, where it may happen
Where the code is: 18 handlers in 4 files at commit 638e05a2451a
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.6
  • Dependency manifests
    1 manifest: pyproject.toml
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies CRITICAL
    16 production packages with known advisories
  • Known vulnerabilities in other dependencies
    3 packages with advisories used only for development, tests or examples; an install of the server leaves them out
  • MCP SDK version
    fastmcp >=2.10
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
    Not seen in the traced code of 18 capabilities; 18 more call code the scanner could not follow, where it may happen
  • 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 (16 in production)

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

PackageInstalledWorstAdvisoriesFixed in
authlibPyPI 1.6.3 CRITICAL 36 advisories 1.6.41.6.51.6.6+8 more
  • CRITICALGHSA-6v38-4h7w-rj9h CVE-2026-96760Authlib: empty signatures validation in JWS JSON deserialization
  • CRITICALGHSA-wvwj-cvrp-7pv5 CVE-2026-27962 PYSEC-2026-287Authlib JWS JWK Header Injection: Signature Verification Bypass
  • HIGHGHSA-9ggr-2464-2j32 CVE-2025-59420 PYSEC-2026-1200Authlib: JWS/JWT accepts unknown crit headers (RFC violation → possible authz bypass)
  • HIGHGHSA-pq5p-34cr-23v9 CVE-2025-61920 PYSEC-2026-1203Authlib is vulnerable to Denial of Service via Oversized JOSE Segments
  • HIGHGHSA-m344-f55w-2m6j CVE-2026-28498 PYSEC-2026-2117Authlib: Fail-Open Cryptographic Verification in OIDC Hash Binding
  • HIGHGHSA-7vr2-2fgp-9w7p CVE-2026-114615 PYSEC-2026-4355Authlib incomplete algorithm-confusion fix permits HMAC forgery with prefixed public keys
  • HIGHGHSA-7432-952r-cw78 CVE-2026-28490 PYSEC-2026-2116Authlib Vulnerable to JWE RSA1_5 Bleichenbacher Padding Oracle
  • HIGHGHSA-c73q-w75p-j82v CVE-2026-116672Authlib RFC 7592 examples omit registration-access-token client binding
  • HIGHGHSA-8m4g-j4wp-wgcg CVE-2026-114616 PYSEC-2026-4356Authlib accepts an empty HMAC key, allowing JWS/JWT signature forgery (HS256/HS384/HS512)
  • MEDIUMPYSEC-2026-287 CVE-2026-27962 GHSA-wvwj-cvrp-7pv5Authlib JWS JWK Header Injection: Signature Verification Bypass
  • MEDIUMPYSEC-2026-1202 CVE-2025-62706 GHSA-g7f3-828f-7h7mAuthlib : JWE zip=DEF decompression bomb enables DoS
  • MEDIUMPYSEC-2026-4354 CVE-2026-114614 GHSA-jj7h-c3hg-m23xAuthlib is a Python library which builds OAuth and OpenID Connect servers. From 0.13 until 1.8.0, authlib.common.security.is_secure_transport() uses a textual prefix comparison for loopback HTTP exemptions, so a URL whose userinfo begins with a loopback host can be accepted even when its parsed host is an external non-loopback system. An external party able to supply a URL to OIDC RP-Initiated Logout registration, authorization-server metadata validation, or another call site can bypass the TLS-required guard and cause cleartext redirection or acceptance of cleartext endpoints. The issue does not bypass redirect URI exact matching and does not by itself forge tokens or authenticate users. The vulnerable authlib.common.security.is_secure_transport() implementation in authlib/common/security.py misinterprets the userinfo component before OIDC RP-Initiated Logout dynamic client registration and other consumers enforce transport security. This issue is fixed in version 1.8.0.
  • MEDIUMPYSEC-2026-2116 CVE-2026-28490 GHSA-7432-952r-cw78Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.9, a cryptographic padding oracle vulnerability was identified in the Authlib Python library concerning the implementation of the JSON Web Encryption (JWE) RSA1_5 key management algorithm. Authlib registers RSA1_5 in its default algorithm registry without requiring explicit opt-in, and actively destroys the constant-time Bleichenbacher mitigation that the underlying cryptography library implements correctly. This issue has been patched in version 1.6.9.
  • MEDIUMPYSEC-2026-1201 CVE-2025-68158 GHSA-fg6f-75jq-6523Authlib has 1-click Account Takeover vulnerability
  • MEDIUMPYSEC-2026-2119 CVE-2026-41479 GHSA-w8p2-r796-3vmqAuthlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.6.10 and 1.7.1, Authlib's OAuth 2.0 authorization endpoint can be turned into an unauthenticated open redirect when a request uses an unsupported response_type and supplies an attacker-controlled redirect_uri. The vulnerable behavior happens before client lookup and before any redirect URI validation. As a result, an attacker does not need a valid client registration, an authenticated user, or any prior state. A single request to the authorization endpoint is enough to obtain a 302 Location response to an arbitrary attacker-controlled URL. This vulnerability is fixed in 1.6.10 and 1.7.1.
  • MEDIUMPYSEC-2026-4358 CVE-2026-114618 GHSA-fch4-3c6x-j4gcAuthlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.9.0, the default RFC 7523 JWTBearerGrant.get_audiences() returns an empty list, causing JWTBearerGrant.verify_claims() to require only that an aud claim exists without matching the current authorization server. An attacker holding a legitimate assertion for another service can present it to a server that shares the signing key and uses the default grant, obtaining an access token across a trust boundary. Implementations that override get_audiences() with the server's valid audience identifiers are not affected. This issue is fixed in version 1.9.0.
  • MEDIUMPYSEC-2026-4359 CVE-2026-114619 GHSA-q686-2qmg-hqc7Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.9.0, OpenIDImplicitGrant.validate_authorization_request() checks the client-controlled raw request.payload.scope for openid after the parent grant has filtered allowed scopes into request.scope. A registered client permitted an ID token response type but not the openid scope can add openid to the request, obtain user consent, and receive a signed ID token containing the user's subject and allowed profile claims. Authorization code flow and deployments that allow openid for every client permitted an ID token response are not affected. In authlib/oidc/core/grants/implicit.py, OpenIDImplicitGrant.validate_authorization_request() checks request.payload.scope instead of the filtered request.scope. This issue is fixed in version 1.9.0.
  • MEDIUMGHSA-fg6f-75jq-6523 CVE-2025-68158 PYSEC-2026-1201Authlib has 1-click Account Takeover vulnerability
  • MEDIUMPYSEC-2026-4356 CVE-2026-114616 GHSA-8m4g-j4wp-wgcgAuthlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.9.1, Authlib's OctKey.import_key() and HMAC signing and verification path accept zero-length key material. If an application's secret lookup can return an empty string or empty bytes, a remote attacker can compute the deterministic HS256, HS384, or HS512 signature for arbitrary token claims and have Authlib treat the token as authentic. This issue is fixed in version 1.9.1.
  • MEDIUMGHSA-x4rv-c3wx-4cr8 CVE-2026-114620 PYSEC-2026-4360Authlib: Unvalidated request_uri fetch in JWT-secured authorization request (JAR) leading to SSRF
  • MEDIUMGHSA-c5mf-xmp2-59rc CVE-2026-114617 PYSEC-2026-4357Authlib: ID token can disable its own nonce validation via the nonce_supported claim
  • MEDIUMGHSA-fch4-3c6x-j4gc CVE-2026-114618 PYSEC-2026-4358Authlib: Default JWT bearer grant accepts assertions for the wrong audience
  • MEDIUMPYSEC-2026-2117 CVE-2026-28498 GHSA-m344-f55w-2m6jAuthlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.9, a library-level vulnerability was identified in the Authlib Python library concerning the validation of OpenID Connect (OIDC) ID Tokens. Specifically, the internal hash verification logic (_verify_hash) responsible for validating the at_hash (Access Token Hash) and c_hash (Authorization Code Hash) claims exhibits a fail-open behavior when encountering an unsupported or unknown cryptographic algorithm. This flaw allows an attacker to bypass mandatory integrity protections by supplying a forged ID Token with a deliberately unrecognized alg header parameter. The library intercepts the unsupported state and silently returns True (validation passed), inherently violating fundamental cryptographic design principles and direct OIDC specifications. This issue has been patched in version 1.6.9.
  • MEDIUMPYSEC-2026-188 CVE-2026-44681 GHSA-r95x-qfjj-fjj2Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.6.12 and 1.7.1, an unauthenticated open redirect in Authlib's OpenIDImplicitGrant and OpenIDHybridGrant authorization endpoint lets a remote attacker cause the authorization server to issue an HTTP 302 to an attacker-chosen URL by submitting an authorization request that omits the openid scope. This vulnerability is fixed in 1.6.12 and 1.7.1.
  • MEDIUMPYSEC-2026-1203 CVE-2025-61920 GHSA-pq5p-34cr-23v9Authlib is vulnerable to Denial of Service via Oversized JOSE Segments
  • MEDIUMPYSEC-2026-4355 CVE-2026-114615 GHSA-7vr2-2fgp-9w7pAuthlib is a Python library which builds OAuth and OpenID Connect servers. From 1.3.1 until 1.9.0, OctKey.import_key() checks asymmetric-key markers only at byte zero while Authlib's PEM loaders accept leading whitespace, comments, or a byte-order mark. In deployments that use the documented mixed algorithm registry and already configure verification with PEM or certificate bytes containing such a prefix, an unauthenticated attacker who knows those same public-key bytes can use them as an HMAC secret and forge HS256 tokens with arbitrary identity or authorization claims. This is a bypass of the remediation for CVE-2024-37568. The module-level jwt object reaches OctKey.import_key() in authlib/jose/rfc7518/oct_key.py, where POSSIBLE_UNSAFE_KEYS fails to identify prefixed asymmetric key material. This issue is fixed in version 1.9.0.
  • MEDIUMGHSA-jj8c-mmj3-mmgv CVE-2026-41425 PYSEC-2026-25Authlib: Cross-site request forging when using cache
  • MEDIUMGHSA-q686-2qmg-hqc7 CVE-2026-114619 PYSEC-2026-4359Authlib: OpenID implicit grant checks raw scope instead of allowed scope before issuing ID tokens
  • MEDIUMPYSEC-2026-4360 CVE-2026-114620 GHSA-x4rv-c3wx-4cr8Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.9.0, Authlib's RFC 9101 JWTAuthenticationRequest passes the unauthenticated, client-controlled request_uri parameter to the abstract get_request_object() hook before applying a destination or registration policy; the hook itself performs no network request, while the documentation demonstrates an unrestricted HTTP fetch. In deployments whose integrator implements that hook as an unrestricted outbound fetch, a remote attacker who knows a valid public client identifier can make the authorization server request internal, link-local, or otherwise unintended URLs and can distinguish fetch outcomes through different error responses and timing. Deployments whose custom hook already applies a secure allowlist, destination controls, and retrieval limits are not affected. The JWTAuthenticationRequest implementation in authlib/oauth2/rfc9101/authorization_server.py forwards request_uri to get_request_object() before an application-approved retrieval policy accepts the destination. This issue is fixed in version 1.9.0.
  • MEDIUMPYSEC-2026-25 CVE-2026-41425 GHSA-jj8c-mmj3-mmgvAuthlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.6.11, there is no CSRF protection on the cache feature in authlib.integrations.starlette_client.OAuth. This vulnerability is fixed in 1.6.11.
  • MEDIUMGHSA-r95x-qfjj-fjj2 CVE-2026-44681 PYSEC-2026-188Authlib OIDC Implicit/Hybrid Authorization Vulnerable to Open Redirect
  • MEDIUMGHSA-w8p2-r796-3vmq CVE-2026-41479 PYSEC-2026-2119Authlib OAuth 2.0 has Open Redirect in Authorization API that allows attacker-controlled redirect_uri through unsupported response_type
  • MEDIUMGHSA-g7f3-828f-7h7m CVE-2025-62706 PYSEC-2026-1202Authlib : JWE zip=DEF decompression bomb enables DoS
  • MEDIUMPYSEC-2026-1200 CVE-2025-59420 GHSA-9ggr-2464-2j32Authlib: JWS/JWT accepts unknown crit headers (RFC violation → possible authz bypass)
  • MEDIUMPYSEC-2026-4357 CVE-2026-114617 GHSA-c5mf-xmp2-59rcAuthlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.9.0, OpenIDMixin.parse_id_token() reads the nonce_supported decision from the untrusted ID token being validated and sets the expected nonce to null when that claim is the JSON boolean false. In implicit and hybrid relying parties, or applications that directly accept externally supplied ID tokens, an attacker with a captured validly signed token can bypass the nonce-to-session binding and replay the victim's token into an attacker-controlled session. Plain authorization code flow is not affected, and the token must still pass signature, issuer, and audience validation. OpenIDMixin.parse_id_token() trusts nonce_supported in both authlib/integrations/base_client/sync_openid.py and authlib/integrations/base_client/async_openid.py to disable the expected nonce. This issue is fixed in version 1.9.0.
  • LOWGHSA-jj7h-c3hg-m23x CVE-2026-114614 PYSEC-2026-4354Authlib: is_secure_transport() loopback exemption can be bypassed with a userinfo component, allowing cleartext-HTTP URLs to non-loopback hosts
fastmcpPyPI 2.12.2 CRITICAL 14 advisories 2.13.02.14.02.14.2+1 more
  • CRITICALGHSA-vv7q-7jx5-f767 CVE-2026-32871 PYSEC-2026-338FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
  • HIGHGHSA-rcfx-77hg-w2wvFastMCP updated to MCP 1.23+ due to CVE-2025-66416
  • HIGHGHSA-rww4-4w9c-7733 CVE-2026-27124 PYSEC-2026-2476FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
  • HIGHGHSA-c2jp-c369-7pvxFastMCP Auth Integration Allows for Confused Deputy Account Takeover
  • HIGHGHSA-5h2m-4q8j-pqpj CVE-2025-69196 PYSEC-2026-2474FastMCP OAuth Proxy token reuse across MCP servers
  • MEDIUMGHSA-m8x7-r2rg-vh5g CVE-2025-64340 PYSEC-2026-2475FastMCP has a Command Injection vulnerability - Gemini CLI
  • MEDIUMPYSEC-2026-2475 CVE-2025-64340 GHSA-m8x7-r2rg-vh5gFastMCP has a Command Injection vulnerability - Gemini CLI
  • MEDIUMPYSEC-2026-1364 CVE-2025-62800 GHSA-mxxr-jv3v-6pgcFastMCP vulnerable to reflected XSS in client's callback page
  • MEDIUMPYSEC-2026-2476 CVE-2026-27124 GHSA-rww4-4w9c-7733FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
  • MEDIUMGHSA-rj5c-58rq-j5g5 CVE-2025-62801 PYSEC-2026-1365FastMCP vulnerable to windows command injection in FastMCP Cursor installer via server_name
  • MEDIUMPYSEC-2026-1365 CVE-2025-62801 GHSA-rj5c-58rq-j5g5FastMCP vulnerable to windows command injection in FastMCP Cursor installer via server_name
  • MEDIUMGHSA-mxxr-jv3v-6pgc CVE-2025-62800 PYSEC-2026-1364FastMCP vulnerable to reflected XSS in client's callback page
  • MEDIUMPYSEC-2026-2474 CVE-2025-69196 GHSA-5h2m-4q8j-pqpjFastMCP OAuth Proxy token reuse across MCP servers
  • MEDIUMPYSEC-2026-338 CVE-2026-32871 GHSA-vv7q-7jx5-f767FastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerability
anyioPyPI 4.10.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-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
  • MEDIUMPYSEC-2026-4024 CVE-2026-64847 GHSA-5p39-cfhj-2xmpAnyIO process-pool workers can block indefinitely on undrained stderr
certifiPyPI 2025.8.3 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
python-multipartPyPI 0.0.20 HIGH 14 advisories 0.0.220.0.260.0.27+2 more
  • HIGHGHSA-pp6c-gr5w-3c5g CVE-2026-42561 PYSEC-2026-3039python-multipart has Denial of Service via unbounded multipart part headers
  • HIGHGHSA-wp53-j4wj-2cfg CVE-2026-24486 PYSEC-2026-1852Python-Multipart has Arbitrary File Write via Non-Default Configuration
  • HIGHGHSA-5rvq-cxj2-64vf CVE-2026-53539 PYSEC-2026-3036python-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
  • 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-3039 CVE-2026-42561 GHSA-pp6c-gr5w-3c5gpython-multipart has Denial of Service via unbounded multipart part headers
  • MEDIUMPYSEC-2026-3036 CVE-2026-53539 GHSA-5rvq-cxj2-64vfpython-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
  • 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
  • MEDIUMGHSA-mj87-hwqh-73pj CVE-2026-40347 PYSEC-2026-3038python-multipart affected by Denial of Service via large multipart preamble or epilogue data
  • MEDIUMPYSEC-2026-1852 CVE-2026-24486 GHSA-wp53-j4wj-2cfgPython-Multipart has Arbitrary File Write via Non-Default Configuration
  • MEDIUMPYSEC-2026-3038 CVE-2026-40347 GHSA-mj87-hwqh-73pjpython-multipart affected by Denial of Service via large multipart preamble or epilogue data
  • LOWGHSA-v9pg-7xvm-68hf CVE-2026-53540 PYSEC-2026-3040python-multipart: Negative Content-Length in parse_form buffers the entire body in memory
  • LOWGHSA-vffw-93wf-4j4q CVE-2026-53537 PYSEC-2026-3041python-multipart: Content-Disposition parameter smuggling via RFC 2231/5987 extended parameters
  • LOWGHSA-6jv3-5f52-599m CVE-2026-53538 PYSEC-2026-3037python-multipart: Semicolon treated as querystring field separator enables parameter smuggling
cryptographyPyPI 45.0.7 HIGH 13 advisories 46.0.546.0.646.0.7+3 more
  • HIGHGHSA-g6cj-pr64-35w5 CVE-2026-69247 PYSEC-2026-3552cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
  • HIGHGHSA-r6ph-v2qm-q3c2 CVE-2026-26007 PYSEC-2026-2141cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves
  • HIGHGHSA-jwv3-5hgf-82ww CVE-2026-69249 PYSEC-2026-3553python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
  • HIGHGHSA-537c-gmf6-5ccfVulnerable OpenSSL included in cryptography wheels
  • MEDIUMPYSEC-2026-36 CVE-2026-39892 GHSA-p423-j2cm-9vmqcryptography is a package designed to expose cryptographic primitives and recipes to Python developers. From 45.0.0 to before 46.0.7, if a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. Hash.update()), this could lead to buffer overflows. This vulnerability is fixed in 46.0.7.
  • MEDIUMPYSEC-2026-2141 CVE-2026-26007 GHSA-r6ph-v2qm-q3c2cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to 46.0.5, the public_key_from_numbers (or EllipticCurvePublicNumbers.public_key()), EllipticCurvePublicNumbers.public_key(), load_der_public_key() and load_pem_public_key() functions do not verify that the point belongs to the expected prime-order subgroup of the curve. This missing validation allows an attacker to provide a public key point P from a small-order subgroup. This can lead to security issues in various situations, such as the most commonly used signature verification (ECDSA) and shared key negotiation (ECDH). When the victim computes the shared secret as S = [victim_private_key]P via ECDH, this leaks information about victim_private_key mod (small_subgroup_order). For curves with cofactor > 1, this reveals the least significant bits of the private key. When these weak public keys are used in ECDSA , it's easy to forge signatures on the small subgroup. Only SECT curves are impacted by this. This vulnerability is fixed in 46.0.5.
  • MEDIUMGHSA-p423-j2cm-9vmq CVE-2026-39892 PYSEC-2026-36Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs
  • 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
  • MEDIUMGHSA-m2h6-j472-rp4c CVE-2026-69248 PYSEC-2026-3554python-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
  • MEDIUMPYSEC-2026-35 CVE-2026-34073 GHSA-m959-cc7f-wv43cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to version 46.0.6, DNS name constraints were only validated against SANs within child certificates, and not the "peer name" presented during each validation. Consequently, cryptography would allow a peer named bar.example.com to validate against a wildcard leaf certificate for *.example.com, even if the leaf's parent certificate (or upwards) contained an excluded subtree constraint for bar.example.com. This issue has been patched in version 46.0.6.
  • LOWGHSA-m959-cc7f-wv43 CVE-2026-34073 PYSEC-2026-35cryptography has incomplete DNS name constraint enforcement on peer names
starlettePyPI 0.47.3 HIGH 12 advisories 0.49.11.0.11.1.0+2 more
  • HIGHGHSA-7f5h-v6xp-fcq8 CVE-2025-62727 PYSEC-2026-1942Starlette vulnerable to O(n^2) DoS via Range header merging in ``starlette.responses.FileResponse``
  • HIGHGHSA-wqp7-x3pw-xc5r CVE-2026-48818 PYSEC-2026-2281Starlette: SSRF and NTLM credential theft via UNC paths in StaticFiles on Windows
  • HIGHGHSA-82w8-qh3p-5jfq CVE-2026-54283 PYSEC-2026-249Starlette: request.form() limits silently ignored for application/x-www-form-urlencoded enable DoS
  • 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-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.
  • MEDIUMGHSA-x746-7m8f-x49c CVE-2026-48817 PYSEC-2026-2280Starlette: Arbitrary HTTP method dispatched to `HTTPEndpoint` attributes via `getattr`
  • 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-1942 CVE-2025-62727 GHSA-7f5h-v6xp-fcq8Starlette vulnerable to O(n^2) DoS via Range header merging in ``starlette.responses.FileResponse``
  • 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.
  • LOWGHSA-jp82-jpqv-5vv3 CVE-2026-54282 PYSEC-2026-248Starlette: Unvalidated request path concatenated into authority poisons request.url.hostname
urllib3PyPI 2.5.0 HIGH 12 advisories 2.6.02.6.32.7.0+1 more
  • 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-38jv-5279-wg99 CVE-2026-21441 PYSEC-2026-1996Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)
  • HIGHGHSA-gm62-xv2j-4w53 CVE-2025-66418 PYSEC-2026-1998urllib3 allows an unbounded number of links in the decompression chain
  • HIGHGHSA-2xpw-w6gg-jr37 CVE-2025-66471 PYSEC-2026-1994urllib3 streaming API improperly handles highly compressed data
  • HIGHGHSA-vxq7-64xx-v4gw CVE-2026-97689 PYSEC-2026-4177urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
  • MEDIUMPYSEC-2026-1998 CVE-2025-66418 GHSA-gm62-xv2j-4w53urllib3 allows an unbounded number of links in the decompression chain
  • MEDIUMPYSEC-2026-1996 CVE-2026-21441 GHSA-38jv-5279-wg99Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)
  • MEDIUMPYSEC-2026-1994 CVE-2025-66471 GHSA-2xpw-w6gg-jr37urllib3 streaming API improperly handles highly compressed data
  • MEDIUMPYSEC-2026-4175 CVE-2026-97687 GHSA-8988-9cw3-xx77urllib3: HTTPS proxy TLS configuration may be ignored or overridden
  • 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
mcpPyPI 1.13.1 HIGH 11 advisories 1.23.01.27.21.28.1+2 more
  • HIGHGHSA-qx49-fqc8-xw99 CVE-2026-115563Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
  • HIGHGHSA-9h52-p55h-vw2f CVE-2025-66416 PYSEC-2026-1617Model Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default
  • HIGHGHSA-vj7q-gjh5-988w CVE-2026-59950 PYSEC-2026-3483MCP Python SDK: WebSocket server transport does not support Host/Origin validation
  • HIGHGHSA-jpw9-pfvf-9f58 CVE-2026-52869 PYSEC-2026-3482MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
  • MEDIUMPYSEC-2026-3482 CVE-2026-52869 GHSA-jpw9-pfvf-9f58MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
  • MEDIUMPYSEC-2026-1617 CVE-2025-66416 GHSA-9h52-p55h-vw2fModel Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default
  • MEDIUMPYSEC-2026-3483 CVE-2026-59950 GHSA-vj7q-gjh5-988wMCP Python SDK: WebSocket server transport does not support Host/Origin validation
  • MEDIUMGHSA-84m7-p3x7-pcfv CVE-2026-59951MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion
  • MEDIUMGHSA-w4fh-qvv9-3v23 CVE-2026-116684Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource server
  • MEDIUMGHSA-rwrf-2pqf-9j8j CVE-2026-116686Model Context Protocol Python SDK: Client fetched server-chosen $ref URLs while validating tool results against output schemas
  • MEDIUMGHSA-5h93-6whr-6q8j CVE-2026-116685Model Context Protocol Python SDK: HTTP client transports followed cross-origin redirects carrying custom headers and bodies
dnspythonPyPI 2.8.0 HIGH 2 advisories 2.9.02.9.2
pyarrowPyPI 21.0.0 HIGH 2 advisories 23.0.1
  • HIGHGHSA-rgxp-2hwp-jwgg CVE-2026-25087 PYSEC-2026-113Apache Arrow: Potential use-after-free when reading IPC file with pre-buffering
  • MEDIUMPYSEC-2026-113 CVE-2026-25087 GHSA-rgxp-2hwp-jwggUse After Free vulnerability in Apache Arrow C++. This issue affects Apache Arrow C++ from 15.0.0 through 23.0.0. It can be triggered when reading an Arrow IPC file (but not an IPC stream) with pre-buffering enabled, if the IPC file contains data with variadic buffers (such as Binary View and String View data). Depending on the number of variadic buffers in a record batch column and on the temporal sequence of multi-threaded IO, a write to a dangling pointer could occur. The value (a `std::shared_ptr<Buffer>` object) that is written to the dangling pointer is not under direct control of the attacker. Pre-buffering is disabled by default but can be enabled using a specific C++ API call (`RecordBatchFileReader::PreBufferMetadata`). The functionality is not exposed in language bindings (Python, Ruby, C GLib), so these bindings are not vulnerable. The most likely consequence of this issue would be random crashes or memory corruption when reading specific kinds of IPC files. If the application allows ingesting IPC files from untrusted sources, this could plausibly be exploited for denial of service. Inducing more targeted kinds of misbehavior (such as confidential data extraction from the running process) depends on memory allocation and multi-threaded IO temporal patterns that are unlikely to be easily controlled by an attacker. Advice for users of Arrow C++: 1. check whether you enable pre-buffering on the IPC file reader (using `RecordBatchFileReader::PreBufferMetadata`) 2. if so, either disable pre-buffering (which may have adverse performance consequences), or switch to Arrow 23.0.1 which is not vulnerable
werkzeugPyPI 3.1.1 MEDIUM 8 advisories 3.1.43.1.53.1.6+1 more
  • MEDIUMPYSEC-2026-2044 CVE-2026-21860 GHSA-87hc-h4r5-73f7 Werkzeug safe_join() allows Windows special device names with compound extensions
  • MEDIUMGHSA-29vq-49wr-vm6x CVE-2026-27199 PYSEC-2026-2320 Werkzeug safe_join() allows Windows special device names
  • MEDIUMGHSA-87hc-h4r5-73f7 CVE-2026-21860 PYSEC-2026-2044 Werkzeug safe_join() allows Windows special device names with compound extensions
  • MEDIUMGHSA-hgf8-39gv-g3f2 CVE-2025-66221 PYSEC-2026-2046Werkzeug safe_join() allows Windows special device names
  • MEDIUMPYSEC-2026-2046 CVE-2025-66221 GHSA-hgf8-39gv-g3f2Werkzeug safe_join() allows Windows special device names
  • MEDIUMPYSEC-2026-2320 CVE-2026-27199 GHSA-29vq-49wr-vm6xWerkzeug is a comprehensive WSGI web application library. Versions 3.1.5 and below, the safe_join function allows Windows device names as filenames if preceded by other path segments. This was previously reported as GHSA-hgf8-39gv-g3f2, but the added filtering failed to account for the fact that safe_join accepts paths with multiple segments, such as example/NUL. The function send_from_directory uses safe_join to safely serve files at user-specified paths under a directory. If the application is running on Windows, and the requested path ends with a special device name, the file will be opened successfully, but reading will hang indefinitely. This issue has been fixed in version 3.1.6.
  • MEDIUMGHSA-g6x2-hccm-hh4m CVE-2026-102598 PYSEC-2026-4312Werkzeug safe_join() allows Windows special device names
  • MEDIUMPYSEC-2026-4312 CVE-2026-102598 GHSA-g6x2-hccm-hh4mWerkzeug safe_join() allows Windows special device names
idnaPyPI 3.10 MEDIUM 2 advisories 3.15
  • MEDIUMPYSEC-2026-215 CVE-2026-45409 GHSA-65pc-fj4g-8rjxInternationalized Domain Names in Applications (IDNA) for Python provides support for Internationalized Domain Names in Applications (IDNA) and Unicode IDNA Compatibility Processing. In versions prior to 3.15, payloads such as `"\\u0660" * N` or `"\\u30fb" * N + "\\u6f22"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process. This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. A specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service. Starting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support). A workaround is available. Domain names cannot exceed 253 characters in length. If this length limit is enforced prior to passing the domain to the `idna.encode()` function, it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.
  • MEDIUMGHSA-65pc-fj4g-8rjx CVE-2026-45409 PYSEC-2026-215Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix
pygmentsPyPI 2.19.2 MEDIUM 2 advisories 2.20.0
  • MEDIUMPYSEC-2026-2987 CVE-2026-4539 GHSA-5239-wwwm-4pmqPygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching
  • LOWGHSA-5239-wwwm-4pmq CVE-2026-4539 PYSEC-2026-2987Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching
python-dotenvPyPI 1.1.1 MEDIUM 2 advisories 1.2.2
  • MEDIUMGHSA-mf9w-mj56-hr94 CVE-2026-28684 PYSEC-2026-2270python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback
  • MEDIUMPYSEC-2026-2270 CVE-2026-28684 GHSA-mf9w-mj56-hr94python-dotenv reads key-value pairs from a .env file and can set them as environment variables. Prior to version 1.2.2, `set_key()` and `unset_key()` in python-dotenv follow symbolic links when rewriting `.env` files, allowing a local attacker to overwrite arbitrary files via a crafted symlink when a cross-device rename fallback is triggered. Users should upgrade to v.1.2.2 or, as a workaround, apply the patch manually.
requestsPyPI 2.32.5 MEDIUM 2 advisories 2.33.0
  • MEDIUMPYSEC-2026-2275 CVE-2026-25645 GHSA-gc5v-m9x4-r6x2Requests is a HTTP library. Prior to version 2.33.0, the `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one. Standard usage of the Requests library is not affected by this vulnerability. Only applications that call `extract_zipped_paths()` directly are impacted. Starting in version 2.33.0, the library extracts files to a non-deterministic location. If developers are unable to upgrade, they can set `TMPDIR` in their environment to a directory with restricted write access.
  • MEDIUMGHSA-gc5v-m9x4-r6x2 CVE-2026-25645 PYSEC-2026-2275Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function
3 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
PackageInstalledWorstAdvisoriesFixed in
virtualenvPyPI 20.34.0 HIGH 37 advisories 20.36.121.7.1121.7.12+6 more
  • HIGHGHSA-c978-59m8-c77v BIT-virtualenv-2026-113722 CVE-2026-113722 PYSEC-2026-4381virtualenv: Generated POSIX console launchers interpret destination paths as shell syntax
  • HIGHGHSA-6w3r-xr62-4xcp BIT-virtualenv-2026-113723 CVE-2026-113723 PYSEC-2026-4382virtualenv: Bash prompt values can change meaning under older compatibility modes
  • HIGHGHSA-x78j-v8h9-3j2q BIT-virtualenv-2026-102937 CVE-2026-102937 PYSEC-2026-4014virtualenv: Command injection via --prompt in activate.bat (batch activator)
  • HIGHGHSA-vxj4-q4g9-crj7 BIT-virtualenv-2026-113725 CVE-2026-113725 PYSEC-2026-4384virtualenv bash activate runs commands from an environment name with a backslash before $
  • HIGHGHSA-394h-qwmc-48pf BIT-virtualenv-2026-113718 CVE-2026-113718 PYSEC-2026-4377virtualenv: Xonsh activation literals depend on the script decoding codec
  • HIGHGHSA-8rjx-v5ww-45pp BIT-virtualenv-2026-113776 CVE-2026-113776 PYSEC-2026-4387virtualenv activation scripts run code from a path that contains a placeholder name
  • HIGHGHSA-5vjq-rrrf-7h2q BIT-virtualenv-2026-113726 CVE-2026-113726 PYSEC-2026-4385virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST
  • HIGHGHSA-94p9-xgh2-xp45 BIT-virtualenv-2026-102930 CVE-2026-102930 PYSEC-2026-4011virtualenv: Downloaded seed wheels (pip/setuptools) are not integrity-checked before use
  • HIGHGHSA-p58f-9548-mpm2 BIT-virtualenv-2026-102925 CVE-2026-102925 PYSEC-2026-4013virtualenv bash and fish activation scripts execute commands embedded in paths
  • HIGHGHSA-c947-3pg5-gm8q BIT-virtualenv-2026-113732 CVE-2026-113732 PYSEC-2026-4386virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote
  • MEDIUMPYSEC-2026-4375 BIT-virtualenv-2026-113716 CVE-2026-113716 GHSA-cw65-gx24-rc82virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the builtin creator calls ensure_dir() for executable, library, and package directories, and ensure_dir() accepts an existing symlink to a directory because exists() follows it. Interpreter creation, seed installation, and activation generation then write through the linked parent outside the requested destination when another local account prepared the tree and the invoking user can access the target. The --clear option removes the planted tree first, while ordinary creation reaches it; arbitrary attacker-selected output bytes are not established. This issue is fixed in version 21.14.9.
  • MEDIUMPYSEC-2026-4011 BIT-virtualenv-2026-102930 CVE-2026-102930 GHSA-94p9-xgh2-xp45Downloaded seed wheels (pip/setuptools) are not integrity-checked before use
  • MEDIUMPYSEC-2026-4374 BIT-virtualenv-2026-113715 CVE-2026-113715 GHSA-qmx5-4p3x-wvqfvirtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the stdlib venv creator reads generated pyvenv.cfg with str.splitlines() and merges parsed keys over virtualenv's selected configuration. An untrusted caller who influences the destination pathname can include a line-boundary character such as U+2028 to inject keys including home and include-system-site-packages, causing path data to change configuration structure before final output. Setting include-system-site-packages to true weakens environment isolation, while an altered home can change which standard-library files the interpreter loads if the attacker also controls that location. The builtin creator does not use this readback path. This issue is fixed in version 21.14.9.
  • MEDIUMGHSA-597g-3phw-6986 BIT-virtualenv-2026-22702 CVE-2026-22702 PYSEC-2026-2009virtualenv Has TOCTOU Vulnerabilities in Directory Creation
  • MEDIUMPYSEC-2026-4380 BIT-virtualenv-2026-113721 CVE-2026-113721 GHSA-558c-9hv2-4prjvirtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, ViaTemplateActivator._generate() removes an existing output only when Path.exists() is true, allowing a dangling symlink to survive and redirect generated activation content, while PyEnvCfg.write() opens pyvenv.cfg without first replacing an existing symbolic or hard link. Another local account that prepares final entries inside the destination can therefore cause environment creation to create or overwrite files outside the requested tree with constrained virtualenv-generated content and the invoking user's permissions. The destination parent must remain controlled by the environment owner during creation; concurrent parent-directory replacement is a separate concern. This issue is fixed in version 21.14.9.
  • MEDIUMGHSA-9h9j-4vrj-gf7g BIT-virtualenv-2026-102938 CVE-2026-102938 PYSEC-2026-4012virtualenv writes prompt values into pyvenv.cfg without sanitizing line boundaries, allowing configuration injection
  • MEDIUMPYSEC-2026-4387 BIT-virtualenv-2026-113776 CVE-2026-113776 GHSA-8rjx-v5ww-45ppvirtualenv is a tool for creating isolated virtual python environments. From 20.26.6 until 21.14.2, ViaTemplateActivator.instantiate_template() replaces placeholders one key at a time across the complete activation template, so trigger names such as __VIRTUAL_NAME__, __VIRTUAL_ENV__, or __VIRTUAL_PROMPT__ inside an already substituted and quoted environment path or prompt can be replaced during a later pass. The later value's quoting can close the earlier literal and execute the remaining path when a user activates the environment through bash, fish, xonsh, or activate_this.py. The distinct csh prompt-display token __VIRTUAL_PROMPT_DISPLAY_TCSH__ can instead break the generated script without establishing command execution. The attacker must influence the destination path or --prompt, and a value without a relevant placeholder name does not trigger this mechanism. This issue is fixed in version 21.14.2.
  • MEDIUMPYSEC-2026-4012 BIT-virtualenv-2026-102938 CVE-2026-102938 GHSA-9h9j-4vrj-gf7gvirtualenv writes prompt values into pyvenv.cfg without sanitizing line boundaries, allowing configuration injection
  • MEDIUMPYSEC-2026-4385 BIT-virtualenv-2026-113726 CVE-2026-113726 GHSA-5vjq-rrrf-7h2qvirtualenv is a tool for creating isolated virtual python environments. Prior to 21.13.0, the bash activate script that zsh also sources leaves the environment name unescaped; from 21.13.0 until 21.14.4, it escapes backslashes, dollar signs, and backticks only when BASH_VERSION is set, so zsh receives the raw value. The script assigns that value to PS1. In zsh with PROMPT_SUBST, an attacker-influenced environment directory, --prompt, or VIRTUALENV_PROMPT value containing command, parameter, or arithmetic expansion syntax can therefore execute commands in the user's shell each time the prompt is drawn. A percent sign is separately interpreted as a zsh prompt escape but does not by itself execute commands. Plain zsh with PROMPT_SUBST disabled and bash are not affected by this mechanism. This issue is fixed in version 21.14.4.
  • MEDIUMGHSA-cw65-gx24-rc82 BIT-virtualenv-2026-113716 CVE-2026-113716 PYSEC-2026-4375virtualenv: Builtin creation follows linked environment directories
  • MEDIUMPYSEC-2026-4379 BIT-virtualenv-2026-113720 CVE-2026-113720 GHSA-fc2g-4w5p-6whmvirtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the app-data copy seeder uses shutil.copy() to copy cached package files into later environments, causing cached source modes to override the current run's umask. A cache populated under a permissive umask can therefore produce files writable by another local account in a later traversable environment, allowing package code such as pip/__init__.py to be modified and executed by the environment owner. The attacker cannot force the earlier umask, and a private destination parent prevents access. This issue is fixed in version 21.14.9.
  • MEDIUMGHSA-43mp-35q3-x3fq BIT-virtualenv-2026-113724 CVE-2026-113724 PYSEC-2026-4383virtualenv: Deletion recovery can change a symlink target's mode
  • MEDIUMPYSEC-2026-4384 BIT-virtualenv-2026-113725 CVE-2026-113725 GHSA-vxj4-q4g9-crj7virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.7, the bash activate script escapes the environment name for only one of the two passes bash makes over PS1, so a backslash in the name undoes the escaping and a name containing \\$(...) runs as commands in the user's shell each time bash draws the prompt. This issue is fixed in version 21.14.7.
  • MEDIUMPYSEC-2026-4386 BIT-virtualenv-2026-113732 CVE-2026-113732 GHSA-c947-3pg5-gm8qvirtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.2, FishActivator inherits ViaTemplateActivator.quote(), which uses POSIX shlex.quote() even though fish interprets backslashes and single quotes differently. An attacker-influenced environment path, --prompt, or VIRTUALENV_PROMPT value containing a backslash before a quote can therefore terminate the generated fish literal and execute command substitution when the user sources activate.fish. This issue is fixed in version 21.14.2.
  • MEDIUMPYSEC-2026-4014 BIT-virtualenv-2026-102937 CVE-2026-102937 GHSA-x78j-v8h9-3j2qCommand injection via --prompt in activate.bat (batch activator)
  • MEDIUMPYSEC-2026-2009 BIT-virtualenv-2026-22702 CVE-2026-22702 GHSA-597g-3phw-6986virtualenv Has TOCTOU Vulnerabilities in Directory Creation
  • MEDIUMPYSEC-2026-4372 BIT-virtualenv-2026-113713 CVE-2026-113713 GHSA-4f8h-vr72-p32cvirtualenv is a tool for creating isolated virtual python environments. From 21.14.8 until 21.14.10, the app-data seeder can leave an environment linked to temporary package files that virtualenv deletes when creation finishes. The environment-variable and configuration-file forms of symlink_app_data can enable this state even though the command-line flag is disabled for temporary app-data. The resulting environment depends on a cache pathname that its owner no longer controls. This issue is fixed in version 21.14.10.
  • MEDIUMPYSEC-2026-4378 BIT-virtualenv-2026-113719 CVE-2026-113719 GHSA-hhxq-47xx-j5xxvirtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, PipInstall._uninstall_previous_version() accepts existing seed-package metadata and _uninstall_dist() joins entries from top_level.txt and RECORD to site-packages without checking containment. When a reused destination contains distribution metadata influenced by another account, relative traversal, absolute entries, or linked parents can cause app-data reseeding to delete files outside the environment or the environment root with the invoking user's permissions, provided that user has deletion rights over the named paths. The deletion occurs during environment creation before any later use of the environment. Fresh environments without existing package metadata and creation with --clear do not enter this cleanup path. This issue is fixed in version 21.14.9.
  • MEDIUMPYSEC-2026-4382 BIT-virtualenv-2026-113723 CVE-2026-113723 GHSA-6w3r-xr62-4xcpvirtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, caller-supplied prompt text can become executable syntax in the bash activation prompt. An attacker must influence the value passed to virtualenv, and a user must subsequently activate the environment and draw the prompt. This vulnerability is fixed in 21.14.9.
  • MEDIUMGHSA-hhxq-47xx-j5xx BIT-virtualenv-2026-113719 CVE-2026-113719 PYSEC-2026-4378virtualenv: Seed replacement does not contain metadata deletion paths
  • MEDIUMPYSEC-2026-4013 BIT-virtualenv-2026-102925 CVE-2026-102925 GHSA-p58f-9548-mpm2virtualenv bash and fish activation scripts execute commands embedded in paths
  • MEDIUMPYSEC-2026-4381 BIT-virtualenv-2026-113722 CVE-2026-113722 GHSA-c978-59m8-c77vvirtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, virtualenv's ScriptMakerCustom and pip pass an incompletely quoted interpreter path to distlib ScriptMaker when generating POSIX console scripts. When the path contains a space or produces a shebang longer than 127 bytes, distlib emits a /bin/sh wrapper whose double-quoted interpreter path still expands command substitutions and backticks. An attacker who influences the environment destination can therefore execute commands with the user's privileges when the user later runs a generated launcher; environment creation and activation do not trigger the command. Existing launchers are not repaired by upgrading virtualenv alone and must be regenerated, while a later independent pip installation or upgrade can reintroduce an affected launcher because pip's vendored distlib is unchanged. The virtualenv fix is released in version 21.14.9.
  • MEDIUMGHSA-fc2g-4w5p-6whm BIT-virtualenv-2026-113720 CVE-2026-113720 PYSEC-2026-4379virtualenv: Seeded files retain permissions from an older cache
  • MEDIUMGHSA-558c-9hv2-4prj BIT-virtualenv-2026-113721 CVE-2026-113721 PYSEC-2026-4380virtualenv: Generated files can follow existing destination links
  • LOWGHSA-494p-63j8-28p3 BIT-virtualenv-2026-113714 CVE-2026-113714 PYSEC-2026-4373virtualenv: Downloaded wheel selection and caching precede verification
  • LOWGHSA-cx28-75q4-x26q BIT-virtualenv-2026-113717 CVE-2026-113717 PYSEC-2026-4376virtualenv: Pip seeding with download omits wheel digest verification
  • LOWGHSA-qmx5-4p3x-wvqf BIT-virtualenv-2026-113715 CVE-2026-113715 PYSEC-2026-4374virtualenv: Venv configuration readback can reinterpret path boundaries
filelockPyPI 3.19.1 MEDIUM 6 advisories 3.20.13.20.34.2.1
  • MEDIUMGHSA-w853-jp5j-5j7f CVE-2025-68146 PYSEC-2026-1375filelock has a TOCTOU race condition which allows symlink attacks during lock file creation
  • MEDIUMPYSEC-2026-1374 CVE-2026-22701 GHSA-qmgc-5h2g-mvrwfilelock Time-of-Check-Time-of-Use (TOCTOU) Symlink Vulnerability in SoftFileLock
  • MEDIUMGHSA-qmgc-5h2g-mvrw CVE-2026-22701 PYSEC-2026-1374filelock Time-of-Check-Time-of-Use (TOCTOU) Symlink Vulnerability in SoftFileLock
  • MEDIUMGHSA-8mx5-7m5m-r77g CVE-2026-112910filelock: WindowsFileLock ignores mode: a 0o600 lock file and the ReadWriteLock database inherit the directory ACL
  • MEDIUMPYSEC-2026-1375 CVE-2025-68146 GHSA-w853-jp5j-5j7ffilelock has a TOCTOU race condition which allows symlink attacks during lock file creation
  • MEDIUMGHSA-69hj-f68j-2879 CVE-2026-112909filelock: UnixFileLock truncates and chmods any regular file another user renames or hard-links onto the lock path
pytestPyPI 8.4.2 MEDIUM 2 advisories 9.0.3
  • MEDIUMPYSEC-2026-1845 CVE-2025-71176 GHSA-6w46-j5rx-g56gpytest has vulnerable tmpdir handling
  • MEDIUMGHSA-6w46-j5rx-g56g CVE-2025-71176 PYSEC-2026-1845pytest has vulnerable tmpdir handling

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
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server
MCP SDKfastmcp >=2.10
Servers in the code5 (Main MCP, CH Reader MCP, DuckDB Reader MCP, ES Reader MCP, XML Reader MCP)

The project's own security

Security policyyes .github/SECURITY.md
Private reportingmentioned the policy names a private channel
Past advisoriesnone in the GitHub Advisory Database
Last push2026-07-09
Signed releasesnot checked yet

Where it is published

Listed in5 catalogs (awesome_habitoai, awesome_punkpeye, github_search, glama, mcp_toplist)
LicenseMIT
Created2025-07-02
Topicsapple apple-health applehealth health healthcare healthcare-application healthtech mcp-server wearable

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.