SA-010 Avatar validation
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Chat Log
|
||||
|
||||
### User
|
||||
Solve SA-010: Avatar validation trusts the client MIME type.
|
||||
|
||||
### Assistant outcome
|
||||
Completed avatar hardening with Pillow: uploads are size-limited, decoded and verified rather than trusted by MIME type, bounded to 25 megapixels, fully loaded, normalized to PNG, and served under a fixed `.png` path. Tests now verify PNG normalization and rejection of fake image bytes. SA-010 is marked remediated with `nosniff` and media-origin isolation retained as deployment hardening.
|
||||
|
||||
### User
|
||||
Run full backend and frontend test suites.
|
||||
|
||||
|
||||
@@ -188,6 +188,7 @@
|
||||
183. Fix SA-009: TOTP enrollment has no recovery codes or reset workflow.
|
||||
183. Address SA-007 and use linklog.example.com as the default LINKLOG_PUBLIC_URL.
|
||||
184. Run full backend and frontend test suites.
|
||||
185. Solve SA-010: Avatar validation trusts the client MIME type.
|
||||
|
||||
## Future entries
|
||||
|
||||
|
||||
Reference in New Issue
Block a user