# Security / セキュリティー [English](#english) | [日本語](#日本語) ## English **Verified conversion.** `manga-ocr-base-mlx` was audited on 2026-10-03 with [model-audit-lite](https://github.com/masahiroid/model-audit-lite) v0.5.2 against its upstream, [`kha-white/manga-ocr-base`](https://huggingface.co/kha-white/manga-ocr-base). Everything below can be re-run by you with one command. ### What was verified | Check | Result | |---|---| | Weight format | `safetensors` only. No pickle-format files (`.bin` / `.pt` / `.pkl`), the format family that can execute code when loaded. | | Lineage | A CycloneDX 1.6 ML-BOM ([`bom.json`](bom.json)) records every file's SHA-256 and the conversion chain back to [`kha-white/manga-ocr-base`](https://huggingface.co/kha-white/manga-ocr-base) (audited revision `a9019731880f`). | | Bundled code | Added by this conversion (not in upstream): `manga_ocr_mlx.py`. Plain source written for this conversion (inference / export helpers); it runs only if you import or execute it. Hashes below; read before use. | | Safety behavior | Not applicable: this is not an instruction-following chat model, so there is no instruction behavior to probe. | ### Why use this build rather than another conversion of the same model You normally cannot tell what a conversion you did not make has changed. Here you can: every file is hashed, the lineage back to upstream is machine-readable, and the audit is reproducible with one command. The command is at the bottom. ### Scope This audit covers the distribution (files, lineage). It does not inspect the weights for backdoors. Model behavior comes from the upstream model; format conversion and quantization can shift it in either direction. ### Checksums (SHA-256) ``` 93a8f2b3afeb63a263ba29b185bd30d7b7346ff994794350f1677f10441a8a15 manga_ocr_mlx.py 4f45caf99d739e7d169658830ad8ddab1ac4a97a1f31339528c9d7548fe34351 model.safetensors ``` ### Reproduce ```bash pip install model-audit-lite model-audit-lite scan masahiroid/manga-ocr-base-mlx --base kha-white/manga-ocr-base ``` ## 日本語 **検証済みの変換版です。** `manga-ocr-base-mlx` は 2026-10-03 に [model-audit-lite](https://github.com/masahiroid/model-audit-lite) v0.5.2 で、変換元 [`kha-white/manga-ocr-base`](https://huggingface.co/kha-white/manga-ocr-base) と突き合わせて監査しました。以下はすべて、1コマンドであなた自身が再実行できます。 ### 検証した内容 | 項目 | 結果 | |---|---| | 重みの形式 | `safetensors` のみ。pickle形式(`.bin` / `.pt` / `.pkl`)のファイルはありません。読み込み時にコードを実行しうる形式群です。 | | 系譜 | CycloneDX 1.6 の ML-BOM([`bom.json`](bom.json))に、全ファイルのSHA-256と、[`kha-white/manga-ocr-base`](https://huggingface.co/kha-white/manga-ocr-base) までの変換の経路を記録しています(監査したリビジョン `a9019731880f`)。 | | 同梱コード | この変換で追加(変換元には無い): `manga_ocr_mlx.py`。この変換のために書いた平文のソース(推論・変換の補助)で、importや実行をしない限り動きません。ハッシュは下記。使う前に中身をご確認ください。 | | 安全性の挙動 | 対象外: 指示に従うチャットモデルではないため、指示への挙動を試験する対象がありません。 | ### 同じモデルの他の変換版ではなく、これを選ぶ理由 自分で作っていない変換版が何を変えたのかは、普通は分かりません。この版は、全ファイルにハッシュがあり、変換元までの系譜が機械可読で、1コマンドで再現できます。 再現のコマンドは末尾にあります。 ### 範囲 この監査の対象は、配布物(ファイル・系譜)です。重みのバックドアの検査は含みません。モデルの挙動は変換元に由来し、形式変換や量子化で良くも悪くも変わりうるため、変換前後の差は保証しません。 ### チェックサム (SHA-256) 上記の英語セクションと同じです([`bom.json`](bom.json) にも機械可読で記載)。 ### 再現方法 上記の英語セクションと同じコマンドです。 --- [model-audit-lite](https://github.com/masahiroid/model-audit-lite) (MIT License; cite: [DOI 10.5281/zenodo.23122770](https://doi.org/10.5281/zenodo.23122770)) — you can run the same audit on your own models. / 自分のモデルにも同じ監査を適用できます。