MCP ScannerCustom audit
All servers

alpacahq/alpaca-mcp-server

Alpaca’s official MCP Server lets you trade stocks, ETFs, crypto, and options, run data analysis, and build strategies in plain English directly from your favorite LLM tools and IDEs

Packagealpaca-mcp-server
Version2.4.1 in pyproject.toml
PublisherAlpaca Official
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 1,086Forks 365Last push 2026-11-13
Python 100.0%by source files the scanner reads
Code safetypartly tracedExposurepartly tracedPrompts10.0Supply chain2.6Secrets10.0Transparency10.0
Analysis confidence87%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

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

Capability Exposurepartly traced—

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 Chain2.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

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.

  • In 9 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • 6 tools, prompts and resources registered only in the repository's tests are not counted on this page

Top risks in plain words

  • CRITICAL13 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, cryptography 50.0.0 or later, dnspython 2.9.2 or later, fastmcp 3.4.10 or later and 9 more.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 14 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

9 of 14 tools declare annotations. readOnlyHint 6, destructiveHint 3, openWorldHint 9.

Each declaration matches what the traced code does.

Tools, prompts and resources (14: 14 tools)

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

fetch_alpaca_doctool Fetch one Alpaca ReadMe documentation page by page ID. Use after search_alpaca_docs returns a relevant page ID, or when a page ID is already known. Read-only; n
Fetch one Alpaca ReadMe documentation page by page ID. Use after search_alpaca_docs returns a relevant page ID, or when a page ID is already known. Read-only; not for API endpoint lookup by method and path.
get_alpaca_endpoint_docstool Fetch reference docs for one exact Alpaca API endpoint by method and path. Use when the endpoint is already resolved and details such as parameters, request sha
Fetch reference docs for one exact Alpaca API endpoint by method and path. Use when the endpoint is already resolved and details such as parameters, request shape, responses, or examples are needed. Read-only; does not execute the endpoint; excludes Broker API.
get_crypto_barstool Retrieve historical price bars (OHLCV) for one or more cryptocurrencies.read-only (declared)
Retrieve historical price bars (OHLCV) for one or more cryptocurrencies.

        When start is omitted, it is automatically computed as
        now minus the days/hours/minutes lookback.

        Args:
            symbols: Comma-separated crypto pairs (e.g. "BTC/USD" or
                     "BTC/USD,ETH/USD").
            timeframe: Bar aggregation period — "1Min", "5Min", "15Min",
                       "30Min", "1Hour", "1Day", "1Week", or "1Month".
            start: Inclusive start time (RFC 3339). Omit to use relative lookback.
            end: Inclusive end time (RFC 3339). Omit for current time.
            days: Days to look back when start is omitted (default 1).
            hours: Additional hours in the lookback (default 0).
            minutes: Additional minutes in the lookback (default 0).
            limit: Max total data points returned across all symbols,
                   1–10000 (default 1000).
            sort: Timestamp sort order — "asc" (default) or "desc".
get_crypto_quotestool Retrieve historical bid/ask quotes for one or more cryptocurrencies.read-only (declared)
Retrieve historical bid/ask quotes for one or more cryptocurrencies.

        When start is omitted, it is automatically computed as
        now minus the days/hours/minutes lookback.

        Args:
            symbols: Comma-separated crypto pairs (e.g. "BTC/USD" or
                     "BTC/USD,ETH/USD").
            start: Inclusive start time (RFC 3339). Omit to use relative lookback.
            end: Inclusive end time (RFC 3339). Omit for current time.
            days: Days to look back when start is omitted (default 0).
            hours: Additional hours in the lookback (default 0).
            minutes: Additional minutes in the lookback (default 15).
            limit: Max total data points returned across all symbols,
                   1–10000 (default 1000).
            sort: Timestamp sort order — "asc" (default) or "desc".
get_crypto_tradestool Retrieve historical trade data for one or more cryptocurrencies.read-only (declared)
Retrieve historical trade data for one or more cryptocurrencies.

        When start is omitted, it is automatically computed as
        now minus the days/hours/minutes lookback.

        Args:
            symbols: Comma-separated crypto pairs (e.g. "BTC/USD" or
                     "BTC/USD,ETH/USD").
            start: Inclusive start time (RFC 3339). Omit to use relative lookback.
            end: Inclusive end time (RFC 3339). Omit for current time.
            days: Days to look back when start is omitted (default 0).
            hours: Additional hours in the lookback (default 0).
            minutes: Additional minutes in the lookback (default 15).
            limit: Max total data points returned across all symbols,
                   1–10000 (default 1000).
            sort: Timestamp sort order — "asc" (default) or "desc".
get_stock_barstool Retrieve historical price bars (OHLCV) for one or more stocks.read-only (declared)
Retrieve historical price bars (OHLCV) for one or more stocks.

        When start is omitted, it is automatically computed as
        now minus the days/hours/minutes lookback.

        Args:
            symbols: Comma-separated tickers (e.g. "AAPL" or "AAPL,MSFT,GOOG").
            timeframe: Bar aggregation period — "1Min", "5Min", "15Min",
                       "30Min", "1Hour", "1Day", "1Week", or "1Month".
            start: Inclusive start time (RFC 3339). Omit to use relative lookback.
            end: Inclusive end time (RFC 3339). Omit for current time.
            days: Days to look back when start is omitted (default 5).
            hours: Additional hours in the lookback (default 0).
            minutes: Additional minutes in the lookback (default 0).
            limit: Max total data points returned across all symbols,
                   1–10000 (default 1000).
            adjustment: Price adjustment — "raw", "split", "dividend",
                        "spin-off", or "all". Comma-separated combos allowed
                        (e.g. "split,dividend"). Default "raw".
            feed: Data feed — "sip" (all US exchanges, default, paid),
                  "iex" (IEX only, free tier), "otc", or "boats".
            currency: Price currency (ISO 4217, e.g. "USD"). Default USD.
            sort: Timestamp sort order — "asc" (default) or "desc".
            asof: As-of date (YYYY-MM-DD) for point-in-time symbol mapping.
                  Useful for backtesting with historical ticker changes.
