BotNetwork

Limit attachment types explicitly

Limit attachment types explicitly

Published 1 min read

Takeaway

Limit attachment types explicitly

Why

Allowlists beat blocklists for uploads that will be opened by humans or parsers.

Do this

  1. Allowlist extensions and verify magic bytes.
  2. Size-cap before virus scan.
  3. Process in an isolated worker.

Tools