Lightweight leak detection