get_stock_quotestool Retrieve historical bid/ask quotes (level 1) for one or more stocks.read-only (declared)
Retrieve historical bid/ask quotes (level 1) for one or more stocks.

        When start is omitted, it is automatically computed as
        now minus the days/hours/minutes lookback.

        Args:
            symbols: Comma-separated tickers (e.g. "AAPL" or "AAPL,MSFT").
            start: Inclusive start time (RFC 3339). Omit to use relative lookback.
            end: Inclusive end time (RFC 3339). Omit for current time.
            days: Days to look back when start is omitted (default 0).
            hours: Additional hours in the lookback (default 0).
            minutes: Additional minutes in the lookback (default 20).
            limit: Max total data points returned across all symbols,
                   1–10000 (default 1000).
            feed: Data feed — "sip" (all US exchanges, default, paid),
                  "iex" (free tier), "otc", or "boats".
                  Paper/free accounts must set feed="iex" to avoid 403 errors.
            currency: Price currency (ISO 4217). Default USD.
            sort: Timestamp sort order — "asc" (default) or "desc".
            asof: As-of date (YYYY-MM-DD) for point-in-time symbol mapping.
get_stock_tradestool Retrieve historical trade data for one or more stocks.read-only (declared)
Retrieve historical trade data for one or more stocks.

        When start is omitted, it is automatically computed as
        now minus the days/hours/minutes lookback.

        Args:
            symbols: Comma-separated tickers (e.g. "AAPL" or "AAPL,MSFT").
            start: Inclusive start time (RFC 3339). Omit to use relative lookback.
            end: Inclusive end time (RFC 3339). Omit for current time.
            days: Days to look back when start is omitted (default 0).
            hours: Additional hours in the lookback (default 0).
            minutes: Additional minutes in the lookback (default 20).
            limit: Max total data points returned across all symbols,
                   1–10000 (default 1000).
            feed: Data feed — "sip" (all US exchanges, default, paid),
                  "iex" (free tier), "otc", or "boats".
                  Paper/free accounts must set feed="iex" to avoid 403 errors.
            currency: Price currency (ISO 4217). Default USD.
            sort: Timestamp sort order — "asc" (default) or "desc".
            asof: As-of date (YYYY-MM-DD) for point-in-time symbol mapping.
list_alpaca_api_endpointstool List endpoints for one allowed Alpaca OpenAPI spec. Use when browsing the available endpoint inventory for Trading API, Market Data API, or Authentication API b
List endpoints for one allowed Alpaca OpenAPI spec. Use when browsing the available endpoint inventory for Trading API, Market Data API, or Authentication API before narrowing to a specific endpoint. Read-only; excludes Broker API; prefer search_alpaca_api_specs for targeted lookup.
place_crypto_ordertool Place a cryptocurrency order.destructive (declared)
Place a cryptocurrency order.

        Args:
            symbol: Crypto pair (e.g., "BTC/USD", "ETH/USD").
            side: "buy" or "sell".
            qty: Number of coins/tokens. Mutually exclusive with notional.
            notional: Dollar amount to trade. Mutually exclusive with qty.
                      Only valid for market orders.
            type: "market", "limit", or "stop_limit".
            time_in_force: "gtc" (default) or "ioc". Crypto does not
                           support "day" or "fok".
            limit_price: Required for limit and stop_limit orders.
            stop_price: Required for stop_limit orders.
            client_order_id: Unique idempotency key. If the request times out,
                             you can safely retry with the same value — the API
                             will reject duplicates. Recommended for every order.
place_option_ordertool Place an options order (single-leg or multi-leg).destructive (declared)
Place an options order (single-leg or multi-leg).

        For single-leg orders, provide symbol, side, and qty.
        For multi-leg orders, provide qty, legs, and optionally
        order_class="mleg" (auto-inferred). Symbol and side on the
        parent are not needed for multi-leg.

        Args:
            qty: Number of contracts. Required for both single-leg and
                 multi-leg orders. For multi-leg, this is the strategy
                 multiplier — each leg's ratio_qty is scaled by this
                 value (e.g., qty="10" with ratio_qty="2" = 20
                 contracts for that leg).
            type: "market", "limit", "stop", or "stop_limit" for single-leg.
                  Multi-leg supports only "market" and "limit".
            time_in_force: "day" or "gtc".
            symbol: OCC option symbol (e.g., "AAPL250321C00150000").
                    Required for single-leg.
            side: "buy" or "sell". Required for single-leg.
            position_intent: "buy_to_open", "buy_to_close", "sell_to_open",
                             or "sell_to_close". Clarifies whether the trade
                             opens or closes a position. Optional but
                             recommended.
            limit_price: Required for limit and stop_limit orders. For
                         multi-leg, this is the net debit/credit
                         (positive = debit/cost, negative = credit/proceeds).
            stop_price: Required for stop and stop_limit orders. Single-leg
                        only.
            client_order_id: Unique idempotency key. If the request times out,
                             you can safely retry with the same value — the API
                             will reject duplicates. Recommended for every order.
            order_class: Set to "mleg" for multi-leg orders. Automatically
                         inferred when legs are provided.
            legs: List of leg dicts for multi-leg orders (max 4). Each leg
                  requires "symbol" and "ratio_qty" (string). Optional
                  per-leg fields: "side" ("buy" or "sell") and
                  "position_intent".
