They already allow hosting static websites so I think the same guardrails are implemented.
I have no idea what guardrails they have in place in the background that blocks malware, CSAM, warez and such on their free accounts.
They assign a subdomain automatically for uploads, same as cloudflare workers.
I don't know what they do, but implementing guardrails for this is possible nowadays with AI, but maybe they use a "mechanical turk"