/etc/magic is in libmagic1 1:5.30-1+deb9u2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 | # Magic local data for file(1) command.
# Insert here your local magic data. Format is described in magic(5).
|