Thousands of COMP lost due to faulty contract

The vulnerability is due to an error in the protocol agreement that incorrectly distributed over $80 million worth of COMP to compound finance users.

Compound (COMP) tokens worth about $162 million threatened to be withdrawn from the reward reservoir of the decentralized financial platform (DeFi) due to a faulty contract.

The error resulted from a call to the “DRIP function”, where malicious actors could exploit the vulnerability to siphon off thousands of COMP tOkens.

The Compound protocol adds 0.50 COMP to the reservoir contract on each block, but an error caused thousands of tokens to be sent at once.

According to Compound founder Robert Leshner, the drip function had not been called for weeks, and the developers hoped that the next call would be for changes to the protocol that would effectively prevent such exploits.

Over 202,000 COMP were released after calling the drip feature, with 490,000 COMP tOkens at risk, according to Leshner on October 3 in a Tweet shared.

According to the COMP/USD exchange rate at the time of the exploit, there was a risk that tokens worth almost $ 162 million would drain from the reservoir.

Although about 117,000 COMP tOkens were returned to the community after the initial error, there is still a risk of 136,000 tokens being claimed by clever users. DeFi developer Banteg found early Monday morning that four users had managed to take $21.5 million out of the liquidity reward pool, while five others were able to take advantage of the flaw to get COMP worth over $45 million.

The COMP price has fallen 5% in the last 24 hours and is now trading at around $320 after falling on the news of the hack. While the bulls are trying to recapture the daily highs of $341, the possibility of price falling back to support around $310 remains high.

The COMP/USD traded up to $367 over the weekend.

Stay in the Loop

Get the daily email from CryptoNews that makes reading the news actually enjoyable. Join our mailing list to stay in the loop to stay informed, for free.

[tds_leads input_placeholder="Your email address" btn_horiz_align="content-horiz-center" pp_checkbox="yes" pp_msg="SSd2ZSUyMHJlYWQlMjBhbmQlMjBhY2NlcHQlMjB0aGUlMjAlM0NhJTIwaHJlZiUzRCUyMiUyMyUyMiUzRVByaXZhY3klMjBQb2xpY3klM0MlMkZhJTNFLg==" tdc_css="eyJhbGwiOnsibWFyZ2luLWJvdHRvbSI6IjAiLCJkaXNwbGF5IjoiIn0sImxhbmRzY2FwZSI6eyJkaXNwbGF5IjoiIn0sImxhbmRzY2FwZV9tYXhfd2lkdGgiOjExNDAsImxhbmRzY2FwZV9taW5fd2lkdGgiOjEwMTksInBvcnRyYWl0Ijp7ImRpc3BsYXkiOiIifSwicG9ydHJhaXRfbWF4X3dpZHRoIjoxMDE4LCJwb3J0cmFpdF9taW5fd2lkdGgiOjc2OCwicGhvbmUiOnsiZGlzcGxheSI6IiJ9LCJwaG9uZV9tYXhfd2lkdGgiOjc2N30=" input_border="0" input_radius="eyJhbGwiOiI2cHggMCAwIDZweCIsImxhbmRzY2FwZSI6IjVweCAwIDAgNXB4IiwicG9ydHJhaXQiOiI1cHggMCAwIDVweCJ9" btn_bg="#10bf6b" btn_bg_h="#333237" f_btn_font_family="420" f_btn_font_size="eyJhbGwiOiIxMyIsImxhbmRzY2FwZSI6IjEyIiwicG9ydHJhaXQiOiIxMiJ9" f_btn_font_line_height="eyJhbGwiOiIzLjYiLCJsYW5kc2NhcGUiOiIzLjMiLCJwb3J0cmFpdCI6IjMuMyJ9" f_input_font_line_height="eyJhbGwiOiIzLjYiLCJsYW5kc2NhcGUiOiIzLjMiLCJwb3J0cmFpdCI6IjMuMyJ9" f_input_font_family="420" f_input_font_size="eyJhbGwiOiIxMyIsImxhbmRzY2FwZSI6IjEyIiwicG9ydHJhaXQiOiIxMiJ9" input_padd="eyJhbGwiOiIwIDE1cHggMXB4IiwibGFuZHNjYXBlIjoiMCAxM3B4IDFweCIsInBvcnRyYWl0IjoiMCAxMHB4IDFweCJ9" btn_padd="eyJhbGwiOiIwIDE1cHggMXB4IiwibGFuZHNjYXBlIjoiMCAxM3B4IDFweCIsInBvcnRyYWl0IjoiMCAxMHB4IDFweCJ9" btn_radius="eyJhbGwiOiIwIDZweCA2cHggMCIsImxhbmRzY2FwZSI6IjAgNXB4IDVweCAwIiwicG9ydHJhaXQiOiIwIDRweCA0cHggMCJ9" pp_check_color="#a0a0a0" pp_check_square="#000000" pp_check_border_color="rgba(16,191,107,0)" f_pp_font_family="420" pp_check_bg="rgba(255,255,255,0.6)" pp_check_size="eyJhbGwiOjE0LCJsYW5kc2NhcGUiOiIxMyIsInBvcnRyYWl0IjoiMTMifQ==" msg_composer="" f_title_font_family="420" msg_space="eyJsYW5kc2NhcGUiOiIwIDAgMTBweCIsInBvcnRyYWl0IjoiMCAwIDEwcHgifQ==" f_title_font_size="eyJsYW5kc2NhcGUiOiIxMCJ9" f_msg_font_size="eyJsYW5kc2NhcGUiOiIxMCIsInBvcnRyYWl0IjoiMTAifQ==" f_pp_font_size="eyJsYW5kc2NhcGUiOiIxMCIsInBvcnRyYWl0IjoiMTAifQ==" pp_space="eyJsYW5kc2NhcGUiOiIxNCIsInBvcnRyYWl0IjoiMTAifQ==" pp_check_color_a_h="#ffffff"]

Latest stories

You might also like...