Can an AI agent withdraw your money on OpenFinance?
Short answer: Not to anyone else. An AI agent or API key connected to OpenFinance can trade for you and move money between your own wallets, but the server refuses any transfer, bridge, swap or Polymarket withdrawal to an address that isn't yours. Sending to another person only works on the Wallet page at openfinance.tech, with a code from your authenticator app. Your agent can still trade, so a bad trade can still lose money.
This applies to every way an agent reaches OpenFinance: the MCP server at https://api.openfinance.tech/agent/mcp, the REST API with an API key, OAuth connections from Claude, ChatGPT and other apps, and the chat inside openfinance.tech.
Key facts
| Agent or API key places trades | Yes. In the OpenFinance chat, a confirmation card waits for your approval. Outside agents are instructed to show you a quote and wait for your yes |
| Agent moves money between your own wallets | Yes: your EVM address, your Solana address and your Polymarket deposit wallet. Hyperliquid withdrawals go to your own address on Arbitrum |
| Agent sends to someone else's address | No. The server refuses it |
| You send to someone else | On the Wallet page at openfinance.tech, with a code from your authenticator app |
| Two-factor setup | Settings > Security > Two-factor authentication on openfinance.tech. Needed before your first outside send |
| One code, one transfer | A code approves one outside transfer. It can't be reused and lasts at most 15 minutes |
| Turn off access | Revoke your API key on the External AI page. Your account has one key, so this cuts off every app connected with it |
| Custody | Embedded EVM and Solana wallets through Privy. You can export your private keys in Settings > Export Keys, which asks for your authenticator code |
How the protection works
- Payouts are checked on the server. When a transfer, bridge, swap or Polymarket withdrawal names a destination, OpenFinance compares it with your own addresses before anything is signed.
- Your own wallets pass. Bridging to your Solana address, funding your Polymarket deposit wallet or withdrawing from Hyperliquid to your Arbitrum address works from any agent.
- Any other address is refused. The request fails with an error that tells the agent to send you to the Wallet page. The check runs on the server, not in the AI model, so prompt wording doesn't change it.
- People send from the website. On the Wallet page you review the transfer, tick that you checked the address, and enter the current code from your authenticator app. That code approves that one transfer.
What it covers
- Token transfers: a send to an address that isn't yours is refused.
- Bridges and swaps through Relay: the recipient must be one of your wallets, and requests that add extra fees or attached transactions are refused.
- Solana swaps through Jupiter: the wallet that pays and the wallet that receives must both be yours.
- Polymarket withdrawals: winnings bridge out only to your own wallets.
- Hyperliquid withdrawals: paid to your own address on Arbitrum.
- Account settings from chat: the agent inside openfinance.tech can't read or change your API key, two-factor settings or connected accounts.
Safety: what it does not cover
Your agent can still trade with your money. The protection stops transfers to other addresses; it does not judge trades.
- A fooled agent or a leaked key could still place bad trades in your account, including buying a token or pool that someone else controls, which moves value to them. OpenFinance does not set trade-size limits on the server today.
- Keep confirmations on, so orders are quoted and wait for your yes.
- Your account has one API key, shared by every app you connect. Treat it like a password and fund only what you are willing to risk.
- If the key leaks, revoke it on the External AI page right away, then create a new one.
A safe setup, step by step
- Turn on two-factor in Settings > Security on openfinance.tech, so outside sends and key exports need your authenticator.
- Connect your agent with OAuth sign-in or your API key (sidebar → External AI).
- Fund a small balance for the agent to trade with.
- Give it rules: quote every order, wait for your yes, and a maximum size per trade.
- Review and revoke: check positions regularly, and revoke the key the moment anything looks wrong.
Frequently asked questions
Can an AI agent withdraw money from my OpenFinance account?
Not to anyone else. An agent can move funds between your own wallets, for example from Hyperliquid back to your Arbitrum address or into your Polymarket deposit wallet. A transfer to an address that isn't yours is refused by the server.
Can a leaked API key drain my wallet?
It can't send your funds to another address: outside transfers need the Wallet page and your authenticator code. It can still trade, and a bad trade, such as buying a token the attacker controls, can lose money to them. Revoke the key on the External AI page straight away and keep agent balances small.
How do I send crypto to someone else?
Use the Wallet page at openfinance.tech. Set up an authenticator app first in Settings > Security, then enter its current code on the last step of the transfer. One code approves one transfer.
Do I need two-factor to trade?
No. Trading, swaps between your own wallets and deposits work without it. You need it to send funds to an address that isn't yours, and to export your keys.
Can my agent skip the confirmation if someone tricks it?
Outside agents follow the confirmation as an instruction, so a tricked agent might skip asking you. It still can't send funds to someone else, because that check runs on the server. Trades are the remaining risk, which is why a small balance and your own order rules matter.
Who holds my private keys?
Your wallets are embedded wallets created through Privy. You can export your private keys in Settings > Export Keys, which asks for your authenticator code. See the Terms of Use, section 4.
Does this apply to Claude, ChatGPT and other MCP apps?
Yes. The check runs on OpenFinance's server, so it applies the same way to every app and agent, whether it connects over MCP, OAuth or an API key.
Sources
- Safety and custody in the OpenFinance docs: https://docs.openfinance.tech/reference/safety-and-custody
- Wallet page and sending in the OpenFinance docs: https://docs.openfinance.tech/product/wallet
- OpenFinance Terms of Use: https://openfinance.tech/terms.html