Commit Graph
12 Commits
Author SHA1 Message Date
bchanot 85c2183791 feat(anatomy): Rust SVG reader: tree, allowlist sanitiser, reference graph, serialiser (O4/O5 green) 2026-10-14 23:46:10 +02:00
bchanot b440a2f3fa test(pdf): R3 freeze O4/O5 sanitiser verdicts on the hostile corpus and the product SVGs 2026-10-14 23:30:56 +02:00
bchanot d1aa35e97c test(pdf): R3 freeze O3 highlighted compositions as trees 2026-10-14 23:29:05 +02:00
bchanot 62b2b9d86a fix(pdf): candidates sorted by data offset, JSON depth pre-scan before parse, budget wording; chore(memory): BLK-009 mitigated with gate, EVAL-014, journal, TODO, CLAUDE.md import notes 2026-10-11 17:31:07 +02:00
bchanot 3a6e92625a fix(pdf): inflater fed in 16 KiB slices (browser memory bound), shared 16 MiB candidate budget, monotonic bounded endstream search, JSON object pre-check 2026-10-11 17:08:56 +02:00
bchanot 60ee71208f fix(pdf): bounded attachment extraction by byte scan — no pdf-lib parse on import, export without object streams (BLK-009) 2026-10-11 16:42:45 +02:00
bchanot 293a6e0b36 fix(pdf): bundle the branding assets into the app (no fetch at export), export returns its warnings and the editor reports missing elements 2026-10-11 16:09:39 +02:00
bchanot cb95627a11 fix(pdf): PNG gate inflates IDAT natively against the exact raw size, validates IHDR fields, refuses zero dimensions and interlace (UPNG inflateRaw spin) 2026-10-11 14:52:03 +02:00
bchanot 0ceb357b18 fix(pdf): PNG chunk allowlist and mandatory empty IEND — text and profile chunks refused (UPNG nextZero spin) 2026-10-11 14:29:56 +02:00
bchanot 3a26c61119 fix(pdf): link URIs as ASCII hex (readable by poppler), PNG budget walks the chunk list (second IHDR and APNG refused) 2026-10-11 14:14:10 +02:00
bchanot 1f417b21fd fix(pdf): security hardening — hex-encoded link URIs, strict branding URL schema, branding and labels re-validated at export, PNG dimension budget, CSS escape and parenthesis rules in the sanitiser, finite raster size, file size checked before read 2026-10-11 13:54:18 +02:00
bchanot c17956031d feat(pdf): @faunosteo/pdf engine — explicit inputs, envelope v1 attachment, layered reader, xmldom composition, allowlist SVG sanitiser, WinAnsi guard, rasterizer adapter; goldens reproduced 2026-10-11 13:09:17 +02:00