…26-0628
The Audit job on main fails on RUSTSEC-2026-0628 (calamine 0.38: crafted
.xls/.xlsb/.ods files panic or allocate without bound). calamine 0.39 ships
only through markkit 0.3.4, but bashkit capped markkit below 0.3.2 because
markkit's email feature pulls mail-parser 1.x, which needs Rust 1.98, above
the 1.96 consumer floor.
List markkit's formats explicitly instead of all_formats, leaving out email,
and drop the cap and its Dependabot ignore entries. The markkit builtin no
longer reads .eml input; every other format is unchanged. A fresh 1.96
all-features consumer resolves with no crate above 1.96. The dependabot
coverage test now guards that email and all_formats stay off and that
mail-parser stays out of Cargo.lock.
Pulled inside the 3-day publish-age window via the documented security
override (CARGO_RESOLVER_INCOMPATIBLE_PUBLISH_AGE=allow).
Requested by Михайло · project thread
What changed
The
markkitbuiltin now builds on markkit/markkit-cli 0.3.4 (calamine 0.39) with its formats listed explicitly and without markkit'semailfeature. The<0.3.2version cap and its Dependabotignoreentries are gone. The builtin no longer reads.emlinput; HTML, PDF, DOCX, PPTX, spreadsheets, Markdown, ODT and EPUB are unchanged.Why
Auditon main fails on RUSTSEC-2026-0628 (high, 7.5): crafted .xls/.xlsb/.ods files make calamine 0.38 panic or allocate without bound. The fix is only in calamine 0.39, reached through markkit 0.3.4, but bashkit capped markkit at 0.3.1 because markkit'semailfeature pulls mail-parser 1.x, which declaresrust-version = 1.98, above the 1.96 consumer floor. Leavingemailout keeps the floor and lets markkit track releases again.markkit 0.3.4 is 15 hours old, so the lock was updated with the documented security override for the 3-day publish-age gate (
CARGO_RESOLVER_INCOMPATIBLE_PUBLISH_AGE=allow).Before / After
Before (main,
Audit):After:
Cargo.lockhas calamine 0.39.0, markkit 0.3.4, and no mail-parser. A fresh Rust 1.96 consumer with every bashkit feature (check-msrv-consumer.pyallmanifest) resolves with no crate declaring a rust-version above 1.96.cargo vet --lockedpasses; markkit (15) and fetchkit (10) builtin integration tests pass; clippy withmarkkit,fetchkitis clean.Risk
.emlfiles to themarkkitbuiltin now get an unsupported-format error. Re-addingemailneeds a deliberate floor raise to Rust 1.98.Checklist
test_markkit_never_enables_mail_parserreplaces the cap-drift test)Generated by Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.