refactor(rules): group focused security rules

This commit is contained in:
fraujulian committed 2026-09-24 21:47:59 +02:00
1 parent 646e552ff1
commit 0bdd5f46b3
10 files changed
+9 -11

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
# API security
* Authenticate and authorize protected endpoints; validate every request payload and identifier.
* Bound request and response sizes, pagination, query results, and expensive operations.
* Apply rate limits where abuse is plausible and keep administrative endpoints separately protected.
* Return only authorized data and never expose stack traces, internal models, or implementation details in API errors.
* Prefer explicit DTOs and schemas over deserializing arbitrary types or executable objects.