<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?action=history&amp;feed=atom&amp;title=Thala_Labs_V1_Farming_Contract_Vulnerability</id>
	<title>Thala Labs V1 Farming Contract Vulnerability - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?action=history&amp;feed=atom&amp;title=Thala_Labs_V1_Farming_Contract_Vulnerability"/>
	<link rel="alternate" type="text/html" href="https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?title=Thala_Labs_V1_Farming_Contract_Vulnerability&amp;action=history"/>
	<updated>2026-08-28T19:50:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?title=Thala_Labs_V1_Farming_Contract_Vulnerability&amp;diff=6406&amp;oldid=prev</id>
		<title>Azoundria: Created page with &quot;{{Imported Case Study With About|source=https://www.quadrigainitiative.com/casestudy/thalalabsv1farmingcontractvulnerability.php}} {{Unattributed Sources}}  Thala Labs Logo/HomepageThala Labs forms a backbone of the Aptos blockchain, offering liquidity, staking, swapping, and a stablecoin for the ecosystem. On November 15th, 2024, the protocol was successfully attacked and drained for $25.5m USD worth of funds. The protocol managed to iden...&quot;</title>
		<link rel="alternate" type="text/html" href="https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?title=Thala_Labs_V1_Farming_Contract_Vulnerability&amp;diff=6406&amp;oldid=prev"/>
		<updated>2024-12-20T23:01:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Imported Case Study With About|source=https://www.quadrigainitiative.com/casestudy/thalalabsv1farmingcontractvulnerability.php}} {{Unattributed Sources}}  &lt;a href=&quot;/cryptocurrencyhackscamfraudwiki/index.php?title=File:Thalafinance.jpg&quot; title=&quot;File:Thalafinance.jpg&quot;&gt;thumb|Thala Labs Logo/Homepage&lt;/a&gt;Thala Labs forms a backbone of the Aptos blockchain, offering liquidity, staking, swapping, and a stablecoin for the ecosystem. On November 15th, 2024, the protocol was successfully attacked and drained for $25.5m USD worth of funds. The protocol managed to iden...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Imported Case Study With About|source=https://www.quadrigainitiative.com/casestudy/thalalabsv1farmingcontractvulnerability.php}}&lt;br /&gt;
{{Unattributed Sources}}&lt;br /&gt;
&lt;br /&gt;
[[File:Thalafinance.jpg|thumb|Thala Labs Logo/Homepage]]Thala Labs forms a backbone of the Aptos blockchain, offering liquidity, staking, swapping, and a stablecoin for the ecosystem. On November 15th, 2024, the protocol was successfully attacked and drained for $25.5m USD worth of funds. The protocol managed to identify the hackers and obtained a return of all funds except for a $300k bounty. They relaunched their application with all assets backed and will bring staking/unstaking back online following a proper security audit.&amp;lt;ref name=&amp;quot;thalalabstwitter-17036&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;thalafi-17037&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;thalafidocs-17038&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;thalalabstwitter-17039&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;halborn-17040&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;quillaudits-17041&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;cointelegraph-17042&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;ramprasadgoud34medium-17043&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;theblock-17044&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;moonshiestytwitter-17045&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;onesafe-17046&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;web3isgoinggreat-17047&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;aptoslabsexplorer-17048&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;aptoslabsexplorer-17049&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== About Thala Labs ==&lt;br /&gt;
&amp;quot;Thala Labs provides an automated market maker and a yield-bearing stablecoin for the Aptos ecosystem known as the Move Dollar (MOD), named after Aptos' programming language. The protocol has the fourth-highest total value locked (TVL) of any DeFi protocol on Aptos, according to DefiLlama data.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Thala is a suite of decentralized finance (DeFi) primitives serving as the backbone of the Aptos ecosystem. The protocol revolves around three modules: AMM, CDP, and LST.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Thala Swap is an automated market maker (AMM) that offers a range of advanced features and pool types to facilitate efficient liquidity provision and optimization. The protocol supports stable pools and weighted pools, which enables more flexible and tailored liquidity pools –– including liquidity bootstrapping pools (LBPs) to facilitate token launches. The Thala AMM unlocks composability and enables greater internal liquidity within the Thala ecosystem, providing a foundation for the growth and development of the broader Aptos and Move ecosystem.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Move Dollar (MOD) is an over-collateralized, yield-bearing stablecoin designed for the Aptos ecosystem. It is backed by a diverse basket of on-chain assets, including liquid staked derivatives, liquidity pool tokens, deposit receipt tokens, and real-world assets (RWAs). This diverse collateral base ensures that MOD remains decentralized, censorship-resistant, and capital-efficient.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Thala's Aptos (APT) liquid staking derivative follows a two-token model to enable greater yields relative to native staking. thAPT is a non-rebasing deposit receipt that is pegged to APT at a 1:1 ratio, while sthAPT is a rebasing deposit receipt that grows as validator rewards accrue over time.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== The Reality ==&lt;br /&gt;
The Thala Labs smart contract was closed source and they did not have a bug bounty program, preventing the community from constructively discovering the vulnerability.&lt;br /&gt;
&lt;br /&gt;
== What Happened ==&lt;br /&gt;
&amp;quot;The Aptos-based DeFi project Thala suffered a security breach as a result of an isolated vulnerability in the latest update to v1 farming contracts, allowing the exploiter to withdraw liquidity pool tokens totaling $25.5m.&amp;quot;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Key Event Timeline - Thala Labs V1 Farming Contract Vulnerability&lt;br /&gt;
!Date&lt;br /&gt;
!Event&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|November 15th, 2024 7:25:36 AM MST&lt;br /&gt;
|Attacker Funds Account&lt;br /&gt;
|The attacker funds their Aptos wallet in preparation for the attack.&lt;br /&gt;
|-&lt;br /&gt;
|November 15th, 2024 12:32:09 PM MST&lt;br /&gt;
|Funds Returned By Attacker&lt;br /&gt;
|The funds were returned to the Thala Labs treasury account.&lt;br /&gt;
|-&lt;br /&gt;
|November 16th, 2024 1:33:00 AM MST&lt;br /&gt;
|Thala Team Tweet&lt;br /&gt;
|Thala posted an update to Twitter/X, reporting the losses were due to a vulnerability in the latest update to their v1 farming contracts, resulting in the theft of $25.5 million in liquidity pool tokens. The team quickly paused all affected contracts, froze $9 million in MOD and $2.5 million in THL tokens, and, with law enforcement's help, identified the exploiter and negotiated a $300k bounty for the full recovery of user assets. Affected users need not take any action, and their positions will be fully restored. The Thala frontend and relevant contracts remain paused for security, but CDP and LST module positions are unaffected. An extensive codebase review and re-audit are underway, with further updates to follow.&lt;br /&gt;
|-&lt;br /&gt;
|November 16th, 2024 11:22:00 PM MST&lt;br /&gt;
|Application Is Back Live&lt;br /&gt;
|Thala Finance announces that their application is once again live, however the staking and unstaking functions will not be possible until an audit has been completed.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Technical Details ==&lt;br /&gt;
&amp;quot;The farming contract didn’t validate input values correctly, allowing the attacker to bypass standard checks.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The Thala hack was made possible by a vulnerability in a recent update to the project’s smart contract code. A missing sanity check for withdrawing staked assets — validating that the user in question actually had a stake of the requested size — could have cost the project $25.5 million and ended up with a price tag of $300,000 in bounty payments.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Total Amount Lost ==&lt;br /&gt;
&amp;quot;The hacker stole $9 million worth of MOD tokens and $2.5 million worth of Thala's native governance token, THL, which the protocol was able to freeze.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The total amount lost has been estimated at $25,500,000 USD.&lt;br /&gt;
&lt;br /&gt;
== Immediate Reactions ==&lt;br /&gt;
&amp;quot;Thala has since paused all related contracts and frozen Thala token assets ($9m MOD and $2.5m THL). With the assistance of other organizations, the team identified the exploiter and negotiated a $300k bounty for a full recovery of user assets.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Ultimate Outcome ==&lt;br /&gt;
&amp;quot;[SEAL 911] identified the white hat hacker within minutes (i.e. name, location etc.) due to obvious onchain links. Fortunately, the white hat hacker reached out themselves a little bit later and returned the funds minus a bounty themselves,&amp;quot; SEAL 911 member @pcaversaccio said. &amp;quot;It was a very easy win in that case, since no real negotiation was needed.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;While the hacked funds were fully recovered, the Thala token is still down about 35% since the incident occurred.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A bounty of $300,000 USD was paid for the discovery.&lt;br /&gt;
&lt;br /&gt;
== Total Amount Recovered ==&lt;br /&gt;
The total amount recovered has been estimated at $25,200,000 USD.&lt;br /&gt;
&lt;br /&gt;
What funds were recovered? What funds were reimbursed for those affected users?&lt;br /&gt;
&lt;br /&gt;
== Ongoing Developments ==&lt;br /&gt;
What parts of this case are still remaining to be concluded?&lt;br /&gt;
== Individual Prevention Policies ==&lt;br /&gt;
{{Prevention:Individuals:Placeholder}}&lt;br /&gt;
&lt;br /&gt;
{{Prevention:Individuals:End}}&lt;br /&gt;
&lt;br /&gt;
== Platform Prevention Policies ==&lt;br /&gt;
{{Prevention:Platforms:Placeholder}}&lt;br /&gt;
&lt;br /&gt;
{{Prevention:Platforms:End}}&lt;br /&gt;
&lt;br /&gt;
== Regulatory Prevention Policies ==&lt;br /&gt;
{{Prevention:Regulators:Placeholder}}&lt;br /&gt;
&lt;br /&gt;
{{Prevention:Regulators:End}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references&amp;gt;&amp;lt;ref name=&amp;quot;thalalabstwitter-17036&amp;quot;&amp;gt;[https://twitter.com/thalalabs/status/1857703541089120541 @thalalabs Twitter] (Accessed Dec 20, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;thalafi-17037&amp;quot;&amp;gt;[https://www.thala.fi/ Thala Labs - Decentralized. Scalable. Liquid] (Accessed Dec 20, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;thalafidocs-17038&amp;quot;&amp;gt;[https://docs.thala.fi/overview Thala Protocol | Thala] (Accessed Dec 20, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;thalalabstwitter-17039&amp;quot;&amp;gt;[https://twitter.com/ThalaLabs/status/1858033047666569391 @ThalaLabs Twitter] (Accessed Dec 20, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;halborn-17040&amp;quot;&amp;gt;[https://www.halborn.com/blog/post/explained-the-thala-hack-november-2024 Explained: The Thala Hack (November 2024)] (Accessed Dec 20, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;quillaudits-17041&amp;quot;&amp;gt;[https://www.quillaudits.com/blog/hack-analysis/thala-defi-hack-analysis Breaking Down the Thala DeFi Hack &amp;amp; Move's Decompilation Risks] (Accessed Dec 20, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;cointelegraph-17042&amp;quot;&amp;gt;[https://cointelegraph.com/news/thala-recovers-25-million-exploiter-hacker-caught https://cointelegraph.com/news/thala-recovers-25-million-exploiter-hacker-caught] (Accessed Dec 20, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;ramprasadgoud34medium-17043&amp;quot;&amp;gt;[https://medium.com/@ramprasadgoud34/thala-protocols-recovery-from-a-25m-exploit-0a06c3faf24a Thala Protocol’s Recovery from a $25M Exploit | by Ramprasad goud | Dec, 2024 | Medium] (Accessed Dec 20, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;theblock-17044&amp;quot;&amp;gt;[https://www.theblock.co/post/326937/defi-protocol-thala-recovers-25-million-following-successful-hacker-negotiation https://www.theblock.co/post/326937/defi-protocol-thala-recovers-25-million-following-successful-hacker-negotiation] (Accessed Dec 20, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;moonshiestytwitter-17045&amp;quot;&amp;gt;[https://twitter.com/moon_shiesty/status/1857886309580157260 @moon_shiesty Twitter] (Accessed Dec 20, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;onesafe-17046&amp;quot;&amp;gt;[https://www.onesafe.io/blog/thala-labs-crypto-security-breach-recovery DeFi Resilience: The Thala Labs Case Study - OneSafe Blog] (Accessed Dec 20, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;web3isgoinggreat-17047&amp;quot;&amp;gt;[https://www.web3isgoinggreat.com/?id=thala-hack Thala Labs loses, then recovers, $25.5 million] (Accessed Dec 20, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;aptoslabsexplorer-17048&amp;quot;&amp;gt;[https://explorer.aptoslabs.com/txn/e4e03b123879aa0f021c8dc40791c750f267277fbb34a58ebd8ac8e2bf51a7de Aptos Explorer] (Accessed Dec 20, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;aptoslabsexplorer-17049&amp;quot;&amp;gt;[https://explorer.aptoslabs.com/txn/1929190925 Aptos Explorer] (Accessed Dec 20, 2024)&amp;lt;/ref&amp;gt;&amp;lt;/references&amp;gt;&lt;/div&gt;</summary>
		<author><name>Azoundria</name></author>
	</entry>
</feed>