1.0.20 • Published 3 months ago
@sonata-api/security v1.0.20
@sonata-api/security
Introduction
This package implements common security checks.
The checks can be used separatelly, or through a function called useSecurity()
. This function returns an object with two functions:
beforeRead()
: checks to be made before reading databeforeWrite()
: checks to be made before writing data
References
checkOwnershipRead()
andcheckOwnershipWrite()
: CWE-284: Improper Access Control, CWE-639: Authorization Bypass Through User-Controlled KeycheckImmutability()
: CWE-471: Modification of Assumed-Immutable Data (MAID)checkPagination()
: CWE-770: Allocation of Resources Without Limits or ThrottlingrateLimiting()
: CWE-799: Improper Control of Interaction Frequency
1.0.20
3 months ago
1.0.19
3 months ago
1.0.18
3 months ago
1.0.17
3 months ago
1.0.16
3 months ago
1.0.15
3 months ago
1.0.14
3 months ago
1.0.13
4 months ago
1.0.12
4 months ago
1.0.11
4 months ago
1.0.10
4 months ago
1.0.9
4 months ago
1.0.8
4 months ago
1.0.7
5 months ago
1.0.6
5 months ago
1.0.5
5 months ago
1.0.4
5 months ago
1.0.3
5 months ago
1.0.2
5 months ago
1.0.1
5 months ago
1.0.0
6 months ago
0.0.6
7 months ago
0.0.5
7 months ago
0.0.4
7 months ago
0.0.3
7 months ago
0.0.2
8 months ago
0.0.1
8 months ago