<?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 Roman Ischenko on Medium]]></title>
        <description><![CDATA[Stories by Roman Ischenko on Medium]]></description>
        <link>https://medium.com/@roman.ischenko?source=rss-cc5c994c97ee------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*WNrG4UYUCDMeSakHENdVFg.jpeg</url>
            <title>Stories by Roman Ischenko on Medium</title>
            <link>https://medium.com/@roman.ischenko?source=rss-cc5c994c97ee------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 06:31:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@roman.ischenko/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[The CVE-2018–10299 Vulnerability]]></title>
            <link>https://medium.com/karmared/the-cve-2018-10299-vulnerability-aa271ec0f16f?source=rss-cc5c994c97ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa271ec0f16f</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[ico]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Roman Ischenko]]></dc:creator>
            <pubDate>Sat, 28 Apr 2018 13:06:31 GMT</pubDate>
            <atom:updated>2018-04-28T13:16:28.612Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*eWL2Xu55NfkbehutlwvrpQ.png" /></figure><p>For the last few days, the crypto community has been discussing a new vulnerability in the <strong>Smart Contracts </strong>of tokens based on the <strong>ERC-20 </strong>standard. We have also studied this case with great interest.</p><h4>This is not an ERC-20 vulnerability</h4><p>This error is often called a vulnerability in the <strong>ERC-20</strong> standard. This is not the case, and the batch processing block in which the error was detected is not part of the <strong>ERC-20</strong>. In the examples mentioned in the articles, the batchTransfer is described as an additional functionality designed to transfer the same number of tokens to multiple recipients (for example, in the case of airdrops).</p><h4>“Production” of Errors</h4><p>As it usually happens, the error is obvious if you know where to look. In this case, it is even a case of several errors.</p><p><strong>The first </strong>of them is ignoring the already established de facto <strong>Safe Math </strong>library in critical cases (no one will argue that balancing verification is a very critical case). In particular, if instead of simple multiplication a function like the one below would be used:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/473/0*5pyXY8yGcclW_Crc." /></figure><p>In this case, the vulnerability would not have occurred.</p><p><strong>The second </strong>error is the absence of restrictions on evoking such packet transfers. Obviously, such a scenario is rarely required and most often should be used by a limited number of users (such as contract owners or founders).</p><p><strong>The third </strong>common mistake is the thoughtless replication of written code without critical revision. This is what usually makes such vulnerabilities so widespread.</p><p>Cheers</p><p>^_^</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa271ec0f16f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/karmared/the-cve-2018-10299-vulnerability-aa271ec0f16f">The CVE-2018–10299 Vulnerability</a> was originally published in <a href="https://medium.com/karmared">KarmaRed</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>