| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-04-26 | 917 Bytes | |
| TspoonBase v0.3.0 - Authorization Security Fixes source code.tar.gz | 2026-04-26 | 1.1 MB | |
| TspoonBase v0.3.0 - Authorization Security Fixes source code.zip | 2026-04-26 | 1.2 MB | |
| Totals: 3 Items | 2.4 MB | 0 | |
Security fixes for authorization vulnerabilities:
Fixed in v0.3.0
[#1] Empty Rule Bypass (CWE-862, CVSS 9.1)
- Fixed inconsistent logic between
canAccessRecordandevaluateRule - Both functions now return false for empty/null rules
- Prevents unauthorized data access via misconfigured collections
[#2] Admin Bypass All Rules (CWE-862, CVSS 9.8)
canAccessRecordnow acceptsskipAdminBypassparameter- Allows rule enforcement even for admin users when needed
- Added protected field stripping to prevent privilege escalation
[#3] Role Field Escalation (CWE-269, CVSS 7.5)
- Added
stripProtectedFields()method - Blocks fields: _isAdmin, isAdmin, role, verified, mfaSecret, etc.
- Prevents users from escalating their own privileges
Previous Releases
- v0.2.9: Refresh token, OAuth2 state, password reset token fixes
- v0.2.8: Rate limiting, bcrypt, JWT secret, file validation fixes