Fast and accurate AI powered file content types detection
This report summarizes scanner evidence for google/magika, a Rust project with 18,705 GitHub stars. SynthScan examined 82,179 lines of code across 394 source files, recording 316 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 5.3 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 225 finding(s).
Are imports declared and package/API names verified? 37 finding(s).
Are wrappers, guards, and repeated structures necessary? 124 finding(s).
Which changes need focused human review? 316 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 316 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tests/test_magika_python_module.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | python/tests/utils.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | python/scripts/sync.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | python/scripts/sync.py | 61 | update_js_content_type_files() | COMMENT |
| LOW | python/scripts/sync.py | 141 | // | COMMENT |
| LOW | python/scripts/run_phases_1_to_3.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | python/scripts/run_phases_1_to_3.sh | 21 | # Phase 1: Local Development & Workspace Checks (On This Machine) | COMMENT |
| LOW | python/scripts/check_copyright.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | python/scripts/run_quick_test_magika_module.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | python/scripts/check_source.sh | 1 | #!/bin/bash | COMMENT |
| LOW | python/scripts/check_changelog.sh | 1 | #!/bin/bash | COMMENT |
| LOW | python/scripts/pre_release_check.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | python/scripts/test_magika_model.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | python/scripts/build_wheel.sh | 1 | #!/bin/bash | COMMENT |
| LOW | python/scripts/run_quick_test_magika_cli.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | python/scripts/build_and_stage_cli.sh | 1 | #!/bin/bash | COMMENT |
| LOW | python/scripts/build_and_stage_cli.sh | 21 | # ---------------------------------------- | COMMENT |
| LOW | python/scripts/build_and_stage_cli.sh | 41 | # | COMMENT |
| LOW | python/scripts/generate_reference.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | python/scripts/check_documentation.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | python/scripts/sync_dev.sh | 1 | #!/bin/bash | COMMENT |
| LOW | python/src/magika/magika.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | python/src/magika/__init__.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | python/src/magika/logger.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | python/src/magika/colors.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | python/src/magika/types/prediction_mode.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | python/src/magika/types/magika_error.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | python/src/magika/types/content_type_info.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | python/src/magika/types/__init__.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | python/src/magika/types/content_type_label.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | python/src/magika/types/overwrite_reason.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | python/src/magika/types/magika_prediction.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | python/src/magika/types/magika_result.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | python/src/magika/types/strenum.py | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | python/src/magika/types/status.py | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | js/magika-cli.ts | 1 | #! /usr/bin/env node | COMMENT |
| LOW | js/magika-node.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/magika.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/test/tfnHook.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/test/magika-cli.test.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/test/inference-vs-reference.test.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/test/utils.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/test/features-extraction-vs-reference.test.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/test/magika.test.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/src/model-prediction.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/src/content-type-info.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/src/status.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/src/magika-prediction.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/src/model-node.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/src/magika-result.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/src/overwrite-reason.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/src/model.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/src/content-types-infos.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/src/prediction-mode.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/src/magika-options.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/src/content-type-label.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/src/model-config-node.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/src/model-features.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | js/src/model-config.ts | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | rust/changelog.sh | 1 | #!/bin/sh | COMMENT |
| 81 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 46 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 50 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 52 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 126 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 128 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 131 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 133 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 238 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 240 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 243 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 245 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 325 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 327 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 330 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 332 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 342 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 344 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 351 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | python/scripts/run_phases_1_to_3.sh | 353 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 16 | # ============================================================================== | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 18 | # ============================================================================== | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 91 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 93 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 162 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 164 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 178 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 180 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 199 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 201 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 261 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 263 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 302 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 304 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 369 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 371 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 401 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 403 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 430 | # ============================================================================== | COMMENT |
| MEDIUM | python/scripts/run_phases_1_to_3.sh | 432 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | python/scripts/build_and_stage_cli.sh | 16 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | python/scripts/build_and_stage_cli.sh | 18 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | python/scripts/build_and_stage_cli.sh | 21 | # ---------------------------------------- | COMMENT |
| MEDIUM | python/scripts/build_and_stage_cli.sh | 50 | # ============================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | python/tests/test_magika_python_module.py | 66 | def test_magika_module_with_explicit_model_dir() -> None: | CODE |
| LOW⚡ | python/tests/test_magika_python_module.py | 71 | def test_magika_module_with_basic_tests_by_paths() -> None: | CODE |
| LOW⚡ | python/tests/test_magika_python_module.py | 79 | def test_magika_module_with_basic_tests_by_path() -> None: | CODE |
| LOW⚡ | python/tests/test_magika_python_module.py | 89 | def test_magika_module_with_basic_tests_by_bytes() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 39 | def test_magika_module_check_version() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 53 | def test_magika_module_with_one_test_file() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 102 | def test_magika_module_with_basic_tests_by_stream() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 115 | def test_magika_module_with_previously_missdetected_samples() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 123 | def test_magika_module_with_empty_content() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 153 | def test_magika_module_with_short_content() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 191 | def test_magika_module_with_python_and_non_python_content() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 208 | def test_magika_module_identify_stream_does_not_alter_position() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 228 | def test_magika_module_with_whitespaces() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 289 | def test_magika_module_with_directory() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 302 | def test_magika_module_multiple_copies_of_the_same_file() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 318 | def test_magika_module_with_symlink() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 347 | def test_magika_module_with_non_existing_file() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 359 | def test_magika_module_with_permission_error() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 392 | def test_magika_module_with_really_many_files() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 407 | def test_magika_module_with_big_file() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 431 | def test_api_call_with_bad_types() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 464 | def test_access_magika_result_and_prediction(): | CODE |
| LOW | python/tests/test_magika_python_module.py | 511 | def test_access_backward_compatibility_layer() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 540 | def test_get_model_and_output_content_types() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 617 | def get_expected_content_type_label_from_test_file_path( | CODE |
| LOW | python/tests/test_magika_python_module.py | 623 | def check_result_vs_expected_result( | CODE |
| LOW | python/tests/test_magika_python_module.py | 634 | def check_results_vs_expected_results( | CODE |
| LOW | python/tests/test_magika_python_module.py | 641 | def test_magika_result_asdict() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 685 | def test_magika_and_result_str_and_repr() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 710 | def test_magika_result_direct_instantiation() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 757 | def test_content_type_info_field_types() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 773 | def test_content_type_label_str_behavior() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 795 | def test_prediction_mode_enums_and_valid_modes() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 810 | def test_status_and_overwrite_reason_enums() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 829 | def test_magika_prediction_immutability() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 841 | def test_magika_constructor_options_and_errors() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 853 | def test_identify_paths_empty_list() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 860 | def test_identify_paths_mixed_statuses() -> None: | CODE |
| LOW | python/tests/test_magika_python_module.py | 934 | def test_prediction_mode_via_identify_apis() -> None: | CODE |
| LOW⚡ | python/tests/utils.py | 39 | def get_basic_tests_files_dir() -> Path: | CODE |
| LOW⚡ | python/tests/utils.py | 45 | def get_mitra_tests_files_dir() -> Path: | CODE |
| LOW⚡ | python/tests/utils.py | 51 | def get_previously_missdetected_files_dir() -> Path: | CODE |
| LOW⚡ | python/tests/utils.py | 57 | def get_basic_test_files_paths() -> List[Path]: | CODE |
| LOW⚡ | python/tests/utils.py | 63 | def get_mitra_test_files_paths() -> List[Path]: | CODE |
| LOW⚡ | python/tests/utils.py | 69 | def get_previously_missdetected_files_paths() -> List[Path]: | CODE |
| LOW⚡ | python/tests/utils.py | 75 | def get_reference_features_extraction_examples_path() -> Path: | CODE |
| LOW⚡ | python/tests/utils.py | 79 | def get_reference_for_inference_examples_by_path_path(model_name: str) -> Path: | CODE |
| LOW⚡ | python/tests/utils.py | 87 | def get_reference_for_inference_examples_by_content_path(model_name: str) -> Path: | CODE |
| LOW⚡ | python/tests/utils.py | 95 | def get_one_basic_test_file_path() -> Path: | CODE |
| LOW | python/tests/utils.py | 123 | def write_random_file_with_size(sample_path: Path, sample_size: int) -> None: | CODE |
| LOW | python/tests/utils.py | 167 | def get_imported_objects_after_wildcard() -> Dict[str, Any]: | CODE |
| LOW | python/scripts/sync.py | 101 | def update_python_content_type_label_py() -> None: | STRING |
| LOW | python/scripts/sync.py | 165 | def update_js_content_type_files() -> None: | STRING |
| LOW | python/scripts/pre_release_check.py | 207 | def get_magika_package_version_via_pip_show() -> str: | CODE |
| LOW | python/scripts/pre_release_check.py | 260 | def test_is_valid_python_version() -> None: | STRING |
| LOW | python/scripts/check_documentation.py | 72 | def check_versions_are_up_to_date() -> bool: | CODE |
| LOW⚡ | python/scripts/check_documentation.py | 129 | def get_python_latest_stable_version() -> str: | CODE |
| LOW⚡ | python/scripts/check_documentation.py | 137 | def get_python_default_model_name() -> str: | CODE |
| LOW⚡ | python/scripts/check_documentation.py | 144 | def get_javascript_default_model_name() -> str: | CODE |
| LOW | python/scripts/check_documentation.py | 162 | def get_rust_default_model_name() -> str: | CODE |
| 10 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tests/test_magika_python_module.py | 15 | CODE | |
| LOW | python/scripts/sync.py | 20 | CODE | |
| LOW | python/scripts/check_documentation.py | 21 | CODE | |
| LOW | python/src/magika/magika.py | 21 | CODE | |
| LOW | python/src/magika/__init__.py | 20 | CODE | |
| LOW | python/src/magika/__init__.py | 21 | CODE | |
| LOW | python/src/magika/__init__.py | 22 | CODE | |
| LOW | python/src/magika/__init__.py | 23 | CODE | |
| LOW | python/src/magika/__init__.py | 24 | CODE | |
| LOW | python/src/magika/__init__.py | 25 | CODE | |
| LOW | python/src/magika/__init__.py | 26 | CODE | |
| LOW | python/src/magika/__init__.py | 27 | CODE | |
| LOW | python/src/magika/__init__.py | 28 | CODE | |
| LOW | python/src/magika/logger.py | 17 | CODE | |
| LOW | python/src/magika/types/prediction_mode.py | 17 | CODE | |
| LOW | python/src/magika/types/__init__.py | 18 | CODE | |
| LOW | python/src/magika/types/__init__.py | 19 | CODE | |
| LOW | python/src/magika/types/__init__.py | 20 | CODE | |
| LOW | python/src/magika/types/__init__.py | 21 | CODE | |
| LOW | python/src/magika/types/__init__.py | 22 | CODE | |
| LOW | python/src/magika/types/__init__.py | 23 | CODE | |
| LOW | python/src/magika/types/__init__.py | 24 | CODE | |
| LOW | python/src/magika/types/__init__.py | 25 | CODE | |
| LOW | python/src/magika/types/magika_prediction.py | 17 | CODE | |
| LOW | python/src/magika/types/strenum.py | 26 | CODE | |
| LOW | scripts/sync_kb.py | 32 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/sync_kb.py | 103 | "only null, true, and false may be unquoted", | CODE |
| HIGH | scripts/sync_kb.py | 204 | f"{field}: must be a non-empty string or null, got {value!r} ({_type_name(value)})" | CODE |
| HIGH | scripts/sync_kb.py | 663 | _SELF_TEST_VALID_YAML.replace('["null"]', "[null]"), | STRING |
| HIGH | scripts/sync_kb.py | 885 | '{"null":{"mime_type":null,"group":null,"description":null,' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/scripts/pre_release_check.py | 187 | except Exception: | CODE |
| HIGH | rust/rules/tests/data/export_regressions.py | 89 | except ValueError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests_data/basic/txt/lorem-small.txt | 2 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Collatio igitur ista te nihil iuvat. Honesta oratio, Socratica, | CODE |
| LOW | tests_data/basic/txt/lorem-small.txt | 2 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Collatio igitur ista te nihil iuvat. Honesta oratio, Socratica, | CODE |
| LOW⚡ | tests_data/basic/txt/lorem-big.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer aliquam dui sit amet justo eleifend ullamcorper. Class | CODE |
| LOW⚡ | tests_data/basic/txt/lorem-big.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer aliquam dui sit amet justo eleifend ullamcorper. Class | CODE |
| LOW⚡ | tests_data/basic/txt/lorem-big.txt | 7 | Ut eleifend lectus et ullamcorper interdum. Sed laoreet, quam at placerat viverra, ipsum erat rhoncus dolor, sit amet el | CODE |
| LOW⚡ | tests_data/basic/txt/lorem-big.txt | 7 | Ut eleifend lectus et ullamcorper interdum. Sed laoreet, quam at placerat viverra, ipsum erat rhoncus dolor, sit amet el | CODE |
| LOW | tests_data/basic/markdown/simple.md | 9 | Lorem ipsum? | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/scripts/run_quick_test_magika_module.py | 41 | CODE | |
| LOW | python/scripts/pre_release_check.py | 160 | CODE | |
| LOW | python/scripts/run_quick_test_magika_cli.py | 43 | CODE | |
| LOW | python/scripts/check_documentation.py | 168 | CODE | |
| LOW | python/scripts/check_documentation.py | 225 | CODE | |
| LOW | scripts/sync_kb.py | 180 | CODE | |
| LOW | scripts/sync_kb.py | 253 | CODE | |
| LOW | scripts/sync_kb.py | 376 | CODE | |
| LOW | scripts/sync_kb.py | 408 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/CHANGELOG.md | 94 | print(f"Error: {result.status}") | CODE |
| LOW | python/scripts/pre_release_check.py | 88 | except Exception: | CODE |
| LOW | python/scripts/pre_release_check.py | 187 | except Exception: | CODE |
| LOW | python/scripts/run_quick_test_magika_cli.py | 58 | except Exception as e: | CODE |
| MEDIUM | website-ng/src/content/docs/cli-and-bindings/python.md | 92 | ... print(f"Error: {result.status.message}") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/cli-release.yml | 270 | # Create a GitHub Release while uploading all files to it | COMMENT |
| MEDIUM | assets/content_types.yaml | 3 | # This file is the human-editable source of truth for all the content types | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/scripts/sync.py | 101 | def update_python_content_type_label_py() -> None: | STRING |
| LOW | python/scripts/sync.py | 165 | def update_js_content_type_files() -> None: | STRING |
| LOW | python/src/magika/__init__.py | 36 | __all__ = [ | CODE |
| LOW | python/src/magika/types/__init__.py | 27 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | python/scripts/run_phases_1_to_3.sh | 43 | # Usage: | COMMENT |
| LOW | python/scripts/build_and_stage_cli.sh | 48 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/scripts/pre_release_check.py | 179 | # Check if it is a python script | COMMENT |