As someone who has spent their entire career in infosec, one of my most important rules is “security should break your company”. The alternative is, someone else will break your company for you. If you can’t produce a document that explains what this server does and every external interaction it could possibly have, you’re failing. Be extremely conservative in what you accept.
If you’re allowing basically anything in, eventually the wrong person with the wrong code will get in. And that might very well be the last day you have a business.