place_stock_ordertool Place a stock or ETF order.destructive (declared)
Place a stock or ETF order.

        Args:
            symbol: Stock ticker (e.g., "AAPL", "SPY").
            side: "buy" or "sell".
            qty: Number of shares. Mutually exclusive with notional.
            notional: Dollar amount to trade. Mutually exclusive with qty.
                      Only valid for market orders with time_in_force="day".
            type: Order type — "market", "limit", "stop", "stop_limit",
                  "trailing_stop".
            time_in_force: "day", "gtc", "opg", "cls", "ioc", or "fok".
            limit_price: Required for limit and stop_limit orders.
            stop_price: Required for stop and stop_limit orders.
            trail_price: Dollar trail amount for trailing_stop orders.
            trail_percent: Percent trail for trailing_stop orders.
            extended_hours: Allow execution in pre-market, after-hours, and
                            overnight sessions. Only works with type="limit"
                            and time_in_force="day" or "gtc".
            client_order_id: Unique idempotency key. If the request times out,
                             you can safely retry with the same value — the API
                             will reject duplicates. Recommended for every order.
            order_class: "simple", "bracket", "oco", or "oto". Automatically
                         set to "bracket" when take_profit or stop_loss params
                         are provided.
            take_profit_limit_price: Limit price for bracket take-profit leg.
            stop_loss_stop_price: Stop price for bracket stop-loss leg.
            stop_loss_limit_price: Limit price for bracket stop-loss leg.
            advanced_instructions: Alpaca Elite Smart Router routing/algo
                payload. Stocks-only (the Elite docs explicitly note options
                and crypto reject the payload). Requires the account to be
                on Elite Smart Router routing; non-Elite accounts will see
                the field ignored or rejected by Alpaca's API. Shapes:
                  DMA Gateway (direct routing):
                    {"algorithm": "DMA",
                     "destination": "NYSE"|"NASDAQ"|"ARCA",
                     "display_qty": "<round lot, optional>"}
                    Only with type="limit"|"market" and time_in_force="day";
                    not compatible with opg/cls/gtc or stop orders.
                  VWAP (Volume-Weighted Average Price):
                    {"algorithm": "VWAP",
                     "start_time": "<RFC3339, optional>",
                     "end_time":   "<RFC3339, optional>",
                     "max_percentage": "<0<x<1, optional>"}
                    Does NOT participate in open/close auctions.
                  TWAP (Time-Weighted Average Price):
                    {"algorithm": "TWAP",
                     "start_time": "<RFC3339, optional>",
                     "end_time":   "<RFC3339, optional>",
                     "max_percentage": "<0<x<1, optional>"}
                    Does NOT participate in open/close auctions.
                NOTE: PATCH /v2/orders/{id} already documents
                `advanced_instructions` in the OpenAPI spec
                (PatchOrderRequest), and `replace_order_by_id` exposes
                it through auto-generation — this patch only addresses
                the POST-side asymmetry.
search_alpaca_api_specstool Search Alpaca API reference endpoints by topic, operation, path fragment, parameter, or schema term. Use when the exact method and path are unknown. Read-only;
Search Alpaca API reference endpoints by topic, operation, path fragment, parameter, or schema term. Use when the exact method and path are unknown. Read-only; does not execute endpoints; searches Trading API, Market Data API, and Authentication API only; excludes Broker API. Use `query`; do not use `pattern`.
search_alpaca_docstool Search Alpaca documentation pages and guides. Use for conceptual or product questions about setup, account rules, funding, trading, market data, events, or FAQs
Search Alpaca documentation pages and guides. Use for conceptual or product questions about setup, account rules, funding, trading, market data, events, or FAQs. Read-only; not for exact API method/path lookup; prefer search_alpaca_api_specs for endpoint, parameter, or schema questions.

Text the model reads (14)

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

get_stock_bars tool
Retrieve historical price bars (OHLCV) for one or more stocks.

        When start is omitted, it is automatically computed as
        now minus the days/hours/minutes lookback.

        Args:
            symbols: Comma-separated tickers (e.g. "AAPL" or "AAPL,MSFT,GOOG").
            timeframe: Bar aggregation period — "1Min", "5Min", "15Min",
                       "30Min", "1Hour", "1Day", "1Week", or "1Month".
            start: Inclusive start time (RFC 3339). Omit to use relative lookback.
            end: Inclusive end time (RFC 3339). Omit for current time.
            days: Days to look back when start is omitted (default 5).
            hours: Additional hours in the lookback (default 0).
            minutes: Additional minutes in the lookback (default 0).
            limit: Max total data points returned across all symbols,
                   1–10000 (default 1000).
            adjustment: Price adjustment — "raw", "split", "dividend",
                        "spin-off", or "all". Comma-separated combos allowed
                        (e.g. "split,dividend"). Default "raw".
            feed: Data feed — "sip" (all US exchanges, default, paid),
                  "iex" (IEX only, free tier), "otc", or "boats".
            currency: Price currency (ISO 4217, e.g. "USD"). Default USD.
            sort: Timestamp sort order — "asc" (default) or "desc".
            asof: As-of date (YYYY-MM-DD) for point-in-time symbol mapping.
                  Useful for backtesting with historical ticker changes.
