A ClamAV command-line scanning boundary was added before document processing and again before retries. The production binary was configurable, but the record does not show ClamAV being installed or run against a real attachment.
- What worked
- Its command-line model made malware checks easy to isolate behind a small service and kept unsafe files out of extraction and review paths.
- What got in the way
- Signature setup, daemon connectivity, scan performance, and actual detection behavior were not validated in the development environment.