<?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 Warden Invoker on Medium]]></title>
        <description><![CDATA[Stories by Warden Invoker on Medium]]></description>
        <link>https://medium.com/@warden.invoker?source=rss-d0dc7aaaac44------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Gi0wVKQMwvpe4fpyxt1TKA.jpeg</url>
            <title>Stories by Warden Invoker on Medium</title>
            <link>https://medium.com/@warden.invoker?source=rss-d0dc7aaaac44------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 06:49:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@warden.invoker/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[WardenSwap Aegis and Aegis L2 Completely Audited by Valix Consulting ]]></title>
            <link>https://medium.com/wardenofficial/wardenswap-aegis-and-aegis-l2-completely-audited-by-valix-consulting-2a0e6d9732d7?source=rss-d0dc7aaaac44------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a0e6d9732d7</guid>
            <category><![CDATA[bestrate]]></category>
            <category><![CDATA[valix-consulting]]></category>
            <category><![CDATA[audit]]></category>
            <category><![CDATA[english]]></category>
            <category><![CDATA[wardenswap]]></category>
            <dc:creator><![CDATA[Warden Invoker]]></dc:creator>
            <pubDate>Fri, 08 Oct 2021 07:54:48 GMT</pubDate>
            <atom:updated>2021-12-24T12:03:33.636Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ouNE2wPhCwalXLAqpGreXA.png" /></figure><p><strong>Lately, we have implemented WardenSwap v1.5 called Aegis. Aegis is the first on-chain machine learning technology that automatically finds the best rate swaps for users.</strong> However, the work is not yet done. One of the must-improve is to lower gas use while swapping. And, that was the way the Aegis L2 was born.</p><p><strong>Aegis L2 is the extended version of Aegis focusing on optimizing gas use for the Ethereum Layer 2, for example, Arbitrum and Optimism.</strong> We have achieved both the best rate swap and the best gas usage.</p><p>Nonetheless, the security of our users’ assets is another paramount. In this article, we are delighted to announce that we have already reached that milestone. <strong>Our smart contracts have been officially audited and verified by Valix Consulting 🚀.</strong> Here you can find the <a href="https://github.com/valixconsulting/audit-reports/blob/main/ValixConsulting-Audit-Report-WardenFinance-Aegis-and-AegisL2-v1.0.pdf">audit report</a> 📝.</p><h3>What is Valix Consulting?</h3><p><a href="https://twitter.com/ValixConsulting">Valix Consulting</a> is a blockchain and smart contract security company offering a wide range of cybersecurity consulting services. Valix has experienced security experts who have both technical expertise and DeFi industry knowledge 🕵🏻‍♂️. You can find their security expertise by checking out <a href="https://medium.com/valixconsulting">Valix’s medium</a>.</p><p>With the expertise of Valix Consulting, we have chosen the Valix auditing service to assess the security of our smart contracts, <em>Aegis and Aegis L2</em>. We have collaborated closely with Valix’s security experts to secure our platform and users’ assets.</p><h3>The Highlights of the Audit Report 📝</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A_GNEhStY21Dl4TroTmIXQ.png" /><figcaption>Figure 1. Only low and informational issues were found</figcaption></figure><p><strong>Valix Consulting has found no critical, high, or medium issue on Aegis and Aegis L2 💪. </strong>Only nine low and ten informational issues have been found. We already remediate thirteen issues and acknowledged six issues according to Valix experts’ recommendations.</p><p>The following points out the highlights of the report.</p><ul><li><strong>Potential Stealing of Leftover Ether and WETH</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g38kpo1xX3RS0ELtY6h1Yw.png" /><figcaption>Figure 2. Potential stealing of leftover Ether and WETH issue</figcaption></figure><p><strong>Risk:</strong> Low</p><p><strong>Issue Status:</strong> Fixed</p><p><strong>Description:</strong> The leftover Ether or WETH locked in the Aegis or Aegis L2 contract can be stolen if a rogue contract is assigned to the state variable <em>weth</em>.</p><p><strong>Recommendation:</strong> Updating the affected functions to verify that the Ether or WETH is still in the balance after the Ether wrapping or unwrapping process.</p><ul><li><strong>Potential Lock of Ether</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SBBD9chyhW2da8OfLgT_Jg.png" /><figcaption>Figure 3. Potential lock of ether issue</figcaption></figure><p><strong>Risk:</strong> Low</p><p><strong>Issue Status:</strong> Fixed</p><p><strong>Description: </strong>The <em>receive</em> function can receive Ethers from the EOA (Externally Owned Account) wallet, resulting in the lock of Ethers by mistake.</p><p><strong>Recommendation: </strong>Enforcing receiving only the Ethers from the WETH contract.</p><ul><li><strong>The Split Volume May Be Inconsistent With The Actual Amount</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RF4cYb-a8FC-gXpvKQAfXA.png" /><figcaption>Figure 4. The split volume may be inconsistent with the actual amount issue</figcaption></figure><p><strong>Risk:</strong> Low</p><p><strong>Issue Status:</strong> Fixed</p><p><strong>Description: </strong>The affected functions do not check the sum of percentage volumes which may lead to an accounting issue when the percentage of split volumes and the actual token amount are unmatched.</p><p><strong>Recommendation: </strong>The <em>amountForThisRound</em> variable should be calculated to be consistent with each split percentage from the <em>_volumes</em> variable.</p><h3>Summary ✨</h3><p>To summarize, <strong>WardenSwap’s Aegis and Aegis L2 features have thoroughly been audited by Valix Consulting</strong>. Users can ensure that our smart contracts are secured for swapping tokens. Nevertheless, the Warden team will not stop improving our platform for better security.</p><blockquote><em>We would like to thank Valix Consulting for working hard to improve the security of the WardenSwap platform. Moreover, we would like to appreciate our Wardeners for trusting in and supporting our team and platform 🙆‍♂️. And, we will work tirelessly to improve WardenSwap in order to make it be the safer platform.</em></blockquote><p>Enjoy the best rate swapping 🎉</p><p><strong>Receive updates and follow us at:<br></strong><a href="https://www.wardenswap.finance/"><strong>Website</strong></a><strong> | </strong><a href="https://twitter.com/WardenSwap"><strong>Twitter</strong></a><strong> | </strong><a href="https://t.me/wardenfi"><strong>Telegram</strong></a><strong> | </strong><a href="http://discord.gg/NdBymRxmxa"><strong>Discord</strong></a><strong> | </strong><a href="https://docs.wardenswap.finance/"><strong>Docs</strong></a><strong>| </strong><a href="https://medium.com/wardenofficial"><strong>Medium</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a0e6d9732d7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/wardenofficial/wardenswap-aegis-and-aegis-l2-completely-audited-by-valix-consulting-2a0e6d9732d7">WardenSwap Aegis and Aegis L2 Completely Audited by Valix Consulting 🚀</a> was originally published in <a href="https://medium.com/wardenofficial">WARDEN Official</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WardenSwap Completely Audited by CertiK ]]></title>
            <link>https://medium.com/wardenofficial/wardenswap-completely-audited-by-certik-d5624fa4df2?source=rss-d0dc7aaaac44------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5624fa4df2</guid>
            <category><![CDATA[warden]]></category>
            <category><![CDATA[certik]]></category>
            <category><![CDATA[bestrate]]></category>
            <category><![CDATA[audit]]></category>
            <category><![CDATA[english]]></category>
            <dc:creator><![CDATA[Warden Invoker]]></dc:creator>
            <pubDate>Sun, 09 May 2021 15:38:33 GMT</pubDate>
            <atom:updated>2021-12-24T12:09:49.289Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ui8Qch4GBkvnIHzJcnC7mQ.jpeg" /></figure><p>As we always say that the security of users’ assets is our top priority. And now <strong>we are glad to announce that our smart contracts have thoroughly been audited </strong>🚀 <strong>by CertiK</strong>, one of the best security auditors in class. You can find the audit reports here: <a href="https://github.com/Wardenswap/warden-farm/blob/main/audits/WardenSwap-Farm-Audit.pdf">WardenSwap Farm</a> and <a href="https://github.com/Wardenswap/warden-protocol/blob/main/audits/WardenSwap-Protocal-Audit.pdf">WardenSwap Protocol</a>.</p><h3>What is CertiK?</h3><p><a href="https://www.certik.org/">CertiK</a> is a blockchain security auditing company that offers security assessments utilizing best-in-class technologies conducted by experienced security experts 🕵🏻‍♂️. CertiK has secured several DeFi projects such as PancakeSwap, Binance WBNB, BakerySwap, and SafePal. Furthermore, CertiK has also secured many leading exchanges, including Binance, Huobi, OKEx, Coinone, and KuCoin.</p><p>With the expertise of CertiK, we have chosen the CertiK auditing service to assess the security of our smart contracts. We have collaborated closely with CertiK’s security experts to ensure that our platform and users’ assets will be secured.</p><h3>The Highlights of the Audit Reports</h3><p><strong>CertiK has found no critical issue on WardenSwap’s source codes </strong>💪<strong>.</strong> Only one major and two medium issues have been found, and we already remediated those issues according to CertiK experts’ recommendation.</p><p>The following points out the highlights of the reports.</p><ul><li><strong>MCF-01: Ambiguous Functionality</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EvpzOS4nu47qw8iGym89JA.png" /><figcaption>Figure 1. A major issue on WardenSwap Farm</figcaption></figure><p><strong>This is the only major issue of our source code, and we already handled this issue. Therefore, the users can be assured that your funds on WardenSwap’s Farm are secured.</strong></p><p><strong>Severity:</strong> Major</p><p><strong>Issue Status:</strong> Resolved</p><p><strong>Description:</strong> The emergencyWithdraw() function should not allow withdrawing from the first pool, as it will not burn the Tempest tokens.</p><p><strong>Recommendation:</strong> CertiK’s experts advise adding a <em>require</em> statement, ensuring that a user cannot withdraw from the first pool via the linked function.</p><ul><li><strong>CSR-01M: Potential Underflow</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gCi706pmGP0e5uOyJDu_4g.png" /><figcaption>Figure 2. A medium issue #1 on WardenSwap Protocol</figcaption></figure><p><strong>Severity:</strong> Medium</p><p><strong>Issue Status:</strong> Resolved</p><p><strong>Description:</strong> The linked statement can lead to an integer underflow.</p><p><strong>Recommendation:</strong> CertiK’s experts advise using the SafeMath library for the linked arithmetic operation.</p><ul><li><strong>WCR-01M: Potential Underflow</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hMSO_Qx07sSM7JYsIiOJPg.png" /><figcaption>Figure 3. A medium issue #2 on WardenSwap Protocol</figcaption></figure><p><strong>Severity:</strong> Medium</p><p><strong>Issue Status:</strong> Resolved</p><p><strong>Description:</strong> The linked statement can lead to an integer underflow.</p><p><strong>Recommendation:</strong> CertiK’s experts advise using the SafeMath library for the linked arithmetic operation.</p><h3>Summary</h3><p>To summarize<strong>, the WardenSwap platform has thoroughly been audited by CertiK.</strong> Users can ensure that our smart contracts holding your assets are secured. Nevertheless, the Warden team will not stop improving our platform for better security. Besides,<strong> we will launch bug bounty programs to raise the security of our platform.</strong></p><blockquote>We would like to thank CertiK for working hard to improve the security of the WardenSwap platform <em>🙏</em>. Moreover, we would like to appreciate our Wardeners for trusting in and supporting our team and platform <em>🙆‍♂️</em>. And we will work tirelessly to improve WardenSwap in order to make it be the safer platform.</blockquote><p>Enjoy swapping &amp; farming 👨‍🌾.</p><p><strong>Receive updates and follow us at:<br></strong><a href="https://www.wardenswap.finance/"><strong>Website</strong></a><strong> | </strong><a href="https://twitter.com/WardenSwap"><strong>Twitter</strong></a><strong> | </strong><a href="https://t.me/wardenfi"><strong>Telegram</strong></a><strong> | </strong><a href="http://discord.gg/NdBymRxmxa"><strong>Discord</strong></a><strong> | </strong><a href="https://docs.wardenswap.finance/"><strong>Docs</strong></a><strong>| </strong><a href="https://medium.com/wardenofficial"><strong>Medium</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5624fa4df2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/wardenofficial/wardenswap-completely-audited-by-certik-d5624fa4df2">WardenSwap Completely Audited by CertiK 🚀</a> was originally published in <a href="https://medium.com/wardenofficial">WARDEN Official</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WardenSwap Incident Report]]></title>
            <link>https://medium.com/wardenofficial/wardenswap-incident-report-933a94a91644?source=rss-d0dc7aaaac44------2</link>
            <guid isPermaLink="false">https://medium.com/p/933a94a91644</guid>
            <category><![CDATA[report]]></category>
            <category><![CDATA[english]]></category>
            <category><![CDATA[incident]]></category>
            <dc:creator><![CDATA[Warden Invoker]]></dc:creator>
            <pubDate>Tue, 13 Apr 2021 20:13:17 GMT</pubDate>
            <atom:updated>2021-12-24T12:11:30.295Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XcbM6zf3_xkM60rsPUWAKw.png" /></figure><p><em>This is the statement regarding the incident that happened on Apr-11–2021 04:46:22 AM +UTC. Explore the transaction </em><a href="https://bscscan.com/tx/0x1d344e57c8ca6c79ee5c19f0a4328e8419b00c14d818cb8e5bc66edd4c9600b3"><em>right here</em></a><em>.</em></p><h3>What happened?</h3><p><strong>Incident:</strong> the user reported that he has lost his own $22,797 while trading on our platform</p><p><strong>Source Token Amount:</strong> 335,537,240.395908306383453246 BIDR ($22,797)</p><p><strong>Received Token Amount:</strong> 0.000159951208588656 LINK ($0.01)</p><h3>Incident explanation</h3><p>The user swapped 335,537,240.395908306383453246 BIDR ($22,797) via our platform and received 0.000159951208588656 LINK ($0.01). After two days of investigation, <strong><em>we found that the incident was caused by one of the input component’s features of our web front-end.</em></strong></p><p>Therefore, <strong><em>we have contacted the user and we will fully compensate for his lost fund in WAD tokens.</em></strong> Furthermore, we would temporarily disable the input feature that caused the incident for improvement.</p><p><strong><em>We guarantee that our best rate query engine and our swap smart contract still function properly. This incident was caused by the input feature in question.</em></strong></p><h3>Full analysis</h3><p>Upon receiving the contact from the user, we started to investigate this incident. We inspected <a href="https://bscscan.com/tx/0x1d344e57c8ca6c79ee5c19f0a4328e8419b00c14d818cb8e5bc66edd4c9600b3">the transaction</a> and found that our swap smart contract routed the user’s fund to the following two low liquidity pools.</p><ul><li><strong>Route #1: </strong>submitting 33,553,724.039590836 BIDR to WBNB-BIDR PancakeSwap LP (route no. 5) and received 0.000001385898748001 WBNB</li><li><strong>Route #2: </strong>submitting 301,983,516.356317475745107921 BIDR to BUSD-BIDR WardenSwap LP (route no. 18)<strong> </strong>and received 0.004542056204155503 BUSD</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pdwu2UEpr8_nSdwHnC1thA.png" /><figcaption>Figure 1. A snippet of our splitTwoRoutes function</figcaption></figure><p>Figure 1 shows a snippet of our splitTwoRoutes function. This function takes source token address, destination token address, source amount, an array of route numbers, and percent step as inputs. Technically, <strong><em>the function would split the user’s source tokens into two routes, per the inputted route numbers, to swap the source tokens to the destination tokens.</em></strong></p><p>From our investigation, <strong><em>the splitTwoRoutes function performed according to the inputted parameters perfectly.</em></strong> In fact, we design this function using a failsafe pattern. The function will always perform an atomic transaction according to the inputted parameters and cannot be partially failed. Hence, we can confirm that our swap smart contract executed the transaction correctly.</p><p>Since then, we found a clue that <strong><em>the inputted parameters were incorrect</em></strong>. <strong><em>We then started to examine our best rate query engine and our web front-end.</em></strong> To achieve this, we had to synchronize a full archive BSC node and simulate the incident by replaying the transaction.</p><p>Finally, <strong><em>we found that our best rate query engine functioned correctly </em></strong>💪 <strong><em>and we can conclude that the incident was caused by one of the input component’s features of our web front-end.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yvv5UcR0nP_U_M5BlSxQ2A.png" /><figcaption>Figure 2. The web front-end simulation of the incident</figcaption></figure><p>After the simulation of the incident, we can successfully reproduce the screenshot similar to the one reported by the user as shown in Figure 2. <strong><em>The root cause of this incident is the 2nd input component (i.e., the receive input text box). Now, we temporarily disable this feature for improvement.</em></strong></p><h3>Our compensation to the user</h3><p>After the investigation, we can reproduce the incident and found that the evidence reported by the user is true. <strong><em>We have contacted the user and we will fully compensate for his lost fund in WAD tokens. </em></strong>Other than that,<strong><em> we deeply apologize to the user for our long investigation and our rejection of the report at the early stage.</em></strong> 🙇</p><h3>What’s next?</h3><p>To ensure the users who are using our platform, we always strive to improve our platform for better user benefits 🤝. We are preparing for bug bounty programs to make sure that our platform will continue to enhance its security as well as its best price offering.</p><p><strong>Receive updates and follow us at:<br></strong><a href="https://www.wardenswap.finance/"><strong>Website</strong></a><strong> | </strong><a href="https://twitter.com/WardenSwap"><strong>Twitter</strong></a><strong> | </strong><a href="https://t.me/wardenfi"><strong>Telegram</strong></a><strong> | </strong><a href="http://discord.gg/NdBymRxmxa"><strong>Discord</strong></a><strong> | </strong><a href="https://docs.wardenswap.finance/"><strong>Docs</strong></a><strong>| </strong><a href="https://medium.com/wardenofficial"><strong>Medium</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=933a94a91644" width="1" height="1" alt=""><hr><p><a href="https://medium.com/wardenofficial/wardenswap-incident-report-933a94a91644">WardenSwap Incident Report</a> was originally published in <a href="https://medium.com/wardenofficial">WARDEN Official</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>