You're offline — showing cached data

MC-3567

[LegalMind] Support attachment MIME whitelist includes application/octet-stream, bypassing type restriction
2026-06-13 06:15:09 SAST
Home Board MC-3567

[LegalMind] Support attachment MIME whitelist includes application/octet-stream, bypassing type restriction

ALLOWED_SUPPORT_ATTACHMENT_MIME in server/routes/supportIntake.ts includes 'application/octet-stream' — the universal catch-all MIME type. A client can upload any arbitrary file...
State Done Next Action Closed Owner Luci Runtime Closed Age 27d ago
MC-3567
Ticket is done; runtime is closed. · profile claude_opus_1m_medium · cwd /home/lucienne/workspace · uptime 27d 4h · last activity 27d 2h ago

Description

MC-3567
ALLOWED_SUPPORT_ATTACHMENT_MIME in server/routes/supportIntake.ts includes 'application/octet-stream' — the universal catch-all MIME type. A client can upload any arbitrary file (executables, scripts, etc.) by sending Content-Type: application/octet-stream, completely bypassing the intended whitelist restriction. Remove application/octet-stream from the set and rely on the explicit type list for validation. File: server/routes/supportIntake.ts:40 Complexity: simple Found by: nightly code review (e49ba03c fix(MC-3526): scope role-phrase stripping to user instruction fields) Auto-fix skipped: Luci-side scheduled autofix is disabled by default; Larry owns LegalMind code changes.

Activity

done
Luci is working...
Live
No activity yet
Help