Before 2026, the crypto industry had developed a relatively clear division of responsibilities around security.
Smart contracts were protected through audits and bug bounty programs, while private keys were safeguarded through hardware isolation and offline backups. Neither defense could guarantee absolute asset security, but for years, the industry broadly regarded them as its primary security boundaries.
This is also why security in the Web3 world has traditionally been treated as a cost: a necessary investment in protection, and sometimes a necessary source of friction that added steps and compromised the user experience.
But a string of recent crypto security incidents is beginning to challenge that assumption.
Attackers do not necessarily need to compromise a core protocol, nor do users’ seed phrases need to be exposed. Assets can still be put at risk when browser scripts are tampered with, API credentials are stolen, or an Agent’s trading permissions are abused.
In a sense, as AI Agents begin participating in asset management and trade execution, security is no longer merely a defensive cost borne by products. It is becoming critical infrastructure for automated financial activity.
1. Where Is Crypto’s Attack Surface Moving?
If we treat recent incidents as isolated security stories, it is easy to arrive at superficial conclusions: switch platforms, avoid suspicious links, and move on.
But viewed together, these incidents reveal a clear migration in the industry’s attack surface.
Risk is rapidly spreading across the systems surrounding onchain assets, including browser front ends, software supply chains, delegated API credentials, and AI Agent authorization layers.
(Further reading: From Private-Key Protection to Systemic Defense: How Crypto Can Rebuild Security and Trust in the AI Era)
The first example is the Optimizely front-end supply-chain compromise.
Attackers exploited a vulnerability involving a third-party experience optimization platform and used its legitimate CDN delivery channel to inject malicious scripts into the websites of more than one hundred organizations worldwide. The scripts could replace cryptocurrency addresses copied by users directly in the browser, while also collecting cookies, payment-card information, and other user-entered data.
This meant the attackers did not need to compromise a user’s wallet or even breach the website’s own servers. By taking control of a third-party service within the user’s trust chain, they could potentially alter the transaction information users saw before they clicked Send.
The second case involved leaked Lighter API signing keys.
On November 16, Lighter experienced a security incident involving API keys used by trading accounts. According to the post-incident disclosure, the affected accounts used custom signing code that reused the cryptographic nonce in multiple signatures. This allowed the attacker to derive API private keys from publicly available signatures.
After obtaining those keys, the attacker abused the affected accounts’ existing public-pool permissions, transferred funds into the pools, and then withdrew them through the share redemption process. Onchain data showed outflows of approximately 10.39 million USDC. Lighter subsequently paused withdrawals and the creation of new pools, while its Security Council helped recover approximately 5 million USDC.
The third example concerns the authorization risks surrounding Hyperliquid Agent Wallets.
On November 14, automated trading service HyprEarn disclosed that a small number of Hyperliquid accounts that had previously authorized its Agent Wallet had experienced unauthorized trading activity. Users were instructed to revoke the old Agent authorization and reconnect their accounts.
Importantly, a Hyperliquid Agent Wallet cannot directly withdraw assets or transfer them to an external address. It can, however, place trades on the user’s behalf. This means that even if an attacker cannot simply transfer assets away, malicious or abnormal trading can still cause real financial losses.
These risks were not created by AI Agents. But Agents can amplify them by connecting information retrieval, strategic decision-making, tool invocation, and transaction execution into a single workflow.
Taken together, these incidents suggest that crypto’s attack surface is expanding beyond traditional private-key and smart-contract security. It now extends across browser front ends, third-party supply chains, delegated API credentials, and the identity and authorization layers surrounding AI Agents.
(Further reading: From Binance to PHP2Shell: Web Security Must Be Redefined for the AI Era)
2. The New Security Boundary in the AI Era
If the incidents above illustrate how crypto’s traditional attack surface is expanding, the rise of AI Agents changes the underlying nature of the security problem itself.
In a conventional wallet interaction, the user normally selects an asset, reviews the transaction, and signs it. Even when phishing websites or malicious contracts are involved, the user remains the primary decision-maker in the execution chain.
Agents are different.
For a user, an instruction such as “automatically buy ETH on Uniswap when it falls to my target price, then move the remaining funds into an Aave yield strategy” may be a single sentence.
Behind the scenes, however, the Agent must read market data, call trading APIs, construct transactions, connect to a wallet, interact with contracts, and potentially continue adjusting the position afterward.
(Further reading: When Hackers Scale Up with AI: The Next Level of Web3’s Security Arms Race)
This shift in interaction introduces two structural changes that were far less prominent before.
The first is that authorization evolves from a one-time confirmation into a persistent ability to act.
In the past, signing a transaction usually meant approving one clearly bounded action. Once an Agent is authorized, however, it may continue operating for hours, days, or even longer, dynamically adjusting its strategy in response to external information and intermediate results.
Risk is therefore no longer tied solely to whether one transaction is correct. It also depends on how long the authorization remains valid, how broad the Agent’s operating range is, and what conditions trigger its actions.
An Agent tasked only with periodically buying ETH should not automatically have permission to adjust leverage, interact across multiple protocols, or transfer assets.
If users specify only the objective of a task without clearly defining its execution boundaries, effective control over the account may become excessively delegated—even if the private key itself is never compromised.
The second structural change is that previously isolated weaknesses become connected through a continuous execution chain.
A typical Agent workflow can span multiple layers. It may collect information through a browser, perform tasks using a third-party Skill or MCP tool, access a trading platform through an API, and finally call a wallet to sign a transaction.
Every link in that chain depends on the others. A compromise at any point can cascade downstream.
Malicious instructions embedded in an external webpage could distort the Agent’s decision-making. A compromised third-party tool could replace transaction parameters during construction. A leaked API key could bypass the intended interaction flow and directly access trading capabilities.
This is why Agent-era security cannot rely solely on model alignment or behavioral guardrails.
The final decision on whether an operation may proceed must be enforced by a deterministic permission and policy layer that remains independent of the model’s reasoning.
In other words, Agents may become increasingly autonomous, but that autonomy must have hard boundaries. This is where crypto security and AI Agent security truly converge.
3. From Wallets to Agent Platforms: What Should the New Security Standard Include?
As both the attack surface and the actors creating risk evolve, wallets, exchanges, and Agent platforms need more than conventional private-key protection and smart-contract auditing.
To contain risk across the entire execution chain, capabilities in at least four areas are becoming part of a new industry baseline.
Independent Agent Identities and Least-Privilege Access
Agents should not directly inherit all the permissions of a user’s primary account. Each Agent should operate as a separate, restricted identity.
A mature permission model should impose enforceable constraints across at least five dimensions:
- Action scope: Clearly distinguish between read-only access, spot trading, and interactions with specific contracts. Avoid broad, general-purpose authorization.
- Asset scope: Restrict the Agent to explicitly approved tokens so that a compromise cannot affect unrelated assets in the user’s main account.
- Amount scope: Set limits for individual transactions, cumulative spending, and maximum risk exposure.
- Time scope: Set an expiration time for each authorization and revoke it when the task ends, whichever comes first.
- Delegation scope: If an Agent invokes a sub-Agent or third-party tool, permissions must only become narrower. They must never expand as they move downstream.
Even more important than granular allocation is revocability.
If an Agent begins behaving unexpectedly, users must be able to terminate its authorization immediately and independently, without waiting for a centralized service provider to respond.
For wallets, this means evolving beyond a simple signing interface. They increasingly need to serve as an identity-verification, permission-allocation, and authorization-lifecycle management layer.
Readable and Verifiable Transaction Intent
One practical challenge in the Agent era is that even when a transaction ultimately requires wallet approval, the user may not understand what the Agent has actually submitted.
A natural-language instruction can pass through model reasoning, tool calls, and contract encoding before becoming an onchain transaction containing complex parameters.
Wallets therefore cannot limit themselves to displaying raw transaction data or asking users to click Confirm. They should translate the transaction into concrete actions the user can understand.
That means clearly identifying the protocol and contract being called, the assets and amounts involved, and the receiving address. High-risk operations—such as unlimited token approvals or changes to account permissions—should be explicitly flagged. For transactions involving leverage, collateral, or position adjustments, the wallet should explain the potential effects.
Transaction simulation can go one step further by showing how the user’s balances and positions are expected to change before and after execution.
One principle is especially important: an explanation generated by the model itself must never be treated as the definitive basis for security decisions.
The wallet must independently parse, in the user’s local environment, the actual low-level parameters awaiting signature, and verify that the intent shown to the user matches what will actually be executed onchain.
Large transfers, irreversible operations, and permission expansions should still require explicit human confirmation.
Supply-Chain Verification Across the Agent Tool Ecosystem
The incidents discussed above highlight risks beyond core protocols, including third-party dependencies and signing implementations.
In the Agent era, this supply chain is becoming substantially longer.
In addition to conventional browser scripts and software SDKs, the execution chain can now include Skills, MCP servers, third-party APIs, external data sources, and automated execution tools.
Security verification can therefore no longer stop at the model or wallet itself. It must cover the dependency graph of the entire tool ecosystem.
SDKs, plugins, and Skills should undergo strict provenance checks and be obtained through trusted distribution channels. Dependency versions should be pinned, and package integrity should be verified to prevent unreviewed silent updates.
Third-party tools should run in isolated environments with tightly restricted access to local files, account credentials, and external networks.
Tools that interact with wallet signing or asset operations deserve particular scrutiny. The fact that a tool was invoked through a legitimate Agent workflow must never grant it implicit access to unrelated resources.
Normal invocation is not the same as unrestricted trust.
Continuous Agent Monitoring and Anomaly Response
Traditional security systems often focus on abnormal logins, suspicious transfers, and interactions with known malicious contracts.
For Agents, however, abnormal behavior may appear much earlier in the execution process.
An Agent originally authorized only for low-frequency spot trading might suddenly begin adjusting leverage repeatedly, opening positions in rapid succession, or calling contract interfaces it has never used before. Any of these behaviors could indicate that execution has deviated from the user’s original authorization.
Trading platforms and Agent service providers therefore need more granular behavioral monitoring.
Real-time thresholds should cover trading frequency and transaction value over a given period, maximum position size and leverage exposure, unusual API calls, and interactions with unfamiliar contracts.
Once an operation crosses a policy boundary, the system should automatically pause the task, restrict the Agent’s permissions, or revoke the relevant authorization.
This is particularly important because completed onchain transactions generally cannot be reversed. Effective risk controls should intervene before execution wherever possible, rather than responding only after assets are lost.
Agent platforms also need comprehensive audit trails. Each task should record its origin, authorization basis, tool calls, transaction parameters, and execution results, allowing users and security teams to determine exactly where something went wrong.
Final Thoughts
Throughout crypto’s development, every major change in how users interact with assets has eventually forced the security architecture to evolve.
The industry moved from basic private-key management and cold wallets to smart-contract audits, multisignature systems, and MPC. It is now moving toward account abstraction, fine-grained permissions, and automated risk controls.
AI Agents will be no exception.
Once Agents begin connecting to wallets, exchanges, payment networks, and onchain protocols, security is no longer limited to protecting information. It extends into real asset control and financial execution.
For wallets, the central challenge of the AI agent era is not merely how to support more sophisticated automation. It is how to improve execution efficiency while ensuring that users retain control of their assets and can verify and revoke any permissions they delegate.
Automation can change how transactions are executed. It should never change who ultimately controls the assets. That may be the most important boundary crypto security infrastructure must defend in the age of AI Agents.