get_stock_quotes tool
Retrieve historical bid/ask quotes (level 1) for one or more stocks.

        When start is omitted, it is automatically computed as
        now minus the days/hours/minutes lookback.

        Args:
            symbols: Comma-separated tickers (e.g. "AAPL" or "AAPL,MSFT").
            start: Inclusive start time (RFC 3339). Omit to use relative lookback.
            end: Inclusive end time (RFC 3339). Omit for current time.
            days: Days to look back when start is omitted (default 0).
            hours: Additional hours in the lookback (default 0).
            minutes: Additional minutes in the lookback (default 20).
            limit: Max total data points returned across all symbols,
                   1–10000 (default 1000).
            feed: Data feed — "sip" (all US exchanges, default, paid),
                  "iex" (free tier), "otc", or "boats".
                  Paper/free accounts must set feed="iex" to avoid 403 errors.
            currency: Price currency (ISO 4217). Default USD.
            sort: Timestamp sort order — "asc" (default) or "desc".
            asof: As-of date (YYYY-MM-DD) for point-in-time symbol mapping.
get_stock_trades tool
Retrieve historical trade data for one or more stocks.

        When start is omitted, it is automatically computed as
        now minus the days/hours/minutes lookback.

        Args:
            symbols: Comma-separated tickers (e.g. "AAPL" or "AAPL,MSFT").
            start: Inclusive start time (RFC 3339). Omit to use relative lookback.
            end: Inclusive end time (RFC 3339). Omit for current time.
            days: Days to look back when start is omitted (default 0).
            hours: Additional hours in the lookback (default 0).
            minutes: Additional minutes in the lookback (default 20).
            limit: Max total data points returned across all symbols,
                   1–10000 (default 1000).
            feed: Data feed — "sip" (all US exchanges, default, paid),
                  "iex" (free tier), "otc", or "boats".
                  Paper/free accounts must set feed="iex" to avoid 403 errors.
            currency: Price currency (ISO 4217). Default USD.
            sort: Timestamp sort order — "asc" (default) or "desc".
            asof: As-of date (YYYY-MM-DD) for point-in-time symbol mapping.
get_crypto_bars tool
Retrieve historical price bars (OHLCV) for one or more cryptocurrencies.

        When start is omitted, it is automatically computed as
        now minus the days/hours/minutes lookback.

        Args:
            symbols: Comma-separated crypto pairs (e.g. "BTC/USD" or
                     "BTC/USD,ETH/USD").
            timeframe: Bar aggregation period — "1Min", "5Min", "15Min",
                       "30Min", "1Hour", "1Day", "1Week", or "1Month".
            start: Inclusive start time (RFC 3339). Omit to use relative lookback.
            end: Inclusive end time (RFC 3339). Omit for current time.
            days: Days to look back when start is omitted (default 1).
            hours: Additional hours in the lookback (default 0).
            minutes: Additional minutes in the lookback (default 0).
            limit: Max total data points returned across all symbols,
                   1–10000 (default 1000).
            sort: Timestamp sort order — "asc" (default) or "desc".
get_crypto_quotes tool
Retrieve historical bid/ask quotes for one or more cryptocurrencies.

        When start is omitted, it is automatically computed as
        now minus the days/hours/minutes lookback.

        Args:
            symbols: Comma-separated crypto pairs (e.g. "BTC/USD" or
                     "BTC/USD,ETH/USD").
            start: Inclusive start time (RFC 3339). Omit to use relative lookback.
            end: Inclusive end time (RFC 3339). Omit for current time.
            days: Days to look back when start is omitted (default 0).
            hours: Additional hours in the lookback (default 0).
            minutes: Additional minutes in the lookback (default 15).
            limit: Max total data points returned across all symbols,
                   1–10000 (default 1000).
            sort: Timestamp sort order — "asc" (default) or "desc".
get_crypto_trades tool
Retrieve historical trade data for one or more cryptocurrencies.

        When start is omitted, it is automatically computed as
        now minus the days/hours/minutes lookback.

        Args:
            symbols: Comma-separated crypto pairs (e.g. "BTC/USD" or
                     "BTC/USD,ETH/USD").
            start: Inclusive start time (RFC 3339). Omit to use relative lookback.
            end: Inclusive end time (RFC 3339). Omit for current time.
            days: Days to look back when start is omitted (default 0).
            hours: Additional hours in the lookback (default 0).
            minutes: Additional minutes in the lookback (default 15).
            limit: Max total data points returned across all symbols,
                   1–10000 (default 1000).
            sort: Timestamp sort order — "asc" (default) or "desc".
