I wonder how many file formats are subject to injection attacks? You could embed the entire universe in PDF, for example, and it would not change the file’s visual appearance at all.
I'm interested in encoding data into image files.<p>The Cemetech TI-84+ calculator emulator uses image files to load the ROM from a phone.<p><a href="https://www.cemetech.net/projects/jstified/" rel="nofollow">https://www.cemetech.net/projects/jstified/</a><p>I couldn't load the ROM for some reason, until I synced the photo to my iPhone via iTunes over USB.<p>The image gets recompressed when doing a "Save to Camera Roll" or uploading to Facebook.<p>I did some more investigation with a checkerboard pattern, and was shocked at how quickly the image data was lost.<p>If there's a way to have error-correcting codes to recover data from an image, please let me know!<p>(the application for this is to load 9.9 MB of lyrics data into LocalStorage so a user can search songs with Pingtype, and I wouldn't need to host it on my own server where the lyrics are vulnerable to DMCA takedowns)
I have shared my story in the article's comments how a virus affected our hosting company's server and had to move us on a newer one.<p>All of this from inside a .ico file...complete madness!