Overview
clamscan is in backend/package.json dependencies but imported nowhere (grep -rl clamscan backend/src → 0 files). Uploads flow through multer/cloudinary with no verified size, type, or content checks. Either wire it up or drop the dependency.
Tasks
Acceptance Criteria
Notes for Contributors
Comment below to be assigned.
Overview
clamscanis inbackend/package.jsondependencies but imported nowhere (grep -rl clamscan backend/src→ 0 files). Uploads flow throughmulter/cloudinarywith no verified size, type, or content checks. Either wire it up or drop the dependency.Tasks
Content-Typeor file extension).clamscaninto the upload path — reject infected files with 422 and log the detection; make the scanner optional via env flag so local dev without a ClamAV daemon still works.sharp(removes GPS location from member photos).clamscanfrom dependencies instead.Acceptance Criteria
.exerenamed to.jpgis rejected by magic-byte checking.clamscanis either used or removed — no dead dependency remains.Notes for Contributors
Comment below to be assigned.