From Securing Private Keys to Constraining Agents: New Frontiers of Crypto Security in the AI Era

By: foresightnews.pro|

The security boundary no longer stops at private keys, but begins to extend to identity, permissions, supply chains, and every automated execution.

Written by: imToken

Before 2026, the Crypto industry had formed a fairly clear division of labor regarding "security."

Contracts were entrusted to audits and bounty programs, while private keys were secured through hardware isolation and offline backups. Although these two lines of defense did not guarantee absolute asset safety, the industry generally regarded them as the main security boundaries for a long time.

Because of this, security in the past Web3 world always carried a "cost attribute": it was an investment that products had to bear for safety, sometimes even seen as necessary friction that increased operational steps and sacrificed user experience.

However, a series of recent Crypto security incidents are breaking this inherent perception.

Attackers do not necessarily need to breach core protocols, and users' mnemonic phrases may not have left their original locations, yet assets can still face actual losses due to browser scripts being tampered with, API credentials being stolen, or transaction permissions obtained by agents being abused.

In a sense, when AI Agents begin to participate in asset management and transaction execution, security is no longer just a protective cost that products need to bear, but becomes a key infrastructure supporting automated financial activities.

1. Where is the Attack Surface of the Crypto Industry Moving?

If we only view recent incidents as isolated security news, it is easy to fall into the superficial understanding of "switching platforms, reducing phishing links." However, a careful comparison reveals that they collectively outline a fairly clear path of attack surface migration:

Risks are rapidly spreading along the periphery of on-chain assets to the browser front end, software supply chains, delegated credentials (APIs), and the authorization layer of AI Agents (see further reading: "From Private Key Protection to Systemic Defense: How Crypto Rebuilds Security and Trust in the AI Era?").

First, there is the poisoning of the Optimizely front-end supply chain.

In this case, attackers exploited vulnerabilities in a third-party experience optimization platform, injecting malicious scripts into the official CDN of hundreds of corporate websites worldwide, directly tampering with the copied cryptocurrency addresses in users' browsers while also obtaining users' bank card information, cookies, and other data.

This means that attackers do not need to breach users' wallets, nor do they necessarily need to invade the websites' own servers; as long as they control a third-party service within the user's trust chain, they have the opportunity to change the transaction information seen by users before they click send.

Second, there is the leakage of Lighter API signing keys.

On November 16, Lighter experienced a security incident involving transaction account API keys. According to subsequent disclosures, affected accounts used a custom signing program that reused the random number Nonce in cryptographic signatures, allowing attackers to deduce the API private key from the public signature.

After obtaining the key, attackers utilized the original public fund pool permissions of the affected account to transfer funds into the pool and then withdraw them through the share redemption path. Approximately 10.39 million USDC was observed flowing out on-chain, and the platform subsequently suspended withdrawals and the creation of new fund pools, recovering about 5 million USDC with the assistance of the Security Council.

Finally, there is the authorization risk of the Hyperliquid Agent Wallet.

On November 14, the automated trading service HyprEarn disclosed that a small number of Hyperliquid user accounts that had previously authorized its Agent Wallet exhibited unauthorized trading behavior, and users were required to revoke the old Agent's authorization and re-establish connections.

It is noteworthy that although Hyperliquid's Agent Wallet cannot directly withdraw or transfer to external addresses, it can execute trades on behalf of users. This means that even if attackers cannot directly steal assets, they may still cause actual losses to users through abnormal trading.

These risks are not created by AI Agents, but as Agents link information retrieval, strategy decision-making, tool invocation, and transaction execution, the originally dispersed risks may be further amplified, indicating that the attack surface of the crypto industry is fully spilling over from traditional private key and contract security to the browser front end, third-party supply chains, delegated credentials (APIs), and the identity and authorization layers of AI Agents (see further reading: "From Binance to PHP2Shell: The Defense Line of Web Security Needs Redefining in the AI Era").

2. The New Security "Boundaries" in the AI Era

If the aforementioned incidents reflect the spillover of traditional crypto attack surfaces, the proliferation of AI Agents further changes the underlying nature of security issues.

