Back Website by library rather than command line invocation
mcandre opened this issue · 1 comments
mcandre commented
If someone edits the Angular frontend code, they can bypass some validation methods and supply a shell injection string similar to jq '.blah';hostname
, in order to run shell commands on the server.
Maybe use a library like github.com/bongole/go-jq instead of shell commands, for safety?
owenthereal commented
Can you provide an example of this?