I wasn't talking about files without a footer, I was talking about vertex injection just like you
Look, if you store an offset to your footer inside your header you can jump to the location where the footer is supposed to be, if it isn't there then you know there's something wrong. So if anyone adds data to the file it means that the footer offset defined in the header will not be correct anymore, and the loader can easily see this by doing this jump before loading in any data



