Please do not open a public issue for a security problem.
Report it privately through GitHub: open this repository's Security tab and choose Report a vulnerability. If that form is not available, open a regular issue that says only that you have a security report and asks for a private contact route — do not include any details in public.
fitslog runs locally on FITS files you give it and reads headers only. The realistic concerns are crashes, hangs or wrong results on crafted input files, and those reports are welcome through the same route.