# Changelog

> **This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.**

## Score

- CAI 61 → 62 (+1.1)

## Lenses

- Code Health 74 → 74 (+0.4)
- Architecture 93 → 93 (+0.0)
- Maturity 56 → 67 (+10.5)
- Readiness 62 → 62 (+0.6)
- Security 63 → 68 (+4.5)
- Accessibility 64 → 56 (-8.3)
- Performance 100 (new)

## Resolved (14)

- Both FileType and InferredType expose a method `content_type()` returning ContentType. While these are distinct types, the naming is identical despite potentially different semantic origins (FileType might be a parsed result, InferredType a model output). More critically, InferredType also has a property `inferred_type: ContentType`, which duplicates the return type of its method `content_type()`. This creates ambiguity: is `inferred_type` the same as `content_type()`?
- Documentation: no project overview (rust/gen/model/README.md)
- FileTooLong: src/main.rs (rust/cli/src/main.rs)
- FunctionTooLong: magika_cli::main (rust/cli/src/main.rs)
- High CVE: [GHSA redacted] (js/yarn.lock)
- InferredType exposes both a public property `content_type` of type String and a method `content_type()` returning ContentType. This is confusing: the property name shadows the method name, and the types differ (String vs ContentType), suggesting a legacy field or a mismatch in API design.
- Medium CVE: [GHSA redacted] (js/yarn.lock)
- Off-boarding risk: anonymized user #1
- PR-triggered workflow grants a write-scoped token
- The method names `identify_file` and `identify_content` are semantically overlapping. `identify_content` takes an `Input` trait object, which can represent a file. The distinction is not clear from the names alone. A user might wonder if `identify_file` is a specialized, faster path or if `identify_content` can also handle files. The naming suggests a file/content dichotomy that may not be strictly enforced or clear.
- magika_cli::main (cognitive 18) (rust/cli/src/main.rs)
- magika_cli::main (cyclomatic 20) (rust/cli/src/main.rs)
- magika_cli::print (cognitive 19) (rust/cli/src/main.rs)
- magika_cli::process_path (cognitive 18) (rust/cli/src/main.rs)

## New (15)

- Duplicated block (7 lines × 2) (rust/lib/src/cached_input.rs)
- High CVE: [GHSA redacted] (website-ng/package-lock.json)
- High CVE: [GHSA redacted] (website-ng/package-lock.json)
- High CVE: [GHSA redacted] (website-ng/package-lock.json)
- High: security finding (details withheld)
- Medium CVE: RUSTSEC-2026-0383 (rust/tract-bench/Cargo.lock)
- Medium: security finding (details withheld)
- Off-boarding risk: anonymized user #1
- Off-boarding risk: anonymized user #2
- Orphaned file (go/magika/features.go)
- Orphaned file (go/magika/scanner.go)
- PR-triggered workflow grants a write-scoped token (.github/workflows/cli-release.yml)
- TodoComment (rust/lib/src/file.rs)
- Workflow token grant is wider than its jobs use (.github/workflows/js-docs-builder.yml)
- magika::pipeline::paths::process_path (cognitive 19) (rust/lib/src/pipeline/paths.rs)

## Changes since last survey

- 27 commits — 24 feature/other, 3 fixes

## By area

- (repo) — 10 commits
- rust/lib — 5 commits
- .github/workflows — 3 commits
- .github/CODEOWNERS — 2 commits
- assets/content_types.yaml — 2 commits
- rust/cli — 2 commits
- website-ng/src — 2 commits
- python/scripts — 1 commit

## Notable commits

- fix: Merge pull request #1545 from shivamtiwari3/kb-fix-metadata-followup
- fix: kb: fix incorrect MIME types for asf and xlsb, and a dxf description typo
- fix: kb: fix incorrect group and description metadata (avif, fortran, one, swf, tcl)
- change: Add CachedInput to never read twice the same byte (#1550)
- change: Add back OverwriteReason (#1549)
- change: Add stubs for resolvers (#1557)
- change: Control each component individually from the CLI (#1559)
- change: Identify files with custom rules before the built-in rules (#1530)
- change: Merge pull request #1542 from google/gh-1451-ai-policy
- change: Merge pull request #1543 from shivamtiwari3/kb-fix-xlsb-asf-mime-dxf-typo
- change: Merge pull request #1546 from ia0/owner
- change: Merge pull request #1547 from google/adhoc-website-looks-good-but-bullet
- change: Merge pull request #1552 from ia0/features
- change: Merge pull request #1554 from ia0/owner
- change: Merge pull request #1555 from google/adhoc-check-this-out
- change: Merge pull request #1556 from google/adhoc-it-seems-we-don-t
- change: Merge pull request #1558 from google/adhoc-uv-lock-check
- change: Remove ia0 from owners of knowledge base
- change: Return more accurate type for identify_content
- change: Share the CLI's fast pipeline with Python and C through the library (#1531)
- …and 7 more

## Architecture

- Unchanged — 0 containers · 1 contexts · 0 edges
