What's risky about heating hydrogen, magnesium and lithium and squeezing them hard together? Apart from any addition of oxygen blowing out the building?
Depends on how much it compresses and can expand when breached. The blast radius from uncompressible liquids like water is close to zero no matter the pressure, a metal shouldn't be much different.