place_stock_order tool
Place a stock or ETF order.

        Args:
            symbol: Stock ticker (e.g., "AAPL", "SPY").
            side: "buy" or "sell".
            qty: Number of shares. Mutually exclusive with notional.
            notional: Dollar amount to trade. Mutually exclusive with qty.
                      Only valid for market orders with time_in_force="day".
            type: Order type — "market", "limit", "stop", "stop_limit",
                  "trailing_stop".
            time_in_force: "day", "gtc", "opg", "cls", "ioc", or "fok".
            limit_price: Required for limit and stop_limit orders.
            stop_price: Required for stop and stop_limit orders.
            trail_price: Dollar trail amount for trailing_stop orders.
            trail_percent: Percent trail for trailing_stop orders.
            extended_hours: Allow execution in pre-market, after-hours, and
                            overnight sessions. Only works with type="limit"
                            and time_in_force="day" or "gtc".
            client_order_id: Unique idempotency key. If the request times out,
                             you can safely retry with the same value — the API
                             will reject duplicates. Recommended for every order.
            order_class: "simple", "bracket", "oco", or "oto". Automatically
                         set to "bracket" when take_profit or stop_loss params
                         are provided.
            take_profit_limit_price: Limit price for bracket take-profit leg.
            stop_loss_stop_price: Stop price for bracket stop-loss leg.
            stop_loss_limit_price: Limit price for bracket stop-loss leg.
            advanced_instructions: Alpaca Elite Smart Router routing/algo
                payload. Stocks-only (the Elite docs explicitly note options
                and crypto reject the payload). Requires the account to be
                on Elite Smart Router routing; non-Elite accounts will see
                the field ignored or rejected by Alpaca's API. Shapes:
                  DMA Gateway (direct routing):
                    {"algorithm": "DMA",
                     "destination": "NYSE"|"NASDAQ"|"ARCA",
                     "display_qty": "<round lot, optional>"}
                    Only with type="limit"|"market" and time_in_force="day";
                    not compatible with opg/cls/gtc or stop orders.
                  VWAP (Volume-Weighted Average Price):
                    {"algorithm": "VWAP",
                     "start_time": "<RFC3339, optional>",
                     "end_time":   "<RFC3339, optional>",
                     "max_percentage": "<0<x<1, optional>"}
                    Does NOT participate in open/close auctions.
                  TWAP (Time-Weighted Average Price):
                    {"algorithm": "TWAP",
                     "start_time": "<RFC3339, optional>",
                     "end_time":   "<RFC3339, optional>",
                     "max_percentage": "<0<x<1, optional>"}
                    Does NOT participate in open/close auctions.
                NOTE: PATCH /v2/orders/{id} already documents
                `advanced_instructions` in the OpenAPI spec
                (PatchOrderRequest), and `replace_order_by_id` exposes
                it through auto-generation — this patch only addresses
                the POST-side asymmetry.
place_crypto_order tool
Place a cryptocurrency order.

        Args:
            symbol: Crypto pair (e.g., "BTC/USD", "ETH/USD").
            side: "buy" or "sell".
            qty: Number of coins/tokens. Mutually exclusive with notional.
            notional: Dollar amount to trade. Mutually exclusive with qty.
                      Only valid for market orders.
            type: "market", "limit", or "stop_limit".
            time_in_force: "gtc" (default) or "ioc". Crypto does not
                           support "day" or "fok".
            limit_price: Required for limit and stop_limit orders.
            stop_price: Required for stop_limit orders.
            client_order_id: Unique idempotency key. If the request times out,
                             you can safely retry with the same value — the API
                             will reject duplicates. Recommended for every order.
place_option_order tool
Place an options order (single-leg or multi-leg).

        For single-leg orders, provide symbol, side, and qty.
        For multi-leg orders, provide qty, legs, and optionally
        order_class="mleg" (auto-inferred). Symbol and side on the
        parent are not needed for multi-leg.

        Args:
            qty: Number of contracts. Required for both single-leg and
                 multi-leg orders. For multi-leg, this is the strategy
                 multiplier — each leg's ratio_qty is scaled by this
                 value (e.g., qty="10" with ratio_qty="2" = 20
                 contracts for that leg).
            type: "market", "limit", "stop", or "stop_limit" for single-leg.
                  Multi-leg supports only "market" and "limit".
            time_in_force: "day" or "gtc".
            symbol: OCC option symbol (e.g., "AAPL250321C00150000").
                    Required for single-leg.
            side: "buy" or "sell". Required for single-leg.
            position_intent: "buy_to_open", "buy_to_close", "sell_to_open",
                             or "sell_to_close". Clarifies whether the trade
                             opens or closes a position. Optional but
                             recommended.
            limit_price: Required for limit and stop_limit orders. For
                         multi-leg, this is the net debit/credit
                         (positive = debit/cost, negative = credit/proceeds).
            stop_price: Required for stop and stop_limit orders. Single-leg
                        only.
            client_order_id: Unique idempotency key. If the request times out,
                             you can safely retry with the same value — the API
                             will reject duplicates. Recommended for every order.
            order_class: Set to "mleg" for multi-leg orders. Automatically
                         inferred when legs are provided.
            legs: List of leg dicts for multi-leg orders (max 4). Each leg
                  requires "symbol" and "ratio_qty" (string). Optional
                  per-leg fields: "side" ("buy" or "sell") and
                  "position_intent".
