PDF Injection Detector — MiMo-7B
Upload a PDF. It is rendered to text with the extractor that built the project corpus, the regions
carrying structural markers are ranked and cut into batches that fit one run of the model, and
MiMo-7B-RL reads the batch you choose — reporting whether a payload is hidden there, and the
substring that convinced it.
Batching is what keeps a long document inside the runtime's limit: one batch is one run, and you
decide how many runs to spend. The report always states how much of the file is still unread.
This is a coursework artefact built on a synthetic corpus of 1,100 PDFs carrying harmless
EICAR/AMTSO/WICAR/RANSIM test markers. It is not a general malware scanner, and real malware
does not announce itself the way these samples do.
Running on the GPU runtime
(4-bit NF4 — Part B’s own configuration),
about 4.2s per region.