Analysis of environment vulnerability