Chainlink Hack
Incident Overview
Chainlink operates as a network of nodes that connect smart contracts to the inputs and outputs in the real world that they require in order to function. This creates a "decentralized oracle network," which in principle protects a contract from the risks of relying on a single oracle, which may be hacked.
The attack specifically targeted certain nodes—in this case, nine that provided pricing data for different other coins. In other words, it was a conventional spam attack in which the attacker allegedly issued a large number of price requests, causing node operators to suddenly pay exorbitant amounts for Ethereum's gas costs.
Hot wallets are kept by node operators to offset any gas expenses (to ensure their services work). In this example, the wallets' reserve funds were quickly depleted, with one operator reporting losing 20 ETH.
The attacker minted new Chi tokens (which provides a hedge against gas price volatility and users can mint new tokens at current prices, and trade them later, depending on whether the price is higher or lower than when the token contract was created) at the higher price, then sold them for regular ETH.
Incident Report
Protocol Information
What the Attacker Needed to Succeed
Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.
What Auditors Should Check
If you're auditing a protocol with similar architecture to Chainlink, these are the critical security checks that could have prevented this incident (September 2020).
- Verify all logic paths related to Other are guarded by proper access controls and input validation
- Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs
Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.
Free TrialSources & References
Learn to Prevent the Next Chainlink
The Chainlink hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.