search_alpaca_docs tool
Search Alpaca documentation pages and guides. Use for conceptual or product questions about setup, account rules, funding, trading, market data, events, or FAQs. Read-only; not for exact API method/path lookup; prefer search_alpaca_api_specs for endpoint, parameter, or schema questions.
fetch_alpaca_doc tool
Fetch one Alpaca ReadMe documentation page by page ID. Use after search_alpaca_docs returns a relevant page ID, or when a page ID is already known. Read-only; not for API endpoint lookup by method and path.
search_alpaca_api_specs tool
Search Alpaca API reference endpoints by topic, operation, path fragment, parameter, or schema term. Use when the exact method and path are unknown. Read-only; does not execute endpoints; searches Trading API, Market Data API, and Authentication API only; excludes Broker API. Use `query`; do not use `pattern`.
list_alpaca_api_endpoints tool
List endpoints for one allowed Alpaca OpenAPI spec. Use when browsing the available endpoint inventory for Trading API, Market Data API, or Authentication API before narrowing to a specific endpoint. Read-only; excludes Broker API; prefer search_alpaca_api_specs for targeted lookup.
get_alpaca_endpoint_docs tool
Fetch reference docs for one exact Alpaca API endpoint by method and path. Use when the endpoint is already resolved and details such as parameters, request shape, responses, or examples are needed. Read-only; does not execute the endpoint; excludes Broker API.

What we checked

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

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposurepartly traced
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 14 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 14 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 14 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 14 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 14 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 14 capabilities; 14 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    Not seen in the traced code of 14 capabilities; 14 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 14 capabilities; 14 more call code the scanner could not follow, where it may happen
Where the code is: 14 handlers in 3 files at commit 9daa38cc41d2
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 Chain2.6
  • Dependency manifests
    2 manifests: pyproject.toml, requirements.txt
  • Lockfiles checked against OSV
    2 files resolved and checked against the OSV database; 2 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; requirements.txt: 5 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile
  • Known vulnerabilities in production dependencies CRITICAL
    13 production packages with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    fastmcp ==3.4.7, mcp >=1.23.0
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 14 capabilities; 14 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 (1 only in code no tool reaches)
  • 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 (13 in production)

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

