Run a system command without a shell

Not solved

A connectivity check passes a user-supplied host to a shell. Remove the shell and validate the input.

Level
Practitioner
Estimated time
~25 min
Points
0/60 pts
Questions
0/0 answered
OWASP
A05:2025
CWE
CWE-78
CWE
CWE-88
healthcheck.js
Test results

Run the tests to check your code. It runs on the server in an isolated sandbox with no network access.