In traditional wallet interactions, users typically need to actively select assets, confirm transactions, and sign. Even if there are phishing websites or malicious contracts during the process, users are at least the main decision-makers in the entire execution chain.

But Agents are different.

For users, "automatically buying the dip on Uniswap when ETH drops to the target price and transferring remaining funds into Aave yield strategy" is just a simple instruction, but behind the Agent, it needs to read market conditions, call trading APIs, construct transactions, connect wallets, sign contracts, and even continuously adjust positions afterward (see further reading: "When Hackers Use AI More Efficiently, How Does the Arms Race of 'Spear and Shield' in Web3 Upgrade?").

This shift in interaction paradigm brings two structural changes that were not prominent in the past.

First, authorization has evolved from "one-time confirmation" to "continuous operational capability."

In the past, signing a transaction meant approving a clearly defined action, but once an Agent obtains authorization, it may operate continuously for hours, days, or even longer, dynamically adjusting strategies based on external information and intermediate results.

Thus, risks are no longer just tied to the correctness of a single transaction, but depend on the duration of the authorization, operational radius, and triggering boundaries. After all, why should an Agent responsible only for dollar-cost averaging ETH have the authority to adjust leverage, call across protocols, or even transfer assets?

If users only provide task objectives without clearly defining execution boundaries, then even if the private key is never leaked, the actual control of the account may be excessively delegated without their knowledge.

Second, originally isolated vulnerabilities are linked into a continuous execution chain.

A typical Agent workflow often spans multiple layers, such as fetching information via a browser, executing tasks through third-party Skills or MCP tools, connecting to trading platforms via APIs, and finally calling wallets to complete signatures.

The entire chain can be said to be interlinked; any breach can lead to cascading failures. Just as malicious instructions embedded in external web pages may alter the Agent's decision-making, contaminated third-party tools may swap transaction parameters during the assembly phase, and leaked API keys can bypass the original interaction process to directly access funds.

This is why security in the Agent era cannot solely rely on the alignment and guardrails of the model itself; what truly determines whether an operation can be executed must be a set of deterministic permissions and strategy foundations independent of model reasoning.

In other words, Agents can become increasingly autonomous, but autonomy must have hard boundaries, which is the true intersection of Crypto security and AI Agent security.

3. From Wallets to Agent Platforms: What New Security Standards Are Needed?

When both the attack surface and risk subjects change, wallets, exchanges, and Agent platforms need to establish more than just traditional private key protection and contract auditing mechanisms.

Surrounding the risk transmission across the entire chain, at least four dimensions of capability are becoming the new industry benchmarks.

First, we must establish an independent Agent identity and minimum permission system.

Agents should not directly inherit all permissions of user accounts but should operate as independent, restricted entities. A mature permission model should achieve decomposable hard constraints across at least five dimensions:

  • Operational scope: Clearly distinguish between read-only queries, spot trading, and specific contract calls, rejecting broad general authorizations;
  • Asset scope: Limit the specific tokens that can be utilized to prevent risks from affecting other assets within the main account;
  • Amount scope: Set limits on single transaction amounts, cumulative expenditures, and maximum risk exposure;
  • Time scope: Bind authorizations to effective periods, automatically invalidating them at the end of tasks;
  • Delegation scope: When Agents call sub-Agents or third-party tools, permissions should only narrow and strictly prohibit downstream diffusion;

More critical than fine allocation is the revocability of permissions. Once an Agent's behavior deviates from expectations, users must be able to autonomously and immediately cut off authorization without waiting for a response from a centralized service provider. For wallets, this means their functions are extending from merely being a "signing entry" to further include identity verification, permission allocation, and full lifecycle authorization management.

Second, we need to make transaction intentions truly readable and verifiable.

In the Agent era, a real issue users face is that even if transactions ultimately require wallet signatures, users may not fully understand what the Agent has actually submitted.

A natural language instruction, after model reasoning, tool invocation, and contract coding, may ultimately turn into an on-chain transaction with complex parameters. Therefore, wallets should not just display a segment of raw transaction data or simply require users to click confirm, but should restore transactions to specific actions that users can understand as much as possible.

