← Back to Pull requests

MP2-028: inspect suffixless ZIP payloads #155

Closed
unknown closed this pull request without merging on Sep 25, 2026 18:52 UTC
View on GitHub
unknown unknown commented on Sep 25, 2026 16:19 UTC
Author

Outcome

Problem

Exact merged main a60d0000a175343fcde3aec6e669cbf9a12864d3 failed the retained Bounded ROS 2 and MCAP Recorded-State Profile run 36159239930, job 108151548691. The path-leak assertion classified archives only by a .zip suffix, so a ZIP stored as a publication-store .blob was scanned as opaque deflate bytes. A coincidental V:/-shaped byte sequence was then misclassified as a private Windows path.

User-visible behavior

Path-leak validation now recognizes ZIP payloads by file content. Suffixless publication-store archives are opened without extraction and retain all existing member-name, traversal, explicit-forbidden-value, and generic private-path checks. Non-archive files remain byte-scanned exactly as before.

Changes

Scope

Changes one assertion branch in the existing ROS 2/MCAP installed-fixture test from suffix-based ZIP detection to zipfile.is_zipfile. Mechanically refreshes the four governed public-surface and traceability projections that bind the changed test blob, and binds this correction to the open Main Health incident. No production code, workflow, broker, delegation, ruleset, protection, trust-root, release, or publication authority changes.

Compatibility

Python 3.12/3.13 and governed Linux/macOS support are unchanged. The existing test identities and collection count are unchanged.

Evidence and research impact

Original exact-main failure run 36159239930 and job 108151548691 remain retained and are not relabelled or replaced. Frozen evidence, fixture bytes, checksums, research claims, and source-family contracts are unchanged.

Validation

Tests

  • Final focused bundle: 184 passed, 2 skipped.

  • Exact failing fixture module: 18 passed.

  • Incident movable/path-clean case: five additional consecutive passes.

  • Ruff lint and format: passed.

  • Strict mypy for the changed test module: passed.

  • git diff --check: passed; test identities/counts unchanged by the one-line assertion correction.

  • Generated public-surface and traceability currentness checks: passed locally.

  • Independent review: APPROVE, bound to full binary diff SHA-256 f2ba1ca2831005525c99f42ad584b406544004de7a89d579e550530828bfe746.

  • Final exact head: 6793cfa1cae8d6e1cb3b37d1297096d7ba5a0ed1; complete hosted qualification is required before merge.
  • Documentation

    Four governed generated files are mechanically refreshed only for the changed test blob locator; product behavior, public identities, and measured collection counts do not change.

    Boundaries

    Privacy and security

    No credentials, personal data, private paths, external payloads, or new authority mechanisms are added. Archive extraction remains prohibited; validation reads names and member bytes only.

    Checklist

  • The pull request is focused and its diff has been reviewed.

  • New or changed behavior has tests, including a relevant failure path.

  • Focused checks pass locally; required complete qualification must be green for the exact candidate before merge.

  • User-facing commands, support boundaries, and documentation remain truthful.

  • Third-party material has compatible licensing and required attribution.

  • No credentials, private recordings, personal data, or identifying workcell data were added.

  • Frozen v0.2.0 evidence, checksums, measurements, tag, and DOI metadata were not rewritten.

  • Current package capabilities are not attributed to the v0.2.0 SoftwareX evidence or the TIM v0.1.3 measurements.
  • Main-health owner emergency: MET-77
    Incident: f9d992b352b9c4ae6c4c854c2ffa4ea3a1374f6deef6760a41b086cbdd56b808

    Diff: 454 lines (+340 / -114) across 5 files Reviewer: Miko997 Review duration: 153m
    All Vouch review confidence checks passed
    Residual risk 0.27 = Change Risk (0.69) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.69 · 454 lines diff across 5 files
    0.69
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.366
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.069
    Real PR Conversation Timeline
    1 comments
    "Review active on #155"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 68.7% (HIGH) · Higher = larger blast radius
    68.7%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 27.1% · Safe to merge
    27.1%