skills/case-studies/poly-network/SKILL.md
Case study of the 2021 Poly Network exploit: cross-chain relay manipulation draining ~$600M
npx skillsauth add apegurus/solidity-argus poly-networkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
In August 2021, Poly Network, a cross-chain interoperability protocol, was exploited for approximately $611 million across Ethereum, Binance Smart Chain, and Polygon. The attacker was able to manipulate the protocol's "keeper" role, allowing them to sign and execute arbitrary cross-chain transactions.
The vulnerability was in the EthCrossChainManager contract. The contract had a function crossChain that could call any contract on the target chain. The attacker used this to call the EthCrossChainData contract's putCurEpochConPubKeyBytes function. This function was intended to update the public keys of the "keepers" (the entities that sign cross-chain messages). Because the EthCrossChainManager was the owner of the EthCrossChainData contract, the call was authorized, allowing the attacker to replace the official keeper keys with their own.
putCurEpochConPubKeyBytes on the target chain (Ethereum/BSC/Polygon).EthCrossChainManager received the message and, because it was the owner of the data contract, executed the call.0xb1f3535b698f3a0917a219673e7c0e1501c35f9bb8a2811b7a781363bd23c228testing
Specialist profile for mechanically applying the attack-vector deck and classifying vectors as skip, drop, or investigate.
tools
Specialist profile for libraries, helpers, base contracts, adapters, encoders, wrappers, and integration glue.
testing
Specialist profile for rounding, scale, decimal, downcast, and arithmetic accounting edge cases.
testing
Specialist profile for extracting conservation laws and state couplings, then searching for violating paths.