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

+8
View File
@@ -0,0 +1,8 @@
# Authentication and authorization security
* Use established authentication standards and password hashing; never store plaintext or reversibly encrypted passwords.
* Enforce authorization server-side for every sensitive operation and verify resource ownership and tenant boundaries.
* Use least-privilege roles, short-lived sessions or tokens where supported, and invalidate credentials after sensitive account changes.
* Validate token issuer, audience, signature, and expiry before trusting claims.
* Protect authentication and privileged actions against brute force and privilege escalation.
* Test unauthenticated, unauthorized, cross-user, and cross-tenant access paths.