The leakage of a battery isn't something you can stop. It's a big amount of stored energy released in a short while like a bomb.
One Chinese company actually invented a flexible and solid battery that can even be cut without a risk of explosion but it doesn't scale to bigger capacities: https://www.youtube.com/watch?v=kJXRyWQgOY4