DeFi Protocol Primitive Finance Self Hacks to Prevent Exploit

A few hours ago on Monday, Feb. 22, a critical vulnerability was discovered in Primitive Finance smart contracts. The contract could not be upgraded or suspended so the team decided to “whitehack” its own smart contracts to safeguard user funds.

It stated that the majority of funds have been secured though users need to take action as some could still be at risk.

“Although we have recused 98% of the funds, TOKENS IN WALLET which have approved the vulnerable contract are STILL AT RISK,”

Infinite Approvals Exploit

The blog post stated that the vulnerability is related to ‘infinite approvals’ that have been made on one of the protocol’s smart contracts. It added that manually resetting approvals back to zero will safeguard any assets and those that have used this contract to approve token spending could still be at risk.

At the time of writing the vulnerability had not been exploited and funds had not been stolen due to the swift reaction of the Primitive Finance team.

Primitive is a permissionless options protocol built on Ethereum. Liquidity providers can earn a yield on DAI, ETH, or DeFi tokens by providing collateral to option markets. The yield is earned through trading fees generated on the SushiSwap automated market maker.

“The protocol is used to create smart contracts with an immutable set of parameters that define the rules of the option. Any two ERC-20 tokens can be chosen to be the underlying (the asset being purchased) or the quote (the token used to pay the strike price).”

The protocol launched to mainnet in late December 2020. It was audited by Open Zeppelin in August of the same year but code vulnerabilities appear to have slipped through the net.

DeFi TVL Returns to ATH

The total value locked across the entire DeFi sector has returned to its all-time high of a little over $50 billion according to DappRadar. MakerDAO is the leading protocol with $6.7 billion followed by Aave with $5.5 billion in collateral lock up.

Different analytics providers will report different figures, and DeFiPulse’s are often lower than elsewhere because it is selective over its listings and does not include all protocols. Its TVL figure is $41.6 billion, also very close to the all-time high.

SPECIAL OFFER (Sponsored) Binance Futures 50 USDT FREE Voucher: Use this link to register & get 10% off fees and 50 USDT when trading 500 USDT (limited offer).

PrimeXBT Special Offer: Use this link to register & enter CRYPTOPOTATO35 code to get 35% free bonus on any deposit up to 1 BTC.

You Might Also Like:


The post appeared first on CryptoPotato

Buy Bitcoin with Credit Card

BitMex Leverage Trading

Automated Trading Bot

Related Posts

Leave a Reply

Bitcoin (BTC) $ 87,483.44 4.38%
Ethereum (ETH) $ 3,028.79 6.24%
Tether (USDT) $ 1.00 0.28%
Solana (SOL) $ 208.53 4.98%
BNB (BNB) $ 612.55 7.00%
Dogecoin (DOGE) $ 0.365353 9.24%
XRP (XRP) $ 0.781504 11.39%
USDC (USDC) $ 0.999402 0.25%
Lido Staked Ether (STETH) $ 3,027.90 6.17%
Cardano (ADA) $ 0.586892 0.55%