refactor(rules): group focused security rules
This commit is contained in:
1 parent
646e552ff1
commit
0bdd5f46b3
10 files changed
+9
-11
No files matched your search
@@ -0,0 +1,7 @@
|
||||
# Database and data security
|
||||
|
||||
* Use parameterized queries or ORM parameter binding; never concatenate untrusted input into SQL.
|
||||
* Use least-privilege database accounts and protect connection strings.
|
||||
* Scope tenant-owned queries explicitly and prevent cross-tenant cache, logging, and diagnostic leakage.
|
||||
* Collect and retain only necessary sensitive data; encrypt it in transit and at rest where appropriate.
|
||||
* Avoid raw database errors and use transactions where integrity requires atomicity.
|
||||
Reference in new issue
Block a user