senke
|
c0dc7a9666
|
[BE-TEST-017] be-test: Add security tests for authorization
- Created comprehensive authorization test suite
- Tests verify unauthorized access is blocked (401/403)
- Tests cover: no token, invalid token, expired token
- Tests verify role-based access control (admin, creator, regular user)
- Tests verify ownership checks and admin override
- Tests verify token version mismatch protection
Phase: PHASE-5
Priority: P2
Progress: 138/267 (51.69%)
|
2025-12-25 02:00:56 +01:00 |
|
senke
|
a0be52fafa
|
[BE-TEST-016] be-test: Add security tests for injection attacks
- Created comprehensive security test suite for SQL injection, XSS, and command injection
- Added 30+ SQL injection test payloads
- Added 50+ XSS test payloads
- Added 30+ command injection test payloads
- Tests verify GORM parameterized queries protection
- Tests verify input sanitization utilities
- Added README documentation for security tests
Phase: PHASE-5
Priority: P2
Progress: 137/267 (51.31%)
|
2025-12-25 01:57:59 +01:00 |
|