Harden API and runtime security controls #14
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The current HTTP runtime has no request body size limits, no rate limiting/brute-force controls, and only minimal validation around generation inputs such as
providerModel,resolutionPreset,batchSize, andimageStrength.Why this matters
Even before the full frontend lands, these endpoints are exposed to abuse, denial-of-service patterns, and invalid payloads that should be rejected early.
Acceptance criteria