Security reminder: Beware of Filecoin RBF fake recharge attacks

Security reminder: Beware of Filecoin RBF fake recharge attacks

According to the news from SlowMist, Filecoin has a "double-spending transaction" and many exchanges have closed FIL recharge channels. The SlowMist security team analyzed the relevant information and found that this was a Filecoin RBF fake recharge attack rather than a "double-spending attack".

The attacker sends a low gas-feecap transaction in advance, and then replaces the original transaction (RBF transaction) by increasing the gas-premium and gas-feecap. At this time, the RBF transaction is packaged on the chain first, and the old transaction is discarded. However, due to a feature of Filecoin lotus RPC, when querying the execution status of the old transaction (using the lotus state exec-trace command or obtaining it through the REST interface Filecoin.StateGetReceipt), the execution status of the RBF transaction is returned, causing the exchange to record the two transactions repeatedly.

The SlowMist security team reminds exchanges and related wallets that when depositing, they need to compare the cid in the query return result with the cid in the query, and use interfaces such as ChainGetParentMessages and ChainGetParentReceipts to query and compare to avoid duplicate deposits. Unlike the fake deposit attacks previously discovered in the SlowMist area, this attack method is more covert and is caused by the characteristics of the Filecoin node. Exchanges and related wallets should check the deposit and deposit procedures again. In addition to RBF, there are also regular To, Value, transfer type Method, and execution result ExitCode fields. If necessary, you can ask a security audit company to assist in the detection.


<<:  A man was cheated of 10 bitcoins by a fake Musk and lost $750,000

>>:  CCTV: Graphics cards are still in great demand despite a 100% price increase. The market will charge as many "miners" as possible.

Recommend

Is it good for a woman to have a mole on her face?

When it comes to moles on the face, the main thin...

Polish government considers blockchain's impact on government services

Poland’s Ministry of Digital Affairs is consideri...

Palmistry of a homosexual woman

Palmistry of a homosexual woman Homosexuality is ...

The face of a hypocrite

The face of a hypocrite Chaotic nasolabial folds ...

What to do if the emotional line is broken

What should I do if the love line on my palm is b...

Your facial features reflect whether you are in a good state of life

Your facial features reflect whether you are in a...

Mole location and destiny - what does a mole on a woman's right arm mean

The moles on our body, whether good or bad, actua...

Good man palm

In life, we often see men saying sweet words and ...

US-China trade war after new Trump presidency could affect Bitcoin

Fresh off the presidency, Donald Trump, who has f...

What kind of mouth lines represent wealth?

Sometimes, we will find some lines on our face. I...