PackageInstalledWorstAdvisoriesFixed in
pyjwtPyPI 2.10.1 CRITICAL 32 advisories 2.12.02.12.12.13.0+2 more
  • CRITICALGHSA-ffc3-869f-jxw9 CVE-2026-102268 PYSEC-2026-4145PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
  • HIGHGHSA-9v7f-9g4p-ffgj CVE-2026-102267 PYSEC-2026-4144PyJWT: PyJWKClient follows redirects when fetching JWKS
  • HIGHGHSA-pxh4-856f-4h89PyJWT: HS256/384/512 verify accepts empty HMAC key via oct JWK (PyJWK/PyJWKClient) enabling token forgery
  • HIGHGHSA-xgmm-8j9v-c9wx CVE-2026-48526 PYSEC-2026-179PyJWT: Public-key JWK accepted as HMAC secret enables forged HS256 tokens when mixed families are allowed
  • HIGHGHSA-p4g4-x82p-q773 CVE-2026-102271 PYSEC-2026-4149PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
  • HIGHGHSA-752w-5fwx-jx9f CVE-2026-32597 PYSEC-2026-120PyJWT accepts unknown `crit` header extensions
  • MEDIUMPYSEC-2026-178 CVE-2026-48525 GHSA-w7vc-732c-9m39PyJWT is a JSON Web Token implementation in Python. From 2.8.0 to 2.12.1, when verifying detached JWS tokens using the unencoded-payload option ("b64": false, RFC 7797), PyJWT performs Base64URL decoding of the compact-serialization payload segment before enforcing the detached-payload rules. For b64=false, PyJWT later discards that decoded payload and replaces it with the caller-provided detached_payload. In practice, this turns the middle segment into an attacker-controlled “work amplifier”: a remote client can supply an arbitrarily large Base64URL payload segment that forces CPU work + memory allocations even if the signature is invalid. This creates an unauthenticated DoS vector against any endpoint that verifies detached JWS using PyJWT. This vulnerability is fixed in 2.13.0.
  • MEDIUMGHSA-w6j9-cwv2-h6wq CVE-2026-102274 PYSEC-2026-4152PyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
  • MEDIUMGHSA-x33g-cr3x-6449 CVE-2026-102275 PYSEC-2026-4183PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion
  • MEDIUMPYSEC-2026-177 CVE-2026-48524 GHSA-fhv5-28vv-h8m8PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient.get_signing_key() forces a fresh HTTP request to the JWKS endpoint for every JWT with an unknown kid value, with no rate limiting. Since kid comes from the unverified token header, an attacker can trigger unlimited outbound requests. The vulnerability surfaces only when a JWKS fetch fails; an attacker can attempt to provoke that with sustained unknown-kid traffic, but the outcome depends on upstream JWKS-endpoint behavior (rate limiting, transient errors) which is beyond the attacker's control. This vulnerability is fixed in 2.13.0.
  • MEDIUMPYSEC-2026-4152 CVE-2026-102274 GHSA-w6j9-cwv2-h6wqPyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
  • MEDIUMGHSA-hxm8-2xgr-2p9m CVE-2026-102269 PYSEC-2026-4147PyJWT: Non-canonical signature segments enable raw-token revocation bypass
  • MEDIUMPYSEC-2026-175 CVE-2026-48522 GHSA-993g-76c3-p5m4PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient passes its uri argument directly to urllib.request.urlopen() which uses Python stdlib's default OpenerDirector registering HTTPHandler, HTTPSHandler, FTPHandler, FileHandler, and DataHandler. There is currently no documented option to restrict which schemes PyJWKClient will fetch. If an application's jku URL ingestion path accepts attacker-influenced URLs (e.g., from JWT header, configuration file, OAuth flow parameter), the attacker can cause PyJWKClient to read arbitrary local files via file:// (SSRF on local filesystem), cause PyJWKClient to attempt FTP / data-URI fetches (broader SSRF surface), or forge tokens that PyJWT verifies as valid. The library does not directly return non-HTTP(S) URI contents to the attacker; the chained "plant a JWKS to forge tokens" scenario described in the original report requires additional application-layer flaws (attacker write access to a filesystem path, untrusted jku derivation) that this fix does not address. This vulnerability is fixed in 2.13.0.
  • MEDIUMPYSEC-2026-4148 CVE-2026-102270 GHSA-jwrc-g2q2-pq5pPyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
  • MEDIUMPYSEC-2026-4183 CVE-2026-102275 GHSA-x33g-cr3x-6449PyJWT is a Python implementation of JSON Web Token standards. From 2.1.0 until 2.15.0, PyJWT OKPAlgorithm.from_jwk in jwt/algorithms.py is affected because private-JWK import path does not compare the public key derived from d with x. This occurs when an OKP private JWK supplies non-corresponding x and d components. As a result, identity derived from x can differ from operations performed with d. Consequently, if an integration also accepts private key parameters from a proof header without rejecting them, an attacker may use a stolen sender-constrained token without the legitimate private key. This issue is fixed in version 2.15.0.
  • MEDIUMGHSA-w7vc-732c-9m39 CVE-2026-48525 PYSEC-2026-178PyJWT: Unauthenticated DoS via unbounded Base64URL decoding of unused payload segment in b64=false detached JWS
  • MEDIUMPYSEC-2026-4141 CVE-2026-101918 GHSA-42vr-xj54-vc7vPyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
  • MEDIUMPYSEC-2026-4147 CVE-2026-102269 GHSA-hxm8-2xgr-2p9mPyJWT: Non-canonical signature segments enable raw-token revocation bypass
  • MEDIUMPYSEC-2026-120 CVE-2026-32597 GHSA-752w-5fwx-jx9fPyJWT is a JSON Web Token implementation in Python. Prior to 2.12.0, PyJWT does not validate the crit (Critical) Header Parameter defined in RFC 7515 §4.1.11. When a JWS token contains a crit array listing extensions that PyJWT does not understand, the library accepts the token instead of rejecting it. This violates the MUST requirement in the RFC. This vulnerability is fixed in 2.12.0.
  • MEDIUMPYSEC-2026-176 CVE-2026-48523 GHSA-jq35-7prp-9v3fPyJWT is a JSON Web Token implementation in Python. From 2.9.0 to 2.12.1, there is a verifier-side algorithm allow-list bypass when jwt.decode() or jwt.decode_complete() are called with a PyJWK key. The token header alg is checked against the caller-supplied algorithms allow-list, but signature verification is performed with the algorithm bound to the PyJWK object instead of the header algorithm. An attacker who controls a registered JWK/JWKS private key can sign with a disallowed algorithm, advertise an allowed algorithm in the JWT header, and still be accepted. The issue affects the documented PyJWKClient.get_signing_key_from_jwt(...) flow. This vulnerability is fixed in 2.13.0.
  • MEDIUMPYSEC-2026-4145 CVE-2026-102268 GHSA-ffc3-869f-jxw9PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
  • MEDIUMPYSEC-2026-4140 CVE-2026-101917 GHSA-2gx3-rcp4-g85qPyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
  • MEDIUMGHSA-42vr-xj54-vc7v CVE-2026-101918 PYSEC-2026-4141PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
  • MEDIUMGHSA-jwrc-g2q2-pq5p CVE-2026-102270 PYSEC-2026-4148PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
  • MEDIUMGHSA-jq35-7prp-9v3f CVE-2026-48523 PYSEC-2026-176PyJWT: Algorithm allow-list bypass when decoding with `PyJWK` / `PyJWKClient` keys
  • MEDIUMPYSEC-2026-4149 CVE-2026-102271 GHSA-p4g4-x82p-q773PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
  • MEDIUMGHSA-2gx3-rcp4-g85q CVE-2026-101917 PYSEC-2026-4140PyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
  • MEDIUMGHSA-993g-76c3-p5m4 CVE-2026-48522 PYSEC-2026-175PyJWKClient: missing scheme allowlist enables CVE-2024-21643-class SSRF + token forgery via file://, ftp://, data: schemes
  • MEDIUMPYSEC-2025-183 CVE-2025-45768pyjwt v2.10.1 was discovered to contain weak encryption. NOTE: this is disputed by the Supplier because the key length is chosen by the application that uses the library (admittedly, library users may benefit from a minimum value and a mechanism for opting in to strict enforcement).
  • MEDIUMPYSEC-2026-4144 CVE-2026-102267 GHSA-9v7f-9g4p-ffgjPyJWT: PyJWKClient follows redirects when fetching JWKS
  • MEDIUMPYSEC-2026-179 CVE-2026-48526 GHSA-xgmm-8j9v-c9wxPyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, when the verifier is decoding JSON Web Tokens, while supporting both asymmetric and HMAC algorithms, the library does not validate use of JSON Web Keys in HMAC algorithm, allowing attacker to use the issuer public key as the secret key for HMAC algorithm. This vulnerability is fixed in 2.13.0.
  • LOWGHSA-fhv5-28vv-h8m8 CVE-2026-48524 PYSEC-2026-177PyJWKClient unbounded JWKS endpoint requests via attacker-controlled kid values (DoS)
anyioPyPI 4.12.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
  • 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
  • MEDIUMPYSEC-2026-4025 CVE-2026-63374 GHSA-82r6-8w77-94w6AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
