Currently, cURL is used to make a POST request for submitting the code. This requires to execute the command on terminal of the server. This can compromise the server, as vulnerable commands can be run by writing an intelligent code in the coding section. To prevent this, implement POST request from the NodeJS application itself, so that it doesn't rely on cURL or terminal anymore.
Currently, cURL is used to make a POST request for submitting the code. This requires to execute the command on terminal of the server. This can compromise the server, as vulnerable commands can be run by writing an intelligent code in the coding section. To prevent this, implement POST request from the NodeJS application itself, so that it doesn't rely on cURL or terminal anymore.