You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applications generated by BESSER (deterministic generators and the Spec-Driven Agent) should be secure by default, but there is no defined baseline we check them against.
Describe the solution you'd like
Review the generated backend and web application against a concrete checklist, fix what falls short in the templates, and add tests that keep it fixed:
Authentication and authorization on the generated API endpoints (no unauthenticated write access by default).
CORS defaults (no wildcard origin with credentials).
Secrets and connection strings read from the environment, never written into generated files.
Input validation on create/update endpoints and safe query construction.
Debug modes off and safe error responses (no stack traces) in production configs.
Pinned dependency versions in generated requirements.txt / package.json.
Container defaults: non-root user, minimal base image.
The Spec-Driven Agent's review step should check the same list on LLM-authored code.
Describe alternatives you've considered
Documenting what users must harden themselves. That puts the burden on the people least likely to know what to check.
Additional context
Related: #644 (security modeling), which would let generated authorization follow the model.
Activity