Logic flaw drains $101K from Huma's old Polygon contracts

Source Cryptopolitan

An attack on the V1 smart contracts of Huma Finance on Polygon resulted in a loss of $101,400 USDC. The exploit added to what’s already been a difficult time for DeFi protocols on the network.

The exploit was reported by web3 security firm Blockaid. The attacker targeted BaseCreditPool deployments related to Huma’s older V1 infrastructure. The total loss was ~$101,400 in USDC and USDC.e coins across various contracts.

Huma Finance confirmed the incident on X, saying “No user funds at risk and PST is not impacted.” The team said its V2 system, which runs on Solana, was built from scratch. It shares no code with the compromised contracts.

Huma’s V1 flaw was in one function

The smart contract flaw was found inside a function named refreshAccount(). Its a function located within the V1 BaseCreditPool contracts. Blockaid security researchers identified the bug. They shared more information on X, saying:

“Bug: refreshAccount() unconditionally promotes a Requested credit line to GoodStanding, bypassing the EA approval step and enabling drawdown().”

refreshAccount() labelled accounts with ‘good standing’ without actual verification or conditions. The attacker took advantage of this flaw and drained funds from the protocol’s treasury pools

The losses were found in three contracts according to Blockaid’s on-chain analysis. One account lost ~82,300 USDC. A second lost ~17,300 USDC.e. And a third account lost ~1,800 USDC.e. According to on-chain data, the entire exploit was completed in one transaction.

There was no cryptographic issue. The attacker just changed the contract’s state machine to trick it into treating an unauthorized account as legit.

Huma’s team wrote on X, “Earlier today a vulnerability in Huma’s legacy v1 contracts on Polygon was exploited for 101,400 USDC.” They continued, “Huma’s v2 system on Solana is a complete rewrite and this issue does not apply to v2 systems.”

Huma said it had already been winding down V1 operations before the exploit occurred. The team said on X, “The teams were already in the process of sunsetting all the legacy v1 pools, and have paused v1 completely now.”

After the incident, the team fully paused all remaining V1 contracts. The company said that user deposits on V2 were untouched and that the newer platform continues to operate normally.

Polygon had a bad day

According to a recent report from Cryptopolitan, the exploit took place on the same day that Ink Finance lost almost $140,000 from its Workspace Treasury Proxy contract on Polygon. The attacker deployed a contract matching a whitelisted claimer address to bypass eligibility checks.

In both incidents, the attackers found logic mistakes in smart contract design. The back-to-back exploits on Polygon come after April 2026, setting the record for the worst month of smart contract losses.

If you're reading this, you’re already ahead. Stay there with our newsletter.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
AI Boom Lifts US Stocks, Strategist Sees S&P Breaking 10,000 in Three Years, How Much Longer Can This Rally Last? U.S. stocks closed at record highs again on Monday; despite growing concerns that a prolonged conflict in Iran through the summer could trigger severe economic consequences, the rally rem
Author  TradingKey
10 hours ago
U.S. stocks closed at record highs again on Monday; despite growing concerns that a prolonged conflict in Iran through the summer could trigger severe economic consequences, the rally rem
placeholder
Gold drifts higher to near $4,750 ahead of US CPI inflation releaseGold price (XAU/USD) trades in positive territory around $4,750 during the early Asian session on Tuesday. The precious metal edges higher as traders assess developments in the United States (US)-Iran diplomacy and await key US inflation data, which is due later on Tuesday. 
Author  FXStreet
19 hours ago
Gold price (XAU/USD) trades in positive territory around $4,750 during the early Asian session on Tuesday. The precious metal edges higher as traders assess developments in the United States (US)-Iran diplomacy and await key US inflation data, which is due later on Tuesday. 
placeholder
When Will the Gold Dilemma Be Resolved? Breakdown of US-Iran Negotiations Puts Gold Prices Under Pressure Again, Can It Return to $5,000? Spot gold broke below the $4,700 level during the Asian trading session on May 11, dropping as low as $4,678. As of press time, it was trading at $4,670, in stark contrast to three days a
Author  TradingKey
Yesterday 10: 31
Spot gold broke below the $4,700 level during the Asian trading session on May 11, dropping as low as $4,678. As of press time, it was trading at $4,670, in stark contrast to three days a
placeholder
Hormuz Latest. Trump Rejects Iran Peace Plan; WTI Crude Hits $100 Again International oil prices surged in early Asian trading after U.S. President Trump and Iran rejected each other's latest long-term peace proposals. Both major crude oil futures rose by mor
Author  TradingKey
Yesterday 02: 45
International oil prices surged in early Asian trading after U.S. President Trump and Iran rejected each other's latest long-term peace proposals. Both major crude oil futures rose by mor
placeholder
Gold slumps below $4,700 on Trump rejection of Iran peace proposalGold price (XAU/USD) falls to around $4,690 during the early Asian session on Monday. The precious metal attracts some sellers after US President Donald Trump rejected Iran’s latest peace offer to end the 10-week conflict choking the Strait of Hormuz, fanning inflation fears. 
Author  FXStreet
Yesterday 01: 55
Gold price (XAU/USD) falls to around $4,690 during the early Asian session on Monday. The precious metal attracts some sellers after US President Donald Trump rejected Iran’s latest peace offer to end the 10-week conflict choking the Strait of Hormuz, fanning inflation fears. 
goTop
quote