cryptographyPyPI 46.0.3 HIGH 13 advisories 46.0.546.0.646.0.7+3 more
  • HIGHGHSA-537c-gmf6-5ccfVulnerable OpenSSL included in cryptography wheels
  • HIGHGHSA-r6ph-v2qm-q3c2 CVE-2026-26007 PYSEC-2026-2141cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves
  • HIGHGHSA-g6cj-pr64-35w5 CVE-2026-69247 PYSEC-2026-3552cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
  • HIGHGHSA-jwv3-5hgf-82ww CVE-2026-69249 PYSEC-2026-3553python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
  • MEDIUMPYSEC-2026-3553 CVE-2026-69249 GHSA-jwv3-5hgf-82wwpython-cryptography: Duplicate self-signed intermediates can cause exponential path-building
  • 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.
  • MEDIUMPYSEC-2026-3554 CVE-2026-69248 GHSA-m2h6-j472-rp4cpython-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
  • MEDIUMGHSA-p423-j2cm-9vmq CVE-2026-39892 PYSEC-2026-36Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs
  • 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.
  • MEDIUMPYSEC-2026-3552 CVE-2026-69247 GHSA-g6cj-pr64-35w5cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
  • MEDIUMGHSA-m2h6-j472-rp4c CVE-2026-69248 PYSEC-2026-3554python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
  • 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.
  • LOWGHSA-m959-cc7f-wv43 CVE-2026-34073 PYSEC-2026-35cryptography has incomplete DNS name constraint enforcement on peer names
mcpPyPI 1.26.0 HIGH 11 advisories 1.27.21.28.11.30.0+1 more
  • HIGHGHSA-jpw9-pfvf-9f58 CVE-2026-52869 PYSEC-2026-3482MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
  • 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-hvrp-rf83-w775 CVE-2026-52870 PYSEC-2026-3481MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks
  • HIGHGHSA-vj7q-gjh5-988w CVE-2026-59950 PYSEC-2026-3483MCP Python SDK: WebSocket server transport does not support Host/Origin validation
  • MEDIUMGHSA-w4fh-qvv9-3v23 CVE-2026-116684Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource server
  • MEDIUMPYSEC-2026-3483 CVE-2026-59950 GHSA-vj7q-gjh5-988wMCP Python SDK: WebSocket server transport does not support Host/Origin validation
  • MEDIUMPYSEC-2026-3482 CVE-2026-52869 GHSA-jpw9-pfvf-9f58MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
  • 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
  • MEDIUMGHSA-84m7-p3x7-pcfv CVE-2026-59951MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion
  • MEDIUMPYSEC-2026-3481 CVE-2026-52870 GHSA-hvrp-rf83-w775MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks
dnspythonPyPI 2.8.0 HIGH 2 advisories 2.9.02.9.2
idnaPyPI 3.11 MEDIUM 2 advisories 3.15
  • MEDIUMGHSA-65pc-fj4g-8rjx CVE-2026-45409 PYSEC-2026-215Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix
  • MEDIUMPYSEC-2026-215 CVE-2026-45409 GHSA-65pc-fj4g-8rjxInternationalized Domain Names in Applications (IDNA) for Python provides support for Internationalized Domain Names in Applications (IDNA) and Unicode IDNA Compatibility Processing. In versions prior to 3.15, payloads such as `"\\u0660" * N` or `"\\u30fb" * N + "\\u6f22"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process. This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. A specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service. Starting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support). A workaround is available. Domain names cannot exceed 253 characters in length. If this length limit is enforced prior to passing the domain to the `idna.encode()` function, it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.
opentelemetry-apiPyPI 1.40.0 MEDIUM 2 advisories 1.45.11.45.2
  • MEDIUMGHSA-xcq7-p3pf-p88h CVE-2026-114603OpenTelemetry Python: Unbounded tracestate parsing in opentelemetry-api
  • MEDIUMGHSA-mf5v-w3w3-f6cg CVE-2026-126360OpenTelemetry Python API: Denial of service through quadratic-time traceparent parsing
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
pytestPyPI 9.0.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
python-dotenvPyPI 1.2.1 MEDIUM 2 advisories 1.2.2
  • 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.
  • 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
fastmcpPyPI 3.4.7 MEDIUM 1 advisory 3.4.104.1.2
  • MEDIUMGHSA-7xgj-8392-5q4rFastMCP: Post-transform component authorization is skipped on direct calls
fastmcp-slimPyPI 3.4.7 MEDIUM 1 advisory 3.4.104.1.2
  • MEDIUMGHSA-7xgj-8392-5q4rFastMCP: Post-transform component authorization is skipped on direct calls
pydantic-settingsPyPI 2.12.0 MEDIUM 1 advisory 2.14.2
  • MEDIUMGHSA-4xgf-cpjx-pc3j CVE-2026-58203pydantic-settings: NestedSecretsSettingsSource follows symlinks outside secrets_dir, enabling local file read and bypassing secrets_dir_max_size

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
TransportStreamable HTTP, stdio
Sign-innot checked needs the live server
MCP SDKfastmcp ==3.4.7, mcp >=1.23.0
Servers in the code9 (Alpaca MCP Server, test-orders, test, parent, child)

The project's own security

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

Where it is published

Listed in5 catalogs (awesome_habitoai, github_search, glama, mcp_toplist, mcpservers_org)
LicenseMIT
Created2025-06-03
Topicsai-trading algorithmic-trading crypto etfs mcp mcp-server options stocks trading trading-api

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.