build: support LIEF 0.17.x and 1.x #66240
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.31) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.31 · 108 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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.289
Diff Size
diff_size
0.281
Real PR Conversation Timeline
1 comments
"Review active on #66240"
general
weight: 0.35
aduh95
Keep bundled LIEF at 0.17.0 while making the LIEF integration compatible with both 0.17.x and 1.0.0. Select the Mach-O section API from the headers in use, and the bundled source list and Mbed TLS configuration by version.
Prepare the updater for Mbed TLS 4 and TF-PSA-Crypto, including generated sources, so the LIEF vendor update can land separately.
Validation results: https://github.com/nodejs/node/pull/66240#issuecomment-5848073582
Fixes: https://github.com/nodejs/node/issues/66238
Refs: https://github.com/nodejs/node/pull/66242
Note: The build fix for #63530 and the fix for CVE-2025-15504 remain in the follow-up LIEF vendor update.
Refs: https://github.com/nodejs/node/issues/63530
Refs: https://github.com/nodejs/nodejs-dependency-vuln-assessments/issues/360
Refs: https://github.com/nodejs/nodejs-dependency-vuln-assessments/issues/342