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 ARC-20 Tokens? How Do ARC-20 Tokens Work?

    What Are ARC-20 Tokens? How Do ARC-20 Tokens Work?

    ARC-20 tokens are a fungible token standard built on the Atomicals protocol, where each token is backed by at least one satoshi to ensure a minimum floor value.
    James Dean
    Jul 27, 2026
  • What Is JPYSC? How Japan’s Regulated Stablecoin Works

    What Is JPYSC? How Japan’s Regulated Stablecoin Works

    JPYSC is a digital version of the Japanese yen, engineered to maintain a 1:1 parity with the fiat currency while operating on blockchain infrastructure.
    Craig Green
    Jul 17, 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

Latest Articles

Crypto Basics

Tutorials

Currencies

Investing

  • What Are ARC-20 Tokens? How Do ARC-20 Tokens Work?

    What Are ARC-20 Tokens? How Do ARC-20 Tokens Work?

    ARC-20 tokens are a fungible token standard built on the Atomicals protocol, where each token is backed by at least one satoshi to ensure a minimum floor value.
    James Dean
    Jul 27, 2026
  • What Is the Usual Protocol? How Does Its Tokenomics Work?

    What Is the Usual Protocol? How Does Its Tokenomics Work?

    The Usual Protocol is a decentralized, permissionless banking system that issues a fiat-backed stablecoin collateralized by Real-World Assets (RWAs) such as U.S. Treasury bills.
    James Dean
    Jul 24, 2026
  • What Are AI Agent Frameworks? How Do They Power Cryptocurrency?

    What Are AI Agent Frameworks? How Do They Power Cryptocurrency?

    AI agent frameworks are software toolkits that provide the control layer, memory, and orchestration logic required for agents to reason, plan, and execute multi-step tasks independently.
    Cornell Rachel
    Jul 21, 2026
  • What Is JPYSC? How Japan’s Regulated Stablecoin Works

    What Is JPYSC? How Japan’s Regulated Stablecoin Works

    JPYSC is a digital version of the Japanese yen, engineered to maintain a 1:1 parity with the fiat currency while operating on blockchain infrastructure.
    Craig Green
    Jul 17, 2026
  • 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
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
Heima
HeimaHEI

$0.3467

+93.04%
Bless
BlessBLESS

$0.0240

+79.41%
Warden
WardenWARD

$0.004507

+47.72%
Biconomy
BiconomyBICO

$0.0301

+33.66%
DODO
DODODODO

$0.0250

+33.19%

Top Trending

View more
Unibase
UnibaseUB

$0.1325

-4.89%
Hyperliquid
HyperliquidHYPE

$56.4360

+0.75%
Tether Gold
Tether GoldXAUT

$4,247.93

+3.32%
Cardano
CardanoADA

$0.1873

-1.73%
Heima
HeimaHEI

$0.3449

+92.04%

Recently added

View more
Coherent
CoherentCOHRB

$324.350

+1.58%
AST SpaceMobile
AST SpaceMobileASTSB

$68.2300

-1.44%
ASML
ASMLASMLB

$1,673.52

-1.71%
Astera Labs
Astera LabsALABB

$318.590

-10.87%
Credo Technology
Credo TechnologyCRDOB

$224.830

-4.08%

Latest News

View more
  1. 1Wall Street Banks Cautious as Crypto Perpetual Futures Arrive
  2. 2Bitcoin Steady at $65K; Fed Decision Set to Determine Path
  3. 3Mystery Shiba Inu Rally Hits 36% Fueled by Korean Exchanges
  4. 4AI Stock Selloff Hits Wall Street; Bitcoin Holds $65K Level
  5. 5Brazil’s CVM Launches 60-Day Sprint to Tokenize Securities
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