Upgrade tuf, securesystemslib and in-toto and migrate the downloader and dev signing #26226
All Vouch review confidence checks passed
Residual risk 0.34 = Change Risk (0.63) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.63 · 285 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.338
Sensitive Paths
sensitive_paths
0.063
Real PR Conversation Timeline
1 comments
"Review active on #26226"
general
weight: 0.35
aiuto
What does this PR do?
Upgrades
tufto 7.0.1,securesystemslibto 1.6.0 andin-tototo 3.1.0 inagent_requirements.in, and migrates the code that depends on them. The.deps/resolved/*lockfiles are left to the resolution workflow.Downloader:
securesystemslib.interfacekey loader. It keeps the legacy keyids, because the offline-signed in-toto layout and links reference keys by them and securesystemslib 1.x derives different ones.RequestsFetcherfromtuf.ngclient.requests_fetcherand passes the now-requiredUpdaterbootstrapargument (None, i.e. the cachedroot.json).CryptoSigner.pyproject.toml.Dev package:
signing.pyoff the removed securesystemslib APIs, keeping legacy keyids for machine-key signatures and the 60s GPG timeout, and syncs the pins.Motivation
Supersedes #26046 (automated security bump for CVE-2026-123806 in
tuf), whose two P1 review findings were that the downloader fails at import under securesystemslib 1.x and that the consumer pins were stale. Upstream: securesystemslib 1.0.0 changelog.Verified with
ddev validate depandddev test datadog_checks_downloader(76 passed, 1 skipped, including real in-toto verification). The machine-key signing path was checked end to end against keyids from securesystemslib 0.28; the GPG/Yubikey path was only mock-tested.RequestsFetcheris deprecated upstream, so moving toUrllib3Fetcheris a follow-up. A changelog entry is still to be added now that the PR number exists.Checklist before requesting review
🤖 Generated with Claude Code