Verifying Code That Calls Code You Can't Trust
summary
Ten-year work defines a module specification language plus an inference system that distinguishes safe from vulnerable implementations and mechanizes proofs for examples like the shop/account exploit, a Parity-style multisig, and an escrow protocol. Core contributions are scoped invariants that must hold across internal/external call boundaries, a formal notion of protection via capabilities to express necessary conditions for bad effects, a hand-proven soundness proof, and a prototype mapping to Daphne for tool support and automated checks.
AI-written summary · about
