Fixing potential attack vector and instability in External Submodule