logo
  • menu
  • Markets
  • ETFs
  • Live
  • Spot
  • Futures
  • Bots
  • Learn
  • Sign In
  • Sign Up
  • Downloads
  • English
  • |
  • USD
  • |
Sign Up
Crypto PricesLearnLatest NewsDownloadsMarketsSpotAnnouncements
Home/
Learn/
Crypto Basics

What is T3rn-Swap? What Happened with the Malicious Code?

By Craig Green
Jun 16, 2025
4.1 
★
★
★
★
★
★
★
★
★
★
 459 User Rating
Share

T3rn-swap is an open-source script associated with the T3rn project, a modular interoperability layer designed to facilitate cross-chain swapping. Unfortunately, a serious security breach was uncovered in May 2025. when a backdoor was discovered in the t3rn-swap script, potentially compromising user security. This article explores what t3rn-swap is, the nature of the hack, and the steps users should take to protect their assets.

What is T3rn-Swap?

T3rn-swap was designed to allow users to perform cross-chain transactions within the T3rn ecosystem. The script was open-source and aimed to make asset bridging across multiple blockchains easier and more accessible. However, this simple and useful tool was recently exposed as a potential security risk.

What Happened with T3rn-Swap?

On May 8. 2025. a significant security vulnerability was discovered in the t3rn-swap GitHub repository. The malicious code, hidden in the record_config function, would transmit users' private keys to a Telegram ID without their knowledge. This backdoor posed a grave risk, allowing attackers to steal users' assets if they interacted with the compromised script.

In response, the T3rn project's author acknowledged the issue, admitting to being a victim of theft as well. Despite this, the community has criticized the transparency of the response, urging users to replace any exposed private keys immediately and cease using the affected script.

What Should Users Do to Protect Themselves?

Users who have interacted with the t3rn-swap script should:

Cease using the script immediately.

Replace any compromised private keys.

Monitor accounts for suspicious activity and report unauthorized transactions.

Use the official t3rn Bridge UI for cross-chain swaps and ensure they are engaging with verified tools within the ecosystem.

Conclusion

The discovery of a backdoor in the t3rn-swap script highlights the importance of security in the crypto space. Users must be vigilant and take immediate steps to safeguard their assets. While T3rn's cross-chain features remain valuable, users should exercise caution and only use trusted platforms moving forward.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of BitKan. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. BitKan shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. Products mentioned in this article may not be available in your region.

Related Articles

  • What Are Keyloggers? How Do They Drain Your Crypto?

    What Are Keyloggers? How Do They Drain Your Crypto?

    A keylogger is a specialized form of spyware designed to systematically record every keystroke pressed on a compromised device.
    Wayne Ingram
    Jul 6, 2026
  • Crypto Trading Bots: What Are They and How Do They Work?

    Crypto Trading Bots: What Are They and How Do They Work?

    A crypto trading bot is a software application designed to automate the process of buying and selling digital assets, acting as an interface between the user and a cryptocurrency exchange.
    Cornell Rachel
    Jun 26, 2026
  • What Are Appchains? How Do Application-Specific Blockchains Work?

    What Are Appchains? How Do Application-Specific Blockchains Work?

    Appchains are blockchains built to support a single application, providing dedicated resources instead of competing for block space with other decentralized applications.
    Jerry McNeill
    Jun 25, 2026

Latest Articles

Crypto Basics

Tutorials

Currencies

Investing

  • What Is Cross-Chain Interoperability? How Does It Function?

    What Is Cross-Chain Interoperability? How Does It Function?

    Cross-chain interoperability is the technological capability of independent blockchain networks to securely exchange assets, data, and functional instructions without central intermediaries.
    Jerry McNeill
    Jul 8, 2026
  • What Are Keyloggers? How Do They Drain Your Crypto?

    What Are Keyloggers? How Do They Drain Your Crypto?

    A keylogger is a specialized form of spyware designed to systematically record every keystroke pressed on a compromised device.
    Wayne Ingram
    Jul 6, 2026
  • What is Maximal Extractable Value in crypto? How Do We Avoid MEV?

    What is Maximal Extractable Value in crypto? How Do We Avoid MEV?

    Maximal Extractable Value (MEV), formerly known as Miner Extractable Value, is the maximum value that can be extracted from block production by including, excluding, or reordering transactions within a block, in addition to standard block rewards and gas fees.
    Jerry McNeill
    Jul 1, 2026
  • Crypto Trading Bots: What Are They and How Do They Work?

    Crypto Trading Bots: What Are They and How Do They Work?

    A crypto trading bot is a software application designed to automate the process of buying and selling digital assets, acting as an interface between the user and a cryptocurrency exchange.
    Cornell Rachel
    Jun 26, 2026
  • What Are Appchains? How Do Application-Specific Blockchains Work?

    What Are Appchains? How Do Application-Specific Blockchains Work?

    Appchains are blockchains built to support a single application, providing dedicated resources instead of competing for block space with other decentralized applications.
    Jerry McNeill
    Jun 25, 2026
