<?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=Alkimiya_SilicaPools_uint128_Truncation_Unsafe_Downcasting</id>
	<title>Alkimiya SilicaPools uint128 Truncation Unsafe Downcasting - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?action=history&amp;feed=atom&amp;title=Alkimiya_SilicaPools_uint128_Truncation_Unsafe_Downcasting"/>
	<link rel="alternate" type="text/html" href="https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?title=Alkimiya_SilicaPools_uint128_Truncation_Unsafe_Downcasting&amp;action=history"/>
	<updated>2026-07-26T10:44:10Z</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=Alkimiya_SilicaPools_uint128_Truncation_Unsafe_Downcasting&amp;diff=6881&amp;oldid=prev</id>
		<title>Azoundria: Created page with &quot;{{Imported Case Study With About|source=https://www.quadrigainitiative.com/casestudy/alkimiyasilicapoolsuint128truncationunsafedowncasting.php}} {{Unattributed Sources}}  AlkimiyaAlkimiya, a protocol for trading on real blockchain and macroeconomic metrics, was recently targeted in a sophisticated exploit due to an unsafe type cast (from uint256 to uint128) in its SilicaPools contract. The attacker used a flash loan to exploit this truncation...&quot;</title>
		<link rel="alternate" type="text/html" href="https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?title=Alkimiya_SilicaPools_uint128_Truncation_Unsafe_Downcasting&amp;diff=6881&amp;oldid=prev"/>
		<updated>2025-08-27T21:34:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Imported Case Study With About|source=https://www.quadrigainitiative.com/casestudy/alkimiyasilicapoolsuint128truncationunsafedowncasting.php}} {{Unattributed Sources}}  &lt;a href=&quot;/cryptocurrencyhackscamfraudwiki/index.php?title=File:Alkimiya.jpg&quot; title=&quot;File:Alkimiya.jpg&quot;&gt;thumb|Alkimiya&lt;/a&gt;Alkimiya, a protocol for trading on real blockchain and macroeconomic metrics, was recently targeted in a sophisticated exploit due to an unsafe type cast (from uint256 to uint128) in its SilicaPools contract. The attacker used a flash loan to exploit this truncation...&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/alkimiyasilicapoolsuint128truncationunsafedowncasting.php}}&lt;br /&gt;
{{Unattributed Sources}}&lt;br /&gt;
&lt;br /&gt;
[[File:Alkimiya.jpg|thumb|Alkimiya]]Alkimiya, a protocol for trading on real blockchain and macroeconomic metrics, was recently targeted in a sophisticated exploit due to an unsafe type cast (from uint256 to uint128) in its SilicaPools contract. The attacker used a flash loan to exploit this truncation vulnerability, allowing them to mint and manipulate share records, ultimately redeeming more than their fair share of collateral. Although 1.14 WBTC (approx. $95.5K) was briefly compromised, a whitehat intervened to frontrun the malicious transaction, successfully recovering all funds. The Alkimiya team acted quickly to contain the issue, took affected systems offline, and is continuing its investigation into the attacker’s identity while reinforcing system security. No user funds were lost.&amp;lt;ref name=&amp;quot;tenarmortweet-21011&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;etherscan1-21012&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;rotcivegaftweet-21013&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;etherscan2-21014&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;verichains-21015&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;leozayaattweet-21016&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;alkimiyatwitterx-21017&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;alkimiyahomepage-21018&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;alkimiyaintroduction-21019&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== About Alkimiya ==&lt;br /&gt;
Alkimiya is a market protocol designed to trade on fundamental blockchain and macroeconomic metrics, rather than speculation or hype. It offers users the ability to create strategies around real economic indicators like blockspace demand, on-chain revenue, stablecoin supply, and more. These metrics are public, verifiable, and aim to be predictive of broader market trends.&lt;br /&gt;
&lt;br /&gt;
At the core of Alkimiya is Forecast, its flagship product that transforms raw data into live, tradable markets. Forecast differs from typical binary prediction markets by offering continuous payoffs (more accurate predictions earn more), bounded risk (with caps and floors on outcomes), and a data-driven approach focused on measurable trends rather than volatile narratives like meme coins.&lt;br /&gt;
&lt;br /&gt;
Users can trade on metrics such as BTC transaction fees, Ethereum base revenue, and USDC supply velocity, each supported by dedicated strategy handbooks. Launched in August 2024 and backed by top investors like Coinbase Ventures and Dragonfly, Alkimiya empowers traders, builders, and funds with tools to anticipate market movements through real-world data insights.&lt;br /&gt;
&lt;br /&gt;
== The Reality ==&lt;br /&gt;
This sections is included if a case involved deception or information that was unknown at the time. Examples include:&lt;br /&gt;
&lt;br /&gt;
* When the service was actually started (if different than the &amp;quot;official story&amp;quot;).&lt;br /&gt;
* Who actually ran a service and their own personal history.&lt;br /&gt;
* How the service was structured behind the scenes. (For example, there was no &amp;quot;trading bot&amp;quot;.)&lt;br /&gt;
* Details of what audits reported and how vulnerabilities were missed during auditing.&lt;br /&gt;
&lt;br /&gt;
== What Happened ==&lt;br /&gt;
A sophisticated exploit in Alkimiya’s SilicaPools contract—caused by unsafe downcasting allowed the compromise of 1.14 WBTC.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Key Event Timeline - Alkimiya SilicaPools uint128 Truncation Unsafe Downcasting&lt;br /&gt;
!Date&lt;br /&gt;
!Event&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|March 28th, 2025 9:34:47 AM MDT&lt;br /&gt;
|Attack Transaction Occurs&lt;br /&gt;
|The attack transaction is accepted by the Ethereum blockchain.&lt;br /&gt;
|-&lt;br /&gt;
|March 30th, 2025 9:42:00 AM MDT&lt;br /&gt;
|TenArmor Tweet Posted&lt;br /&gt;
|TenArmor posts a tweet with an analysis of the incident.&lt;br /&gt;
|-&lt;br /&gt;
|March 31st, 2025 1:08:00 AM MDT&lt;br /&gt;
|Leozayaat Tweet Posted&lt;br /&gt;
|Leozayaat, the founder of the project, posts an update with the outcome of the funds being returend.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Technical Details ==&lt;br /&gt;
The root cause of the exploit in the SilicaPools contract lies in the unsafe downcasting of the shares variable from uint256 to uint128 within the collateralizedMint function. The attacker exploited this truncation vulnerability by minting a massive number of shares—specifically, 2^128 + 1. While the full 256-bit value was accepted by the function, the internal logic only stored the lower 128 bits, effectively recording just 1 share instead of the full amount.&lt;br /&gt;
&lt;br /&gt;
The attacker orchestrated the exploit using a flash loan of 10 WBTC, and then minted the large share amount by supplying around 1.7 WBTC as collateral. The system processed the full value of shares for minting, but due to the cast to uint128, only 1 share was officially recorded in the contract's state. After this, the attacker cleverly transferred most of the minted shares (2^128 - 1) away, leaving behind just 2 shares.&lt;br /&gt;
&lt;br /&gt;
Later, the attacker called the redeemShort() function. This function checked the internal state, which believed only 1 share had been minted (due to the cast error), but saw that the attacker held 2 shares. Believing the attacker had over 100% of the supply, the contract allowed them to redeem the full value of the short position—about 3.4 WBTC, which was double the initial collateral.&lt;br /&gt;
&lt;br /&gt;
Attacker address: 0xF6ffBa5cbF285824000daC0B9431032169672B6e&lt;br /&gt;
&lt;br /&gt;
Attacker’s contract: 0x80bf7db69556d9521c03461978b8fc731dbbd4e4&lt;br /&gt;
&lt;br /&gt;
Attack transaction: 0x9b9a6dd05526a8a4b40e5e1a74a25df6ecccae6ee7bf045911ad89a1dd3f0814&lt;br /&gt;
&lt;br /&gt;
Vulnerable contract: 0xf3f84ce038442ae4c4dcb6a8ca8bacd7f28c9bde&lt;br /&gt;
&lt;br /&gt;
== Total Amount Lost ==&lt;br /&gt;
TenArmor has estimated the amount lost at $95.5k USD.&lt;br /&gt;
&lt;br /&gt;
The total amount lost has been estimated at $100,000 USD.&lt;br /&gt;
&lt;br /&gt;
== Immediate Reactions ==&lt;br /&gt;
Upon detecting the exploit, the Alkimiya team acted swiftly by taking the affected systems offline, limiting the compromise to 1.14 WBTC. A known whitehat intervened to frontrun the malicious transaction, ensuring that all funds were ultimately recovered. The team expressed gratitude to @_SEAL_Org for their assistance, reaffirmed their commitment to decentralization and open-source development, and emphasized their determination to strengthen security while continuing to build an open financial system.&lt;br /&gt;
&lt;br /&gt;
== Ultimate Outcome ==&lt;br /&gt;
All compromised funds were recovered and no user funds were lost. Although 1.14 WBTC was initially compromised, a whitehat hacker successfully frontran the malicious transaction, returning the funds. The Alkimiya team contained the threat quickly, took affected systems offline, and reinforced their commitment to security and decentralization going forward.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;This weekend Alkimiya was attacked by as of yet unknown hacker. Don't worry, all funds are safe.&lt;br /&gt;
&lt;br /&gt;
This was a sophisticated exploit which necessitated intimate knowledge of our stack. It is obvious that whoever is responsible spent considerable time studying our systems. We quickly took the relevant parts of the system offline, and only 1.14 WBTC was compromised before further damage. Fortunately, a known whitehat frontran the malicious transaction. We are glad to say all funds have been returned. &lt;br /&gt;
&lt;br /&gt;
We also want to give our most sincere and heartfelt thanks to @_SEAL_Org for springing to our aid and all the info they have been able to provide.&lt;br /&gt;
&lt;br /&gt;
We always knew there are risks to decentralization and open source development. We will not be abandoning our core principles. Instead, we will work hard to ensure our systems are secure, continue to work with others in the space to share ideas and best practices, and above all we will double down on building the new and open financial system.&lt;br /&gt;
&lt;br /&gt;
There are a lot of bad actors in this space, but as a result of this experience we are even more convinced that there are more good ones than bad ones, and that together we win.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Total Amount Recovered ==&lt;br /&gt;
All compromised funds were recovered and no user funds were lost. Although 1.14 WBTC was initially compromised, a whitehat hacker successfully frontran the malicious transaction, returning the funds.&lt;br /&gt;
&lt;br /&gt;
The total amount recovered has been estimated at $100,000 USD.&lt;br /&gt;
&lt;br /&gt;
== Ongoing Developments ==&lt;br /&gt;
There remains an investigation into the identity of the attacker. The hacker remains unknown, and it’s clear they had intimate knowledge of Alkimiya’s system, suggesting a deeper breach of understanding or possible insider knowledge.&lt;br /&gt;
&lt;br /&gt;
Root cause analysis, attacker identification, and long-term security hardening are still in progress.&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;tenarmortweet-21011&amp;quot;&amp;gt;[https://twitter.com/TenArmorAlert/status/1906371419807568119 TenArmor - &amp;quot;Yesterday's attack involving #Alkimiya @alkimiya_io on #ETH resulted in an approximate loss of $95.5K.&amp;quot; - Twitter/X] (Accessed Aug 13, 2025)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;etherscan1-21012&amp;quot;&amp;gt;[https://etherscan.io/tx/0x9b9a6dd05526a8a4b40e5e1a74a25df6ecccae6ee7bf045911ad89a1dd3f0814 Yoinked Attack Transaction - Etherscan] (Accessed Aug 13, 2025)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;rotcivegaftweet-21013&amp;quot;&amp;gt;[https://twitter.com/rotcivegaf/status/1906574894013288747 Rotciv - &amp;quot;Origin attacker TX(reverted)&amp;quot; - Twitter/X] (Accessed Aug 13, 2025)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;etherscan2-21014&amp;quot;&amp;gt;[https://etherscan.io/tx/0xc8875004a36cb97a40b9d9c8d1a56cf0d6042aec5eb330d17de7d70c8e13d7b4 Original Attack Transaction - Etherscan] (Accessed Aug 13, 2025)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;verichains-21015&amp;quot;&amp;gt;[https://blog.verichains.io/p/alkimiya-hack-analysis Alkimiya Hack Analysis - VeriChains Blog] (Accessed Aug 13, 2025)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;leozayaattweet-21016&amp;quot;&amp;gt;[https://twitter.com/Leozayaat/status/1906604421804589556 Leozayaat - &amp;quot;This weekend Alkimiya was attacked by as of yet unknown hacker. Don't worry, all funds are safe.&amp;quot; - Twitter/X] (Accessed Aug 13, 2025)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;alkimiyatwitterx-21017&amp;quot;&amp;gt;[https://twitter.com/alkimiya_io Alkimiya Twitter/X Account] (Accessed Aug 13, 2025)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;alkimiyahomepage-21018&amp;quot;&amp;gt;[https://alkimiya.io/ Alkimiya Homepage] (Accessed Aug 13, 2025)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;alkimiyaintroduction-21019&amp;quot;&amp;gt;[https://docs.alkimiya.io/docs/getting-started Introduction to Alkimiya - Alkimiya Documentation] (Accessed Aug 13, 2025)&amp;lt;/ref&amp;gt;&amp;lt;/references&amp;gt;&lt;/div&gt;</summary>
		<author><name>Azoundria</name></author>
	</entry>
</feed>