arXiv:2610.24289cs.CROct 2026

Manuscript Offprint

arXiv:2610.24289

Unbounded Losses, Unchecked Inputs: Measuring the Safeguards of LLM Options-Trading Agents

Mengxiao Wang, Nitesh Saxena

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large language model (LLM) agents now place options orders at retail brokers, and developers publish open-source options agents faster than anyone has examined them. Prior security work on trading agents scored academic equities designs by whether an attacker can flip a buy-or-sell decision. We present the first measurement of the options agents that brokers and developers ship, scored by the safeguards they enforce and by the worst loss their documented order paths can reach. We screened 765 GitHub repositories, broker documentation, and the research literature and found 215 eligible repositories and 8 broker-native agent interfaces. We then scored 26 systems, including every broker interface and every open-source project with at least 20 stars, on seven robustness and eleven security safeguards with cell-level evidence. The ecosystem is new: 198 of the 215 repositories were created in 2026, and 129 (60.0%) appeared in the two weeks around one options-trading hackathon. Of the 22 systems that can place orders, 10 enforce a pre-trade limit outside the model, yet none of the 26 authenticate their text sources or cross-check market data. Of the 26, 17 can execute with no mandatory human step and 13 can reach unbounded loss, including 6 of the 8 broker interfaces. Because an attacker who writes the agent's inputs can move an order's strike, expiry, volatility, and legs while its direction stays correct, options agents need loss limits enforced at the order boundary.

1 Introduction

A large language model (LLM) agent can now open an options position at a retail broker with no human touching the order. Robinhood announced that agentic options trading is available to all US customers [1,2], on a platform with about 27 million funded customers [3]. The tastytrade Model Context Protocol (MCP) server exposes equity, index, and futures options, including multi-leg orders, to agents with write access [4,5], and 7 of the 14 brokers reviewed by StockBrokers.com in September 2026 run a first-party agent server [6]. Developers are building on these interfaces even faster. Of the 215 public options-agent repositories we found on GitHub, 198 were created in 2026 (§5.1). The market they trade is large and short-dated, since listed options averaged 72.8 million contracts a day in 2026 Q2, up more than 19% from a year earlier [7], and zero-days-to-expiry (0DTE) contracts reached a record 66.2% of S&P 500 index-options volume in July 2026 [8].

An attacker who can publish text that an options agent reads can steer its orders without touching the model or the account, because indirect prompt injection [9] and MCP tool poisoning [10] let news, social posts, filings, and tool outputs control an agent's actions. However, the worst case on options keeps the trade's direction. Whereas a stock position reaches unbounded loss through an explicit short [11], the one variable that equities risk checks already watch, an options position reaches it when one leg is dropped while the direction and the named strategy stay the same. If text frames the protective leg of a bull put spread as a drag on returns and the agent drops it, a position that risked 400percontractbecomesanuncoveredputthatcanlose400 per contract becomes an uncovered put that can lose9,900, about 25 times more (Figure 2). Human-run funds have failed this way. In 2018, a fund that sold uncovered natural-gas options told about 290 clients that their balances were gone and that they could owe their clearing broker more, after an 18% price spike [12].

Despite this exposure, no one has measured whether the agents in use today can stop such an order. The closest work, the FARSIGHT systematization of Wang and Saxena [13], scored 15 academic equities designs by whether an attacker can flip a buy-or-sell decision. Agent-security benchmarks [14–16] count unintended tool calls, and attack studies of trading agents [17, 18] target equities and pricing agents. Because none of them examines the options agents that brokers and developers ship, or prices a failure by the loss the resulting order can reach, we ask three research questions.

• RQ1 (Ecosystem). Who builds LLM options-trading agents, and how fast is that population growing?

• RQ2 (Exposure). What can these agents do to an account without a human, and what is the worst loss their documented order paths can reach?

• RQ3 (Safeguards). Which robustness and security safeguards do they enforce outside the model, and do any check the inputs an attacker writes?

To answer them, we screened all 765 repositories returned

Figure

Figure 1: Attack path and the safeguards we measured. Top: an attacker who writes text into the agent’s inputs (S1–S3) moves four of the five decisions of an options order while its direction stays correct (O-1 to O-4). The induced order passes limits that bound its size, a counterparty who reads public prints can fill it (O-6), and the position can end in assignment (O-5) or unbounded loss. Bottom: two safeguards per step, one mark per scored system, filled if enforced outside the model. C8, the most common safeguard, is enforced by 10 of the 22 order-capable systems (Table 5).

by six GitHub searches, read broker documentation and the research literature, and scored 26 systems at a single snapshot ( §4§4). The scored set contains every broker-native agent interface (8), every academic system (2), and every open-source project with at least 20 stars (7) that we found, plus 9 lower-star repositories chosen for design coverage. Our codebook grades seven robustness and eleven security safeguards as enforced outside the model, dependent on the model, or undocumented, and every cell cites the public artifact behind it.

The measurement shows a young population whose controls bound the size of an order and leave its inputs unchecked. First (RQ1), 129 (60.0%) of the 215 eligible repositories appeared in the two weeks around one options-trading hackathon, 136 name a single broker, and 161 have no stars. Second (RQ2), 17 of the 26 systems execute with no mandatory human step, 14 can open an uncovered short, and 13 can reach unbounded loss, among them 6 of the 8 broker interfaces. Third (RQ3), 10 of the 22 order-capable systems enforce a pre-trade limit outside the model, none of the 26 authenticate their sources or cross-check market data, and 5 can reach unbounded loss with neither control.

We make the following contributions:

• We give the first measurement of LLM options-trading agents, from a logged screen of 765 GitHub repositories to 26 scored systems, and show that most of the open-source population appeared around a single hackathon ( §4§4, §5.1§5.1).

• We define a threat model in which the attacker keeps the trade’s direction and moves its strike, expiry, volatility, or legs, and derive six option-only attack primitives, including a counterparty attack that survives a ban on uncovered writing ( §3§3).

• We score every system on eighteen safeguards with cell-level evidence and show that the worst case is reachable on broker interfaces, while no system verifies its inputs ( §5.2§5.2, §5.3§5.3).

• We derive order-boundary controls for brokers and agent builders that work without detecting manipulated text, and we state five open problems for researchers ( §6§6, §7§7).

Because of this measurement, a broker that opens options to agents can check its order path against three controls that work without detecting manipulated text: defined-risk structures for agent orders, a maximum loss computed and enforced before entry, which 4 of the 22 order-capable systems have today, and a pre-trade limit enforced outside the model, which 10 have.

References (81)