gitextract_9puqy48w/ ├── .cargo/ │ └── config.toml ├── .dockerignore ├── .gemini/ │ └── config.yaml ├── .gitattributes ├── .github/ │ ├── CODEOWNERS │ ├── ISSUE_TEMPLATE/ │ │ ├── misdetection.md │ │ └── new_content_type_request.md │ ├── dependabot.yml │ ├── labeler.yml │ ├── scorecard.yml │ └── workflows/ │ ├── cli-latest.yml │ ├── cli-release.yml │ ├── codeql.yml │ ├── docs-check.yml │ ├── github-issue-labeler.yml │ ├── github-pages.yml │ ├── go-test.yml │ ├── js-check-import-scenarios.yml │ ├── js-docs-builder.yml │ ├── js-publish.yml │ ├── js-test.yml │ ├── python-build-and-release-package.yml │ ├── python-test-published-package.yml │ ├── python-test-published-rc-package.yml │ ├── python-test-suite.yml │ ├── rust-test.yml │ ├── scorecard.yml │ └── website-test.yml ├── .gitignore ├── CITATION.cff ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── README.md ├── assets/ │ ├── content_types_kb.min.json │ └── models/ │ ├── CHANGELOG.md │ ├── begonly_v2_1/ │ │ ├── config.min.json │ │ ├── metadata.json │ │ ├── model.keras │ │ └── model.onnx │ ├── fast_v2_1/ │ │ ├── config.min.json │ │ ├── metadata.json │ │ ├── model.keras │ │ └── model.onnx │ ├── standard_v1/ │ │ ├── README.md │ │ ├── content_types_config.json │ │ ├── magika_config.json │ │ ├── model.h5 │ │ ├── model_config.json │ │ └── thresholds.json │ ├── standard_v2_0/ │ │ ├── README.md │ │ ├── config.min.json │ │ ├── metadata.json │ │ ├── model.keras │ │ └── model.onnx │ ├── standard_v2_1/ │ │ ├── README.md │ │ ├── config.min.json │ │ ├── metadata.json │ │ ├── model.keras │ │ └── model.onnx │ ├── standard_v3_0/ │ │ ├── README.md │ │ ├── config.min.json │ │ ├── metadata.json │ │ └── model.onnx │ ├── standard_v3_1/ │ │ ├── README.md │ │ ├── config.min.json │ │ ├── metadata.json │ │ └── model.onnx │ ├── standard_v3_2/ │ │ ├── README.md │ │ ├── config.min.json │ │ ├── metadata.json │ │ └── model.onnx │ └── standard_v3_3/ │ ├── README.md │ ├── config.min.json │ ├── metadata.json │ └── model.onnx ├── dist-workspace.toml ├── docs/ │ ├── concepts.md │ └── js.md ├── go/ │ ├── README.md │ ├── cli/ │ │ ├── cli.go │ │ ├── cli_test.go │ │ ├── main.go │ │ └── tests_data/ │ │ └── magika_test_pptx.txt │ ├── docker/ │ │ └── Dockerfile │ ├── example/ │ │ └── main.go │ ├── go.mod │ ├── go.sum │ ├── magika/ │ │ ├── config.go │ │ ├── content.go │ │ ├── features.go │ │ ├── features_test.go │ │ ├── scanner.go │ │ └── scanner_test.go │ └── onnx/ │ ├── onnx.go │ ├── onnx_runtime.go │ ├── onnx_runtime.h │ ├── onnx_runtime_test.go │ └── onnx_zero.go ├── js/ │ ├── .gitignore │ ├── CHANGELOG.md │ ├── README.md │ ├── magika-cli.ts │ ├── magika-node.ts │ ├── magika.ts │ ├── package.json │ ├── postBuild.js │ ├── simple_examples/ │ │ ├── browser-esmodule-example/ │ │ │ ├── index.html │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── playwright.config.ts │ │ │ └── test/ │ │ │ └── simple.spec.ts │ │ ├── node-commonjs-example/ │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── node-esmodule-example/ │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── run_examples.sh │ │ └── typescript-esmodule-example/ │ │ ├── index.ts │ │ └── package.json │ ├── src/ │ │ ├── .npmignore │ │ ├── content-type-info.ts │ │ ├── content-type-label.ts │ │ ├── content-types-infos.ts │ │ ├── magika-options.ts │ │ ├── magika-prediction.ts │ │ ├── magika-result.ts │ │ ├── model-config-node.ts │ │ ├── model-config.ts │ │ ├── model-features.ts │ │ ├── model-node.ts │ │ ├── model-prediction.ts │ │ ├── model.ts │ │ ├── overwrite-reason.ts │ │ ├── prediction-mode.ts │ │ └── status.ts │ ├── test/ │ │ ├── features-extraction-vs-reference.test.ts │ │ ├── inference-vs-reference.test.ts │ │ ├── magika-cli.test.ts │ │ ├── magika.test.ts │ │ ├── tfnHook.ts │ │ └── utils.ts │ ├── tsconfig.cjs.json │ ├── tsconfig.esm.json │ └── tsconfig.json ├── python/ │ ├── .gitignore │ ├── .python-version │ ├── CHANGELOG.md │ ├── README.md │ ├── mypy.ini │ ├── pyproject.toml │ ├── pytest.ini │ ├── scripts/ │ │ ├── check_changelog.sh │ │ ├── check_copyright.py │ │ ├── check_documentation.py │ │ ├── check_source.sh │ │ ├── generate_reference.py │ │ ├── pre_release_check.py │ │ ├── prepare_pyproject_for_pure_python_wheel.py │ │ ├── run_quick_test_magika_cli.py │ │ ├── run_quick_test_magika_module.py │ │ ├── sync.py │ │ └── test_magika_model.py │ ├── src/ │ │ └── magika/ │ │ ├── __init__.py │ │ ├── cli/ │ │ │ ├── magika_client.py │ │ │ └── magika_rust_client_not_found_warning.py │ │ ├── colors.py │ │ ├── config/ │ │ │ └── content_types_kb.min.json │ │ ├── logger.py │ │ ├── magika.py │ │ ├── models/ │ │ │ └── standard_v3_3/ │ │ │ ├── README.md │ │ │ ├── config.min.json │ │ │ ├── metadata.json │ │ │ └── model.onnx │ │ ├── py.typed │ │ └── types/ │ │ ├── __init__.py │ │ ├── content_type_info.py │ │ ├── content_type_label.py │ │ ├── magika_error.py │ │ ├── magika_prediction.py │ │ ├── magika_result.py │ │ ├── model.py │ │ ├── overwrite_reason.py │ │ ├── prediction_mode.py │ │ ├── seekable.py │ │ ├── status.py │ │ └── strenum.py │ └── tests/ │ ├── __init__.py │ ├── test_features_extraction_vs_reference.py │ ├── test_inference_vs_reference.py │ ├── test_magika_python_module.py │ ├── test_python_magika_client.py │ └── utils.py ├── rust/ │ ├── .gitignore │ ├── README.md │ ├── changelog.sh │ ├── cli/ │ │ ├── CHANGELOG.md │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── output │ │ ├── publish.sh │ │ ├── src/ │ │ │ └── main.rs │ │ └── test.sh │ ├── color.sh │ ├── gen/ │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── content_types │ │ ├── src/ │ │ │ └── main.rs │ │ └── test.sh │ ├── latest.sh │ ├── lib/ │ │ ├── CHANGELOG.md │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── src/ │ │ │ ├── builder.rs │ │ │ ├── config.rs │ │ │ ├── content.rs │ │ │ ├── error.rs │ │ │ ├── file.rs │ │ │ ├── future.rs │ │ │ ├── input.rs │ │ │ ├── lib.rs │ │ │ ├── model.rs │ │ │ └── session.rs │ │ └── test.sh │ ├── onnx/ │ │ ├── build.sh │ │ └── maturin.sh │ ├── publish.sh │ ├── rustfmt.toml │ ├── sync.sh │ ├── taplo.toml │ └── test.sh ├── tests_data/ │ ├── README.md │ ├── basic/ │ │ ├── asm/ │ │ │ └── code.asm │ │ ├── batch/ │ │ │ └── simple.bat │ │ ├── c/ │ │ │ └── code.c │ │ ├── css/ │ │ │ └── code.css │ │ ├── csv/ │ │ │ └── magika_test.csv │ │ ├── dockerfile/ │ │ │ └── Dockerfile │ │ ├── docx/ │ │ │ ├── doc.docx │ │ │ └── magika_test.docx │ │ ├── eml/ │ │ │ └── sample.eml │ │ ├── empty/ │ │ │ └── empty_file │ │ ├── epub/ │ │ │ ├── doc.epub │ │ │ └── magika_test.epub │ │ ├── flac/ │ │ │ └── test.flac │ │ ├── handlebars/ │ │ │ └── example.handlebars │ │ ├── html/ │ │ │ └── doc.html │ │ ├── ignorefile/ │ │ │ ├── example.ignorefile │ │ │ └── other.ignorefile │ │ ├── ini/ │ │ │ └── doc.ini │ │ ├── javascript/ │ │ │ └── code.js │ │ ├── jinja/ │ │ │ └── example.j2 │ │ ├── json/ │ │ │ └── doc.json │ │ ├── latex/ │ │ │ └── sample.tex │ │ ├── makefile/ │ │ │ └── simple.Makefile │ │ ├── markdown/ │ │ │ ├── README.md │ │ │ ├── magika_test.md │ │ │ └── simple.md │ │ ├── mht/ │ │ │ └── sample.mht │ │ ├── odp/ │ │ │ └── magika_test.odp │ │ ├── ods/ │ │ │ └── magika_test.ods │ │ ├── odt/ │ │ │ ├── doc.odt │ │ │ └── magika_test.odt │ │ ├── ogg/ │ │ │ └── test.ogg │ │ ├── outlook/ │ │ │ └── sample.msg │ │ ├── pem/ │ │ │ ├── doc.pem │ │ │ └── doc.pub │ │ ├── pptx/ │ │ │ └── magika_test.pptx │ │ ├── psd/ │ │ │ └── MagikaTest.psd │ │ ├── python/ │ │ │ └── code.py │ │ ├── pytorch/ │ │ │ └── example.pth │ │ ├── rtf/ │ │ │ ├── doc.rtf │ │ │ └── magika_test.rtf │ │ ├── ruby/ │ │ │ └── code.rb │ │ ├── rust/ │ │ │ ├── asm.rs │ │ │ ├── code.rs │ │ │ ├── test_case1.rs │ │ │ └── test_case2.rs │ │ ├── smali/ │ │ │ └── code.smali │ │ ├── srt/ │ │ │ └── code.srt │ │ ├── swift/ │ │ │ └── code.swift │ │ ├── toml/ │ │ │ └── doc.toml │ │ ├── tsv/ │ │ │ └── magika_test.tsv │ │ ├── twig/ │ │ │ └── example.twig │ │ ├── txt/ │ │ │ ├── complex-sentence.txt │ │ │ ├── few-words.txt │ │ │ ├── lorem-big.txt │ │ │ ├── lorem-small.txt │ │ │ ├── magika_test_pptx.txt │ │ │ ├── many-words.txt │ │ │ ├── one-sentence-with-newline.txt │ │ │ ├── one-sentence.txt │ │ │ └── random-ascii.txt │ │ ├── typescript/ │ │ │ └── code.ts │ │ ├── xlsx/ │ │ │ └── magika_test.xlsx │ │ ├── yaml/ │ │ │ ├── dependabot.yml │ │ │ └── python-test.yml │ │ ├── yara/ │ │ │ └── rule.yar │ │ └── zig/ │ │ └── code.zig │ ├── current_missdetections/ │ │ ├── html/ │ │ │ └── malformed-html-gh-521.html │ │ └── xls/ │ │ └── password-protected-example.xls │ ├── mitra/ │ │ ├── bzip/ │ │ │ └── bzip2.bz2 │ │ ├── cab/ │ │ │ └── cab.cab │ │ ├── elf/ │ │ │ ├── elf.elf │ │ │ └── elf64.elf │ │ ├── flac/ │ │ │ ├── flac.flac │ │ │ └── tiny.flac │ │ ├── iso/ │ │ │ └── iso.iso │ │ ├── ogg/ │ │ │ └── vorbis.ogg │ │ ├── pcap/ │ │ │ └── pcap.pcap │ │ ├── php/ │ │ │ └── php.php │ │ ├── rtf/ │ │ │ └── rich.rtf │ │ ├── tga/ │ │ │ └── footer.tga │ │ ├── tiff/ │ │ │ ├── tiff-be.tif │ │ │ └── tiff-le.tif │ │ ├── webm/ │ │ │ └── webm.webm │ │ ├── xar/ │ │ │ ├── hello-world.xar │ │ │ └── mini.xar │ │ └── xz/ │ │ └── xz.xz │ └── mitra_candidates/ │ ├── DS_Store │ ├── ace.ace │ ├── dicom.dcm │ ├── hdf5.h5 │ ├── html.htm │ ├── jp2-stream.jp2 │ ├── jp2.jp2 │ ├── lha.lzh │ ├── lzip.lz │ ├── mini.bplist │ ├── mini.plist │ ├── mini.protobuf │ ├── pcapng.pcapng │ ├── photoshop.psd │ ├── qoi.qoi │ ├── raw.tga │ ├── tiny.avro │ ├── wad.wad │ └── wasm.wasm ├── website/ │ ├── .gitignore │ ├── README.md │ ├── index.html │ ├── jsconfig.json │ ├── package.json │ ├── public/ │ │ ├── model/ │ │ │ ├── config.json │ │ │ └── model.json │ │ └── models/ │ │ ├── standard_v3_2/ │ │ │ ├── config.min.json │ │ │ ├── metadata.json │ │ │ └── model.json │ │ └── standard_v3_3/ │ │ ├── README.md │ │ ├── config.min.json │ │ ├── metadata.json │ │ └── model.json │ ├── src/ │ │ ├── App.vue │ │ └── main.js │ └── vite.config.js └── website-ng/ ├── .gcloudignore ├── .gitignore ├── README.md ├── app.yaml ├── astro.config.mjs ├── components.json ├── content.config.ts ├── jsrepo.json ├── package.json ├── public/ │ └── models/ │ ├── standard_v3_2/ │ │ ├── config.min.json │ │ ├── metadata.json │ │ └── model.json │ └── standard_v3_3/ │ ├── README.md │ ├── config.min.json │ ├── metadata.json │ └── model.json ├── src/ │ ├── components/ │ │ └── MagikaDemo.svelte │ ├── content/ │ │ └── docs/ │ │ ├── additional-resources/ │ │ │ ├── changelog.md │ │ │ ├── disclaimer.md │ │ │ ├── faq.md │ │ │ ├── license.md │ │ │ ├── related-blog-posts.md │ │ │ └── research-papers-and-citation.md │ │ ├── cli-and-bindings/ │ │ │ ├── cli.md │ │ │ ├── js-api.md │ │ │ ├── js.md │ │ │ ├── other-bindings.md │ │ │ ├── overview.md │ │ │ ├── python.md │ │ │ └── rust.md │ │ ├── contributing/ │ │ │ ├── creating-new-bindings.md │ │ │ ├── how-to-contribute.md │ │ │ ├── known-limitations.md │ │ │ └── reporting-security-vulnerabilities.md │ │ ├── core-concepts/ │ │ │ ├── how-magika-works.md │ │ │ ├── models-and-content-types.md │ │ │ ├── prediction-modes.md │ │ │ └── understanding-the-output.md │ │ ├── demo/ │ │ │ └── magika-demo.mdx │ │ ├── getting-started/ │ │ │ ├── installation.mdx │ │ │ └── quick-start.md │ │ ├── index.mdx │ │ ├── introduction/ │ │ │ └── overview.md │ │ └── models/ │ │ └── standard_v3_3.md │ ├── content.config.ts │ ├── lib/ │ │ ├── components/ │ │ │ └── ui/ │ │ │ ├── button/ │ │ │ │ ├── button.svelte │ │ │ │ └── index.ts │ │ │ ├── card/ │ │ │ │ ├── card-action.svelte │ │ │ │ ├── card-content.svelte │ │ │ │ ├── card-description.svelte │ │ │ │ ├── card-footer.svelte │ │ │ │ ├── card-header.svelte │ │ │ │ ├── card-title.svelte │ │ │ │ ├── card.svelte │ │ │ │ └── index.ts │ │ │ ├── file-drop-zone/ │ │ │ │ ├── file-drop-zone.svelte │ │ │ │ ├── index.ts │ │ │ │ └── types.ts │ │ │ ├── input/ │ │ │ │ ├── index.ts │ │ │ │ └── input.svelte │ │ │ ├── label/ │ │ │ │ ├── index.ts │ │ │ │ └── label.svelte │ │ │ ├── progress/ │ │ │ │ ├── index.ts │ │ │ │ └── progress.svelte │ │ │ ├── tabs/ │ │ │ │ ├── index.ts │ │ │ │ ├── tabs-content.svelte │ │ │ │ ├── tabs-list.svelte │ │ │ │ ├── tabs-trigger.svelte │ │ │ │ └── tabs.svelte │ │ │ └── textarea/ │ │ │ ├── index.ts │ │ │ └── textarea.svelte │ │ ├── utils/ │ │ │ └── utils.ts │ │ └── utils.ts │ ├── pages/ │ │ ├── install.ps1.ts │ │ └── install.sh.ts │ └── styles/ │ └── global.css ├── svelte.config.js └── tsconfig.json