<?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[Blockd - Medium]]></title>
        <description><![CDATA[The home of active blockchain security - Medium]]></description>
        <link>https://medium.com/blockd?source=rss----96e5f5387ade---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Blockd - Medium</title>
            <link>https://medium.com/blockd?source=rss----96e5f5387ade---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 21:02:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/blockd" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Blockd Build: Active Smart Contract Security]]></title>
            <link>https://medium.com/blockd/blockd-build-active-smart-contract-security-3598170ad3a2?source=rss----96e5f5387ade---4</link>
            <guid isPermaLink="false">https://medium.com/p/3598170ad3a2</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Robert M.C. Forster]]></dc:creator>
            <pubDate>Fri, 24 Apr 2020 22:45:17 GMT</pubDate>
            <atom:updated>2020-04-24T22:43:30.986Z</atom:updated>
            <content:encoded><![CDATA[<p>Blockd Build is Blockd’s active smart contract security.</p><p>With Build, we use the Blockd Protocol to frontrun pending hacks before they do any damage to a smart contract. To do this we store a “kill switch” transaction that is pre-signed by the owner of a contract (in our demo’s case, a temporary pause), then we customize a Blockd defense for each company’s smart contracts.</p><p>This defense checks for malicious activity in any vector that may be at risk, such as a reserve balance being lowered by a substantial amount or the owner of the contract changing without a legitimate call, then intervenes in any hacks that may happen — all without ever knowing there was a vulnerability and without any special privileges over the contract.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FXa028rxWa-8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DXa028rxWa-8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FXa028rxWa-8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/bf801d315b084a472c526fbcd52b0295/href">https://medium.com/media/bf801d315b084a472c526fbcd52b0295/href</a></iframe><blockquote>This trigger actually protects not only against a possible bug in the smart contract but also malicious Oraclize activity.</blockquote><p>To go through aspects of Blockd Build, we’ll be talking about a very vulnerable demonstration contract system we’ve created. This Blockd Build defense is made to demonstrate protection on smart contract systems (such as a large amount of multisig wallets) in addition to individual contracts. There are many vulnerable contracts and, no matter which a hack may occur on, the entire contract system can be paused by calling a central contract.</p><p>These contracts are very vulnerable: they have a transferOwner function that does not require an owner to call it, a withdraw function that does not check whether a user has the balance to withdraw, and an Oraclize callback that does not check whether Oraclize is calling. These contracts are in a similar form to a smart contract wallet system where they are all identical, but they can all be paused at once through a central contract.</p><p>This contract has no reason to ever be interacted with by another contract, so our first trigger will be an alert if any other contract calls our demonstration contract. This alert will not enact a pause as it is not surely going to do damage, but it will tell developers there are likely malicious actors looking into their contract.</p><p>The second trigger will be for owner transfers. With this, we trace the pending transaction and check if the owner is going to be changed. If it is, we check whether the transaction was sent by the current owner of the contract. If not, we immediately pause the contract because this is a sure sign of a hack. Remember, this may not work for every contract that has an owner as — in the case of smart contract wallets, for example — the owner may sign a transaction that is then sent by an intermediary. Each Build system is customized for the specific needs of each smart contract.</p><p>The third trigger will be for withdrawals. Here we use the pending transaction trace to check if Ether is going to be withdrawn from the contract and, if so, check if the user’s balance would allow that. If more is going to be withdrawn than should be allowed, Blockd Build immediately pauses the contract before the transaction can get through.</p><p>The fourth and last trigger for this small demo looks at Oraclize callbacks. This trigger actually protects not only against a possible bug in the smart contract but also malicious Oraclize activity. For this, we check the transaction input if the Oraclize callback is being called, then we call the API that Oraclize should have gotten information from. If these values differ, we immediately send the stored pause transaction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*x9CEWUFjipz98nGtWR98Mg.png" /><figcaption>Hack detected, no money lost.</figcaption></figure><blockquote>…every contract is different</blockquote><p>These triggers are just a few examples of what we can protect against using Blockd Build. They were chosen to be a set of very clear, basic vulnerabilities that cover a good amount of ground. More specific triggers such as alerts when a contract calls within its constructor, alerts if a large number of calls take place in a block, shutdown if a transaction with more gas than should ever be used on your contract takes place, and many more are all possible and each Blockd Build defense will cover as wide of a variety of hacks that could affect the protected contract as possible.</p><p>In addition to this, the “kill switch” functionality — in the demo’s case a pause function — can be changed for each contract system. A pause may work for some, but, again, every contract is different and one may be able to withdraw all funds from a contract while another may not be able to do more than send a full set of alerts to draw attention to it as soon as possible.</p><blockquote>…active smart contract security is an absolute necessity</blockquote><p>As demonstrated by the recent DeFi hacks, this system is crucial for the Ethereum ecosystem: no matter how carefully vetted your contracts are, they are always at risk — and when your contracts are at risk, your company often is as well. At Blockd, we’re working on making Ethereum and the blockchain ecosystem as safe as possible, and, to do this, active smart contract security is an absolute necessity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OFZkxyMR_4BCn4MAqjrhfg.png" /></figure><p>Visit <a href="https://blockd.co/">https://blockd.co</a> for more information on Blockd Build, our other product, Blockd Basic, and more details on each. If you would like to talk about getting protected by Blockd Build, send us an e-mail at Contact@blockd.co.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3598170ad3a2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blockd/blockd-build-active-smart-contract-security-3598170ad3a2">Blockd Build: Active Smart Contract Security</a> was originally published in <a href="https://medium.com/blockd">Blockd</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blockd.co: How to Get Protected]]></title>
            <link>https://medium.com/blockd/blockd-co-how-to-get-protected-bf08434cb62d?source=rss----96e5f5387ade---4</link>
            <guid isPermaLink="false">https://medium.com/p/bf08434cb62d</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Robert M.C. Forster]]></dc:creator>
            <pubDate>Sat, 19 Oct 2019 21:50:01 GMT</pubDate>
            <atom:updated>2019-11-10T21:58:36.535Z</atom:updated>
            <content:encoded><![CDATA[<p>This is going to be a quick how-to on setting up blockers on your Blockd account. For more detailed information on what Blockd is and how it works, please visit this <a href="https://medium.com/blockd/blockd-co-an-introduction-9f6f0bc99743">introduction article</a> or this <a href="https://medium.com/blockd/blockd-co-in-depth-under-the-hood-and-into-the-future-c142d6d54777">details article</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FWVlLWYMIbgY%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DWVlLWYMIbgY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FWVlLWYMIbgY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d0ab9c0f414c14a69847c6aaa0e68dc4/href">https://medium.com/media/d0ab9c0f414c14a69847c6aaa0e68dc4/href</a></iframe><p>First, go to your dashboard. Here you’ll see your active blockers (of course, none at the moment) and a button to create new blockers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8ZbqFcPhWjp79s54rSNl0w.png" /></figure><p>Click the “Create a New Blocker” button and we’ll be redirected to this page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jZYM7GOxsK6ASWtFbPV9dw.png" /></figure><p>Here you’ll access your wallet. This functions in the exact same way we’re all used to with MyEtherWallet. You can use a keystore, hardware wallet, or private key. All of this functions on client-side JS so Blockd<strong> never </strong>has access to your private keys. After signing into your wallet, you will see this page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G5CNR2_QM6b6k47y1bH0DA.png" /></figure><p>Here is where the fun begins! We’ll be creating transactions here that send our entire balance to our backup address. Gas price is important because Blockd relies on being able to beat the scammer to confirmation so, to do that, we must have a high gas price saved that will likely beat any normal transaction. We have recommendations on gas price but wanted the user to be able to customize this themselves.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*DU8ARkiNxYAM1jl0zOJeJw.png" /></figure><p>I’ve now entered my backup address and a gas price of 100 (gwei). Each gas price is one transaction and, if you’re using a hardware wallet, you will have to sign a separate transaction for each gas price. Although you’re signing multiple transactions, only one can ever make it to the blockchain because they all have the same unique identifier (nonce).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*L35aVgLOjZKtLRMd7hdEBA.png" /></figure><p>I’ve added two more transactions here to be extra careful in case the scammers send with a high gas price. Blockd will use the cheapest gas price possible while still being higher than the scammers so it can beat their transaction to confirmation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZjTCVICAvx4_luY8IOuLGg.png" /></figure><p>After clicking sign, you’re protected! On hardware wallets this will require confirmation on your device of the transactions being signed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4HdQF3kymIamFJYbUSYafA.png" /></figure><p>And here we’re back at the dashboard and can now see the active blockers we have. Lastly, if you click “Temporary Bypass” on the navigation bar, you’ll be brought to this page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cubBT5Hon1QjmvY3nakeVg.png" /></figure><p>Whitelisted addresses are ones that your protected accounts may send to without triggering a blocker. Enter an address that you want to send to here, click save, and they’ll be added. These can be added and removed at any time. Remember that if you send to one of these addresses you will still have to recreate your blockers.</p><p>That’s it! With the current iteration of Blockd you’ll need to sign blockers again whenever you make a new transaction (whether a blocker was sent or not). That’s because at the moment we only have users sign blockers for the next transaction in line rather than further in the future and the blockers are no longer valid once that transaction is made. So remember to keep your blockers current and stay safe!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf08434cb62d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blockd/blockd-co-how-to-get-protected-bf08434cb62d">Blockd.co: How to Get Protected</a> was originally published in <a href="https://medium.com/blockd">Blockd</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blockd.co: An Introduction]]></title>
            <link>https://medium.com/blockd/blockd-co-an-introduction-9f6f0bc99743?source=rss----96e5f5387ade---4</link>
            <guid isPermaLink="false">https://medium.com/p/9f6f0bc99743</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Robert M.C. Forster]]></dc:creator>
            <pubDate>Sat, 19 Oct 2019 21:44:55 GMT</pubDate>
            <atom:updated>2020-04-24T22:54:28.474Z</atom:updated>
            <content:encoded><![CDATA[<h3>Blockd Basic: An Introduction</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*fqAFX7Iv8K7LQi6R8MoqtA.png" /></figure><p>No matter how carefully we protect our blockchain accounts, things happen. Your wallet or mnemonic could be phished, your website or Geth could be hacked, your hardware wallet could even be stolen by an acquaintance. In each of these cases, once your key is taken, your funds are gone.</p><p>Just kidding.</p><p>Blockd Basic secures your blockchain account even after it’s been hacked. If we see unauthorized transactions originating from your account, we immediately broadcast a “blocker” transaction that you previously approved, replacing the malicious transaction and sending your funds to safety. Basic is not a replacement for any other security, it’s simply another layer you can add on top.</p><p>How it works for you:</p><ol><li>You sign transactions sending your protected wallet’s full balance to a safety wallet you control, then submit those transactions to Blockd. These transactions are not yet broadcast to the blockchain!</li><li>Blockd monitors the blockchain for pending transactions originating from your protected wallet.</li><li>If a pending transaction is seen, Blockd checks to see if it meets your criteria on allowed transactions. If it doesn’t, Blockd broadcasts your blocker transaction, sending your full account balance to safety.</li></ol><p>How it works for them:</p><ol><li>Hack/phish/steal a wallet.</li><li>Steal the funds from that wallet.</li><li>Wait, why were the funds sent somewhere else?</li></ol><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FlCgIlHkd4kA%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DlCgIlHkd4kA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FlCgIlHkd4kA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1f5251543593303aefa5245142452bed/href">https://medium.com/media/1f5251543593303aefa5245142452bed/href</a></iframe><p>And, as is necessary, Blockd Basic is completely trustless. We never have access to your private key (all signing is done through client-side Javascript) and we can never send transactions you do not approve and sign. Even if we get hacked, the worst that can happen is your funds could be sent to your safety wallet unnecessarily.</p><p>In addition to all of this, we can protect dapps. Dapp protection may entail the owner signing a withdraw/pause/save transaction or our service having special approval to do those actions. We would track pending transactions to the dapp, analyze their effects, and act accordingly. There is enormous security benefit from this system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*x9CEWUFjipz98nGtWR98Mg.png" /><figcaption>Simple diagram of Blockd smart contract protection.</figcaption></figure><p>A security breach or experimentation could be spotted and avoided on a dapp. This can include everything from alerting the developer if a user is making suspicious transactions, to enacting a full shutdown if a transaction is analyzed that would withdraw all contents of the contract. In a world with so many targets attractive to hackers, this system is an absolute necessity.</p><p>The last (not necessarily in the roadmap but in discussion) big branching out, of course, is Blockd moving to more blockchains. There are other blockchains that use the same or similar RBF protocols and Blockd protocols currently in development may be able to secure almost any blockchain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lirHKlIv9cYEwdMDxXz92A.png" /></figure><p>P.S. If you would like to view Blockd’s in-depth technical documentation, check out <a href="https://medium.com/blockd/blockd-co-in-depth-under-the-hood-and-into-the-future-c142d6d54777">this article</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f6f0bc99743" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blockd/blockd-co-an-introduction-9f6f0bc99743">Blockd.co: An Introduction</a> was originally published in <a href="https://medium.com/blockd">Blockd</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>