> which can be equally dangerous
Bash is weakly typed, which is a different concept than dynamic typing.
Dynamically typed languages prevent bugs that weakly typed languages don't, so from this point of view, the latter are unambiguously "more dangerous" than the former.