View more data 

Content

BTCBTC(BTC)
$0
--(Last 24h)
SpotFutures

Top

View more
  1. 1How To Sign Up For A BitKan Account (Web)?
  2. 2When Is Bitcoin Halving 2024? What Does Bitcoin Halving Do?
  3. 3What is Etherscan Used For and How to Find Token Decimal on Etherscan
  4. 4What is USDC used for? Why is USDC used?

Top Gainers

View more
Akedo
AkedoAKE

$0.000539

+180.54%
DODO
DODODODO

$0.0273

+42.68%
FC Porto Fan Token
FC Porto Fan TokenPORTO

$0.5570

+42.09%
Kaito
KaitoKAITO

$0.8106

+19.91%
Portal To Bitcoin
Portal To BitcoinPTB

$0.000577

+17.75%

Top Trending

View more
SK 海力士美国存托凭证
SK 海力士美国存托凭证SKHY

$182.130

+11.94%
Dogecoin
DogecoinDOGE

$0.0738

+2.20%
ChainLink
ChainLinkLINK

$8.4280

+5.76%
Zcash
ZcashZEC

$574.470

+12.71%
SK Hynix Inc
SK Hynix IncSKHYNIX

$1,373.58

+5.37%

Recently added

View more
Derive
DeriveDRV

$0.1452

-21.22%
SK Hynix
SK HynixSKHYB

$182.200

+11.55%
Cash Cat
Cash CatCASHCAT

$0.1262

-30.96%
Cerebras
CerebrasCBRSB

$204.000

-1.22%
Invesco QQQ Trust
Invesco QQQ TrustQQQB

$723.010

+1.08%

Latest News

View more
  1. 1Bitcoin Jumps to $65K as Softer CPI Data Calms Fed Hike Fears
  2. 2Stablecoin Market Drops $10B, Analysts Downplay Concerns
  3. 3New SEC Crypto Rule to Cut Red Tape for Startup Fundraising
  4. 4White House Admits Federal Bitcoin Fund is Still Delayed
  5. 5USDC Dominates Tether USDT in Stablecoin Volume Race
About Us
  • About BitKan
  • Contact Us
  • Announcements
  • VIP Program
  • BitKan Ambassador
  • Institutional Services
Products
  • Spot
  • Futures
  • Crypto Prices
  • Learn
  • News
  • Markets
  • How to Buy Crypto
  • BTC to USD Calculator
  • Reward
Help
  • Help Center
  • Email Us
  • Live Chat
  • Download APP
  • Listing Application
  • Buy Bitcoin
  • Buy Ethereum
  • Buy Dogecoin
  • Buy Altcoins
Terms
  • Terms of Use
  • Privacy Policy
  • Trading Rules
  • Fee
K-Site
English
About Us
+
  • About BitKan
  • Contact Us
  • Announcements
  • VIP Program
  • BitKan Ambassador
  • Institutional Services
Products
+
  • Spot
  • Futures
  • Crypto Prices
  • Learn
  • News
  • Markets
  • How to Buy Crypto
  • BTC to USD Calculator
  • Reward
Help
+
  • Help Center
  • Email Us
  • Live Chat
  • Download APP
  • Listing Application
  • Buy Bitcoin
  • Buy Ethereum
  • Buy Dogecoin
  • Buy Altcoins
Terms
+
  • Terms of Use
  • Privacy Policy
  • Trading Rules
  • Fee
K-Site
+
  • Twitter
  • Facebook
  • Telegram
  • YouTube
  • Instagram
  • Medium
  • Linkedin
@2012-2026 BITKAN.com