I would have thought the best way to do secure shell scripting is to use a non-shell language, e.g. Python or Go.
It seems most shell vulnerabilities (including shellshock) fundamentally come from the awful and dangerous syntax.
It seems most shell vulnerabilities (including shellshock) fundamentally come from the awful and dangerous syntax.