For example, clearly displaying the protocols and contracts being called, specifying the assets involved, amounts, receiving addresses, identifying high-risk operations such as unlimited authorization and permission changes, and explaining potential impacts for transactions involving leverage, collateral, and position changes, even simulating transactions to show asset changes before and after execution.

A crucial bottom line is that transaction descriptions generated by the model itself must not directly serve as the final security basis.

Wallets must independently parse the actual underlying parameters to be signed locally, ensuring that the "intent seen by the user" strictly aligns with the "facts to be executed on-chain." For large assets, irreversible operations, or permission expansions, a clear manual confirmation mechanism must be retained.

Third, extend supply chain verification to the entire tool ecosystem of Agents.

The lessons from Optimizely and Lighter have proven that defenses often break down in third-party dependencies that users cannot see. In the Agent era, this supply chain is exponentially lengthening:

In addition to traditional browser scripts and software SDKs, various Skills, MCP Servers, third-party APIs, external data sources, and automation execution tools are directly integrated into the execution chain.

Therefore, future security verification cannot just stop at the model and wallet itself but must cover the entire dependency map of the tool ecosystem. For instance, implementing strict source verification for SDKs, plugins, and Skills, prioritizing trusted release channels; locking dependency versions and verifying software package integrity to block unreviewed silent updates; enforcing sandbox isolation for third-party tools, strictly limiting their access boundaries to local files, account credentials, and external networks.

Especially for tools involving wallet signatures and asset operations, they must not gain unauthorized access to other resources simply because they are "normally called by Agents."

Finally, establish a continuous monitoring and anomaly response mechanism for Agent behavior.

Traditional security systems typically focus on abnormal logins, unusual transfers, and suspicious contract interactions, but for Agents, abnormal behavior may appear earlier in the transaction execution process.

For example, an Agent originally responsible only for low-frequency spot trading suddenly begins to frequently adjust leverage, continuously open positions, or call contract interfaces that have never been used before; these may indicate that task execution has deviated from the user's original authorization scope.

Therefore, trading platforms and Agent service providers need to establish more granular behavior monitoring mechanisms, including setting real-time thresholds around transaction frequency and amount limits, maximum positions and leverage exposure, abnormal API calls, and unfamiliar contract interactions; once a policy red line is triggered, the system should automatically pause tasks, downgrade permissions, or revoke corresponding authorizations.

It is especially important to note that once on-chain transactions are completed, they usually cannot be simply revoked. Therefore, truly effective risk control should occur as early as possible before transaction execution, rather than waiting for asset losses to remedy afterward.

For Agent platforms, it is also necessary to record the source, authorization basis, tool invocation, transaction parameters, and execution results of each task, allowing users to trace back to which link encountered issues.

-- Price

--
--
--

Conclusion

Looking back at the development history of the crypto industry, every upgrade in interaction paradigms ultimately forces a reconstruction of the security system.

From early private key management and cold wallets to smart contract audits, multi-signatures, and MPC, and now to account abstraction, permission management, and automated risk control, every product form upgrade brings new security boundaries.

AI Agents will be no exception.

As Agents begin to interact with wallets, exchanges, payment networks, and on-chain protocols, security has already transitioned from information protection to real asset control and financial execution.

For wallets, the core challenge in the AI Agent era is not just how to support more complex automated operations, but how to ensure that users always have clear, verifiable, and revocable asset control while improving execution efficiency.

Automation can change the way transactions are executed, but it should not change the ownership of asset control. This may be the bottom line that the crypto security infrastructure needs to uphold in the AI Agent era.

This content is provided for general informational purposes only and doesn't constitute financial, investment, legal, or tax advice. Any events, rewards, online promotions, or related information mentioned herein should not be considered a recommendation, solicitation, or invitation to purchase, sell, trade, or otherwise deal in any crypto assets. Crypto assets are highly volatile and may result in loss. The availability of WEEX services, products, and related events may vary by region. You are responsible for ensuring that your participation is in accordance with applicable local laws and regulations.

You may also like

iconiconiconiconiconiconiconiconicon
Customer Support:@weikecs
Business Cooperation:@weikecs
Quant Trading & MM:[email protected]
VIP Program:[email protected]