Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
Crypto Flexs
Home»HACKING NEWS»Cross chain re -creation attack -Ackee Blockchain
HACKING NEWS

Cross chain re -creation attack -Ackee Blockchain

By Crypto FlexsMarch 19, 20253 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Cross chain re -creation attack -Ackee Blockchain
Share
Facebook Twitter LinkedIn Pinterest Email

Cross chain re -creation attacks are used to call smart contract functions across different chains and cause money loss in smart contracts. Learn more about this vulnerabilities for example to keep the code open to the attacker.

Vulnerability

The events emitted from the inappropriate position of the code can create a crosschain re -creation vulnerability. These events are still incomplete in the original chain, but can be used to trigger the calls of other chains. You can find an example code to run in the environment.

Example contract

This is an example of a vulnerable contract. You can place it in multiple chains. Meeting only one designated chain while enabling transmission tokens between chains. This means only one token of the same tokenId It must exist in several chains.

By phone crossChainTransfer Function, users can transfer tokens. This burns the token in the source chain. Movement emits messages relayed by the validated test machine off chain. Then this validation machine calls the function of the target chain to finish the designated token. tokenId.

Attack example

The vulnerability is in the mining process. There is an external call when warning _safeMint Check the possibility of locked tokens. yes, tokenIds++; later _safeMint Function call.

Attackers can exploit it by performing:

While in an external call, that is onERC721Received Functions, they can call crossChainTransfer Function and phone mint again.

This creates a situation tokenIds++; Run twice to make the same tokenId Tokens in various chains.

Attacker

Wake code

In the test environment, there are two chains: chain1 and chain2. at test_expected_usage Functions, we are sending tokens from Chain 1 to Chain2 via the relay. The relay captures the events emitted from the chain1 and delivers the event to Chain2 by message. This call is only allowed by an effective test device, so it is used to use it through the validation test of each chain using use. from_=validator_chain1 etc.

Wake output

We can make the same tokenId Two chains tokens.

prevention

Inspection effect interaction

This preventive method allows the status change to be completed before the external call.

Re -creation guard

REENTRANTRANTRANTRANCY Guards offers additional protection for this type of attack.

Post -call verification

You can check the value tokenIds after _safeMint The function call is completed and the transaction is reversed tokenIds Although unexpectedly changed, this approach adds complexity.

conclusion

It is important to recognize the external call of the function. Because they make a door for re -creation attacks. Always consider which features can be triggered during these external calls.

For more examples, read the reentrancy example GitHub repository. There are other types of re -creation attacks and protocol re -opening, and blogs have a deep dive for some of them.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Quantum-secure data storage for app developers with open source Shamir secret sharing for capacitors

November 26, 2025

The Shai Hulud malware has hit NPM as cryptocurrency libraries face a growing security crisis.

November 24, 2025

Aave launches V4 testnet with developer preview of upcoming “Pro” experience.

November 22, 2025
Add A Comment

Comments are closed.

Recent Posts

A Retired Italian Couple Earns $998 Per Day Passively Through 8hoursmining Cloud Cryptocurrency Mining.

November 27, 2025

Mantle And Bybit Unite To Bring USDT0, The Omnichain Deployment Of Tether’s USDT Stablecoin, To The Largest Exchange-Related Network

November 27, 2025

A Retired Italian Couple Earns $998 Per Day Passively Through 8hoursmining Cloud Cryptocurrency Mining.

November 27, 2025

Technance Introduces Institutional-Grade Infrastructure For Exchanges, Fintech Platforms, And Web3 Applications

November 27, 2025

Investors Eye 900× ROI Potential as Ozak AI Continues Record Presale Momentum

November 27, 2025

Korea’s Upbit reports $36 million loss due to Solana hot wallet breach

November 27, 2025

Bitcoin remains stable as Texas allocates $5 million to BlackRock’s IBIT.

November 26, 2025

Bull and Bear Scenarios for XRP That Could Happen in November

November 26, 2025

Quantum-secure data storage for app developers with open source Shamir secret sharing for capacitors

November 26, 2025

Bybit’s 7th Anniversary Shares A $2.5 Million Thank-You With Nearly 80 Million Traders Worldwide

November 26, 2025

MEXC Launches Year-End Golden Era Showdown With 2,000g Gold Bar And BTC From 10 Million USDT Prize Pool

November 26, 2025

Crypto Flexs is a Professional Cryptocurrency News Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of Cryptocurrency. We hope you enjoy our Cryptocurrency News as much as we enjoy offering them to you.

Contact Us : Partner(@)Cryptoflexs.com

Top Insights

A Retired Italian Couple Earns $998 Per Day Passively Through 8hoursmining Cloud Cryptocurrency Mining.

November 27, 2025

Mantle And Bybit Unite To Bring USDT0, The Omnichain Deployment Of Tether’s USDT Stablecoin, To The Largest Exchange-Related Network

November 27, 2025

A Retired Italian Couple Earns $998 Per Day Passively Through 8hoursmining Cloud Cryptocurrency Mining.

November 27, 2025
Most Popular

Cryptocurrency advocates believe spot Bitcoin ETFs will be a ‘watershed’ that could add billions of dollars in value.

January 5, 2024

The UK is leading the way in cryptocurrency regulation as the BOE targets stablecoins.

December 3, 2023

Union learning strengthening: Flow and NVIDIA flare integration

April 2, 2025
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2025 Crypto Flexs

Type above and press Enter to search. Press Esc to cancel.