[Misdetection] EBook Kindle Format 8 (.azw3) misdetected as ISO 9660 CD-ROM filesystem data (archive)
- Dominant language
- Rust
- Stars
- 18.6k
- Forks
- 1.2k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 20
Description
**What should the file have been detected as? What has the file been misdetected as?**
Some Kindle EBooks are being misdetected as CD-ROM archives.
**Please link or attach the misdetected file below** (Do NOT upload PII!)
[heading-reflowable-libreoffice_3.azw3.zip](https://github.com/google/magika/files/14398800/heading-reflowable-libreoffice_3.azw3.zip)
**Additional context**
This particular ebook format is Kindle Format 8, one in which you may download purchased ebooks from Amazon. So generally the files likely contain licensed material, but you may convert ePUBs into this format, like I did with the sample file above (not licensed material).
```
$ magika -r -m high-confidence ~/Documents/heading-reflowable-libreoffice_3.azw3
/home/bjester/Documents/heading-reflowable-libreoffice_3.azw3: ISO 9660 CD-ROM filesystem data (archive)
$ mimetype ~/Documents/heading-reflowable-libreoffice_3.azw3
/home/bjester/Documents/heading-reflowable-libreoffice_3.azw3: application/x-mobipocket-ebook
```
Contributor guide
Research direction
Start by reproducing the reported `magika -r -m high-confidence` result with the attached `.azw3` sample and compare it with the `mimetype` result. The work is done when Kindle Format 8 files are detected as the appropriate ebook type rather than ISO 9660 CD-ROM filesystem data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100