{"id":100580,"date":"2020-10-29T20:46:58","date_gmt":"2020-10-29T17:46:58","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/maker-community-scrambles-to-fix-long-standing-vulnerability-to-flash-loans\/"},"modified":"2020-10-29T20:46:58","modified_gmt":"2020-10-29T17:46:58","slug":"maker-community-scrambles-to-fix-long-standing-vulnerability-to-flash-loans","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/maker-community-scrambles-to-fix-long-standing-vulnerability-to-flash-loans\/","title":{"rendered":"# Maker community scrambles to fix long-standing vulnerability to flash loans"},"content":{"rendered":"<p>&#8220;<strong># Maker community scrambles to fix long-standing vulnerability to flash loans <\/strong>&#8221;<br \/>\n<img decoding=\"async\" src=\"https:\/\/images.cointelegraph.com\/images\/840_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS91cGxvYWRzLzIwMjAtMTAvMDc5Y2ZiMGUtMzc1Mi00M2I1LTgzODEtNTRjZTIzZTlmMTFiLmpwZw==.jpg\" \/><\/p>\n<div data-v-5a136f3a=\"\">The MakerDAO (MKR) community is urgently implementing measures to prevent voting manipulation through flash loans. This was precipitated by what is likely the first instance of the feature being used to influence a DeFi governance vote on Oct. 26.<\/p>\n<p>According to a post <a rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\/\/forum.makerdao.com\/t\/urgent-flash-loans-and-securing-the-maker-protocol\/4901\">published<\/a> by community member LongForWisdom, someone used a flash loan to force a governance proposal through. BProtocol, a service that lets users pool liquidity to join in Maker debt auctions, came forward as the culprit.<\/p>\n<p>The proposal would have whitelisted the project to access Maker\u2019s price oracle, making it possibl to run decentralized keepers.<\/p>\n<p>BProtocol used dYdX\u2019s flash loan feature \u2014 an unbacked loan that is only granted if it is also returned within the same block. This requirement means that its users must have a predefined path for the money they borrow, and it is only useful for operations that can be completed instantly.<\/p>\n<p>Maker community member Monetsupply explained to Cointelegraph that the governance contracts did not feature any lock-up period:<\/p>\n<blockquote><p>\u201cCurrent MKR gov system allows voters to lock their tokens, im<a href=\"https:\/\/buradabiliyorum.com\/en\/category\/social-mediaa\/\" data-internallinksmanager029f6b8e52c=\"1\" title=\"Social Media\" target=\"_blank\" rel=\"noopener\">media<\/a>tely vote to pass a proposal, and then unlock the tokens all in the same block.\u201d<\/p><\/blockquote>\n<p>Using flash loans to engage in governance can be seen as manipulative because the money is essentially free. Anyone could use them to execute their own proposals without being a Maker stakeholder.<\/p>\n<p>The governance power is limited to how much MKR is contained in various DeFi protocols. In this specific case, MKR was sourced from Aave, but up to 64,000 MKR worth $34 million is available for flash loans. This is enough to influence at least some of the future governance proposals.<\/p>\n<p>Due to this, the community is engaging emergency containment measures to make exploitation harder as they wait for a more definitive fix. A twelve hour delay between proposals passing and being executed \u2014 introduced to allow for the community to challenge malicious votes \u2014 will be extended to 72 hours.<\/p>\n<p>Furthermore, the community is disabling circuit breakers that would allow governance to turn off oracles and liquidations, as they could be potentially abused by malicious actors to exploit the system for money. <\/p>\n<p>The case that set off the alarms was relatively minor, with the founder of BProtocol saying that \u201cwe meant no harm, and no harm was made.\u201d He further suggested that this was \u201caimed to trigger an internal technical discussion,\u201d and that he did not expect such a dramatic community response.<\/p>\n<p>A proposal to fix the underlying issue was being <a rel=\"nofollow noopener noreferrer\" target=\"_blank\" href=\"https:\/\/forum.makerdao.com\/t\/mip26-dssgov-governance-contract-redesign\/4589\">discussed<\/a> for at least three weeks, but \u201cthis incident made it much more urgent,\u201d Monetsupply said.<\/p>\n<p><template data-name=\"subscription_form\" data-type=\"defi_newsletter\"\/><\/p>\n<p>A relatively simple solution involves measuring a user\u2019s voting power from the tokens locked in the preceding block, thwarting any flash loan-based attack. This fix is expected to be added soon by the Maker Foundation, though no concrete deadlines were announced yet.<\/p>\n<p>Some in the community see this incident as a good thing, as it was a long-standing issue that \u201cshould have been fixed before,\u201d said forum member TheoRochaix. As no harm seems to have been done, it is a much less expensive lesson than the Black Thursday auction failure.<\/p>\n<\/div>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong>\n<\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/news\/\" data-internallinksmanager029f6b8e52c=\"2\" title=\"News\" target=\"_blank\" rel=\"noopener\">News<\/a> articles, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/general\/\" target=\"_blank\" rel=\"noopener noreferrer\">General category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/cointelegraph.com\/news\/maker-community-scrambles-to-fix-long-standing-vulnerability-to-flash-loans\" target=\"_blank\" rel=\"noopener noreferrer\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;# Maker community scrambles to fix long-standing vulnerability to flash loans &#8221; The MakerDAO (MKR) community is urgently implementing measures to prevent voting manipulation through flash loans. This was precipitated by what is likely the first instance of the feature being used to influence a DeFi governance vote on Oct. 26. According to a post&#8230;<\/p>\n","protected":false},"author":1,"featured_media":100581,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/s3.cointelegraph.com\/uploads\/2020-10\/079cfb0e-3752-43b5-8381-54ce23e9f11b.jpg","fifu_image_alt":"","footnotes":""},"categories":[1],"tags":[74868,74891,77655,4965],"class_list":["post-100580","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general","tag-defi","tag-ethereum","tag-maker","tag-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/100580","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=100580"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/100580\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/100581"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=100580"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=100580"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=100580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}