Questions about the flow of funds and permissions in the Lighter security incident.
By KarenZ, Foresight News
The hacker obtained an API key for a Lighter trading account, but found they didn’t have permission to withdraw the funds.
In theory, the attack should have ended there.
But in the security incident at Lighter, a decentralized perpetual futures trading platform, on November 16, the attacker appears to have found another way: first close the trading positions, then create a public fund pool and transfer the victim account’s funds into it, and finally move the funds by redeeming the pool shares.
Permission settings designed to restrict fund transfers may have been circumvented through a series of ordinary product features.
According to an analysis by the Korean community relayed by 0xTria, founder of arb.sh, the incident involved two large Lighter market-making accounts, with about 15.48 million USDC in total. The attacker allegedly used a leaked API key and the platform’s internal account mechanisms to move assets, rather than directly attacking Lighter’s smart contracts.
Lighter’s latest investigation has confirmed the most important point: the incident was caused by the leak of an API key for a specific trader account, not an attack on the protocol or smart contracts.
Lighter’s latest response has begun to clarify the cause of the incident. But exactly how the attacker used an API key without direct external transfer permissions to move tens of millions of dollars remains the central question.
Following the security incident, Lighter’s LIT token price fell briefly, down more than 12% over the past 24 hours, and is currently around $2.60.
No withdrawal permissions—so how was $15.5 million transferred out?
The incident first drew market attention because of an unusually large USDC withdrawal.
On-chain analyst MLM reported that an address with little prior activity withdrew about 10.39 million USDC from Lighter and quickly exchanged it for ETH through CoW Protocol.
Later, 0xTria relayed an analysis by a Korean trader, which suggested that the attack may have involved leaked API keys for two large market-making accounts, rather than a vulnerability in Lighter’s core protocol.
According to the analysis, the two affected accounts were #714710 and #714723, involving about 10.39 million and 5.09 million USDC, respectively, for a combined total of about 15.48 million USDC.
It is worth noting that Lighter’s latest statement confirms the leak of an API key for a specific trader account, but does not confirm who owned the two accounts or disclose a loss figure of about $15.48 million. The number of accounts and the amount involved therefore remain findings from third-party analysis.
So why could a leaked API key result in such a large loss of funds?
For market makers and quantitative trading firms, API keys are essential tools for automated trading. Trading programs can use APIs to place and cancel orders and adjust positions without requiring manual action by traders.
Lighter’s official documentation says that a standard API key can transfer funds between accounts belonging to the same owner; transferring funds to an account with a different owner requires an additional wallet signature. A secure withdrawal can be initiated with only an API key, but the destination must be the account owner’s own L1 address.
So the restriction here can be understood as follows: an API key alone cannot directly transfer funds to an account under another owner’s name.
According to the analysis relayed by 0xTria, the attacker exploited the interaction between this permission system and public pools.
First, the attacker allegedly used the victim account’s API permissions to close all of its existing trading positions, releasing the margin used for trading.
The attacker then used the victim account to create a public pool with a 0% fee and contributed about $10,000 to it from an account under their control, obtaining about 99.99% of the pool’s shares.
It is worth explaining what Lighter’s public pools are. According to Lighter’s official white paper, a public pool is a special type of trading subaccount. The pool can execute trading strategies, while other users can contribute funds to buy shares and share in the trading profits and losses in proportion to their holdings.
Put simply, it is like a trading strategy account that allows other investors to participate. Who creates the pool and who owns its shares are two different things.
According to the analysis relayed by 0xTria, although the attacker used the victim account to create the pool, their own contribution gave them the vast majority of its shares.
The next step was the key one. The attacker allegedly used the victim account’s internal transfer permissions to move its USDC into the pool in batches of about $1 million, then obtained the assets by redeeming the pool shares they controlled.
Why might this route have worked?
According to 0xTria, Lighter’s trading API cannot transfer funds directly to other users, but internal transfers between accounts linked to the same L1 address may not require an additional signature. A public pool created by the victim account is also treated as an associated account within the platform’s account system.
In the author’s understanding, if the analysis above is accurate, the key issue may be that internal transfers and purchasing pool shares are two different operations. When the attacker transferred the victim account’s USDC to the public pool, the system may have treated it only as a balance transfer between associated accounts, rather than a standard purchase of pool shares, and therefore did not mint new shares for the victim account.
As a result, the pool’s assets increased, but the attacker’s previously held majority stake was not diluted, and the value of the assets corresponding to those shares rose accordingly. The attacker may therefore have been able to obtain funds that originally belonged to the victim account by redeeming their shares.
However, this explanation remains an inference based on the attack path described by 0xTria. Lighter has not disclosed the technical details of whether the internal transfers in question triggered the minting of pool shares.
Where did the money go? The attacker also attempted an additional withdrawal
An early analysis relayed by 0xTria listed two accounts: #714710, involving about $10.39 million, and #714723, involving about $5.09 million. Adding these rounded figures gives about $15.48 million, or the widely circulated “about $15.5 million.” 0xTria later mentioned about $17.5 million, but provided no additional breakdown or explanation for the discrepancy.
On-chain records show that at 17:35:11 Beijing time on November 16, the address deposited 10,200 USDC to Lighter via Relay. The deposit was credited to account #769455, which is associated with that address.
At 18:11:47, the address called the pending balance withdrawal function (withdrawPendingBalance) on Lighter’s main contract and received about 10.3931 million USDC, roughly 36 minutes after the earlier deposit.
Between 18:13 and 18:17, the address made five trades through CoW Protocol, exchanging 10.36 million USDC for about 5,751.63 ETH/WETH.
Two more transactions followed: at 18:21:35, the address deposited another 10,200 USDC to Lighter, again credited to account #769455.
At 18:46:23, the address exchanged a further 23,200 USDC for 12.84 ETH.
Across the six exchanges, a total of 10,383,182.629682 USDC was spent to receive about 5,764.470028 ETH/WETH.
The funds were then dispersed across multiple addresses. Bubblemaps’ tracking indicates that some of the funds flowed to Hyperliquid and were converted into XMR1, a wrapped version of Monero.
As for the victim’s identity, 0xTria suspects that the accounts belonged to Abraxas Capital, based on the fact that one of the compromised accounts was initially funded by a Hyperliquid wallet identified as belonging to the firm.
Lighter wasn’t breached—but does that mean there was no security issue?
Lighter’s latest response attributes the incident to a trader’s leaked API key and says the protocol and smart contracts were unaffected. This is the official conclusion of its investigation so far; a more complete technical postmortem is still needed to provide fuller evidence.
That conclusion raises another question: how could a key without direct external transfer permissions potentially move value through a pool?
If the third-party account is ultimately verified, the key lies at the intersection of two permission rules: internal transfers are evaluated based on account ownership, while pool redemptions are settled according to share ownership. When the nominal owner of a pool differs from the person with the economic interest, simply checking “whether the transfer was made to an account in the same owner’s name” may not be enough to determine who ultimately receives the funds.
This does not mean that a vulnerability in a particular piece of contract code has been proven. Rather, it shows that security reviews also need to account for the outcomes of combining different features.
Guardian mode is active. What needs to be confirmed next?
Lighter says it has enabled Guardian mode, under which the security committee will carry out a contract upgrade, prioritizing the recovery of funds involved in the attacker’s other withdrawal attempt. Withdrawals remain temporarily disabled. The stated goal is to complete the upgrade and resume withdrawals “by the end of the day,” as announced.
First, the list of affected funds needs to be confirmed: which assets have already been transferred out, which are still in the withdrawal process, and which have been recovered.
Second, the full attack path needs to be made public. Mainnet withdrawal transactions can prove that funds left Lighter, but cannot on their own establish the preceding process of closing positions, creating a pool, and redeeming shares. Lighter’s internal transaction records and a technical report are needed to fill in these steps.
Finally, it needs to be made clear what the upgrade changes and when withdrawals will actually resume. These details will help users assess whether the risk is under control.
