AAPS: Secure Cross-chain Scheme Based on Anti-attack Protocol Slot

Hanyu Mao, Tiezheng Nie, Ge YuResearch Square 2024 · DOI

Abstract

With the increasing development of blockchain technology, numerous blockchain structures and tokens have been created. However, due to the independent nature of these chains, the concept of "cross-chain" was introduced to enable interoperability between them. Unfortunately, the development of cross-chain technology has resulted in numerous technical vulnerabilities, leading to significant losses of assets and disclosure of private data. Additionally, mainstream cross-chain schemes such as relay chain and security committee have become increasingly centralized, resulting in significant risks and the potential for collusion attacks. Therefore, in this paper, we propose the Anti-Attack Protocol Slot (AAPS) scheme to ensure the security of cross-chain interactions. This scheme is designed to resist multiple types of network attacks without requiring additional third-party centralized nodes or security boards. Through experiments, we demonstrate the reliability of AAPS. In summary, this paper proposes a novel approach for enhancing the security of cross-chain interactions, thereby addressing the technical vulnerabilities associated with current cross-chain schemes. The AAPS scheme provides a decentralized solution that can effectively protect against various network attacks.

Introduction: The Vulnerability of the Blockchain Multiverse

As the blockchain ecosystem matures, it has evolved into a collection of "isolated islands." Cross-chain technology serves as the essential bridge connecting these islands, enabling the movement of assets and data between disparate networks, such as Ethereum and Hyperledger Fabric. However, these bridges have frequently proven to be the "weakest link" in the security chain.

Many existing cross-chain solutions rely on centralized relay chains or "security committees" (notaries). These structures are inherently prone to collusion or represent single points of failure. High-profile exploits in protocols like Poly Network and Ronin Network have demonstrated that even sophisticated systems can fall victim to validator manipulation or inspection defects.

Table 1: Historical analysis of cross-chain vulnerabilities and attack types.

The core challenge lies in the need for a decentralized, flexible security layer that can adapt to different threat models without imposing a universal performance penalty on every transaction.

The AAPS Framework: A Modular Defense

To address these vulnerabilities, we propose the Anti-Attack Protocol Slot (AAPS). AAPS is a modular, decentralized framework implemented via smart contracts that allows transaction initiators to select specific "security slots" based on their environment and risk tolerance.

Instead of a rigid, one-size-fits-all model, AAPS offers three primary plug-and-play slots:

  1. Atomic Transaction Slot: This slot utilizes a locking mechanism to ensure atomicity—a transaction either succeeds on both chains simultaneously or fails on both. This serves as the primary defense against race condition attacks and double-spending.
  2. Oracle Slot: By leveraging a trusted oracle to synchronize timestamps across chains, this slot enforces a strict execution order. This is particularly effective against Eclipse attacks, where malicious actors attempt to isolate nodes or "smother" legitimate transactions with fraudulent ones.
  3. Secure Multi-party Computation (SMPC) Slot: Representing the "heavy armor" of the framework, the SMPC slot allows multiple nodes to collectively compute results without any single node accessing private input data. It is specifically designed to thwart collusion and Sybil attacks.
Algorithm 1: Logic flow for the Atomic Transaction (Atomic Tx) slot.

Experimental Methodology

To evaluate the efficacy of AAPS, we developed a custom bi-directional bridge between Hyperledger Fabric and Ethereum (utilizing the Ganache local test network). The experimental environment consisted of a local area network node equipped with a 3.2 GHz Intel Core i7-8700 CPU and 32 GB of RAM. Smart contracts were implemented in Go for the Fabric side and Solidity for the Ethereum side.

Results and Performance Analysis

Our experiments confirmed that the AAPS slots provide robust protection against their targeted attack vectors:

  • Attack Resilience: The Atomic Transaction slot effectively prevented double-spending by locking assets during the cross-chain process. The Oracle slot successfully maintained transaction ordering, neutralizing Eclipse attack attempts.
  • Scalability and Efficiency: We observed that the "proof time" (verification time) for both the Atomic Transaction and Oracle slots increases linearly with the number of notary nodes. This suggests high scalability for most standard cross-chain operations.
  • The SMPC Bottleneck: While the SMPC slot offers the highest level of security—resisting Race, Eclipse, Collusion, and Sybil attacks—it carries a significant computational burden. Its verification time increases exponentially ($O(N^2)$) with the number of nodes, making it less suitable for high-throughput environments.
  • Trust Models: While SMPC and Atomic Transactions remained secure against malicious node behavior within consensus limits, the Oracle slot's security is inherently tied to the integrity of the third-party data source.

Discussion: Security as a Spectrum

A key insight from this research is that security should be treated as a spectrum rather than a binary state. By adopting a "slot" approach, AAPS allows users to avoid the performance degradation associated with complex protocols like SMPC when a simpler, faster Atomic Transaction is sufficient for the risk level. Furthermore, by embedding security logic directly into smart contract slots rather than a centralized relay, AAPS eliminates the "honeypot" effect that makes traditional bridges attractive targets.

Limitations and Future Directions

Despite its strengths, AAPS faces several challenges. The $O(N^2)$ complexity of the current SMPC implementation remains a hurdle for large-scale deployment. Future work will focus on optimizing these cryptographic algorithms to reduce computational overhead. Additionally, the Oracle slot remains vulnerable if the data provider itself is compromised. Finally, while SMPC and Oracles offer some resilience to Denial of Service (DoS) attacks, Atomic Transactions remain sensitive to network-level DoS that can trigger transaction timeouts. We propose investigating transaction frequency limits and adaptive confirmation times as potential mitigations.

Conclusion

The AAPS scheme provides a novel, decentralized approach to securing the blockchain multiverse. By offering flexible, modular security slots, it addresses the critical vulnerabilities of current cross-chain bridges while maintaining the performance necessary for diverse blockchain applications.

Summary updated

Abstract

<title>Abstract</title> With the increasing development of blockchain technology, numerous blockchain structures and tokens have been created. However, due to the independent nature of these chains, the concept of "cross-chain" was introduced to enable interoperability between them. Unfortunately, the development of cross-chain technology has resulted in numerous technical vulnerabilities, leading to significant losses of assets and disclosure of private data. Additionally, mainstream cross-chain schemes such as relay chain and security committee have become increasingly centralized, resulting in significant risks and the potential for collusion attacks. Therefore, in this paper, we propose the Anti-Attack Protocol Slot (AAPS) scheme to ensure the security of cross-chain interactions. This scheme is designed to resist multiple types of network attacks without requiring additional third-party centralized nodes or security boards. Through experiments, we demonstrate the reliability of AAPS. In summary, this paper proposes a novel approach for enhancing the security of cross-chain interactions, thereby addressing the technical vulnerabilities associated with current cross-chain schemes. The AAPS scheme provides a decentralized solution that can effectively protect against various network attacks.
BibTeX
@inproceedings{mao2024aaps,
  author = {Hanyu Mao and Tiezheng Nie and Ge Yu},
  title = {{AAPS: Secure Cross-chain Scheme Based on Anti-attack Protocol Slot}},
  booktitle = {Research Square},
  year = {2024},
  doi = {10.21203/rs.3.rs-4256178/v1},
}
Figure