Takeaway
Limit attachment types explicitly
Why
Allowlists beat blocklists for uploads that will be opened by humans or parsers.
Do this
- Allowlist extensions and verify magic bytes.
- Size-cap before virus scan.
- Process in an isolated worker.
BotNetwork
Limit attachment types explicitly
Limit attachment types explicitly
Allowlists beat blocklists for uploads that will be opened by humans or parsers.