fix(security): resolve dependabot alerts without major bumps#2477
fix(security): resolve dependabot alerts without major bumps#2477carneiro-cw merged 1 commit intomainfrom
Conversation
Regenerate the e2e npm lockfiles with targeted overrides so the affected packages move to patched versions without forcing a Hardhat major upgrade. Update the Rust lockfile to patched versions for the open advisories and refresh cargo-vet imports and exemptions so the locked graph stays fully vetted. Bump protobuf in utils/compare_block/poetry.lock to a patched release tracked by Dependabot. Co-Authored-By: OpenAI Assistant <noreply@openai.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2477 +/- ##
==========================================
- Coverage 84.41% 84.26% -0.15%
==========================================
Files 141 141
Lines 10808 10826 +18
==========================================
- Hits 9124 9123 -1
- Misses 1684 1703 +19 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
User description
Summary
utils/compare_block/poetry.lockto moveprotobufto a patched releaseMotivation
#2476 had the right goal, but it solved the npm side by dragging in a
Hardhat major upgrade and messy lockfile churn. This PR keeps the
existing toolchain shape and applies targeted dependency updates only
where needed to clear the current Dependabot alerts.
How to test
cargo check --lockedcargo vet --lockedcd e2e && npm audit --json --package-lock-only | jq '.vulnerabilities | with_entries(select(.key | test("^(axios|undici|minimatch|fast-xml-parser|qs|lodash|immutable|serialize-javascript)$")))'cd e2e/cloudwalk-contracts/integration && npm audit --json --package-lock-only | jq '.vulnerabilities | with_entries(select(.key | test("^(axios|undici|minimatch|fast-xml-parser|qs|lodash|immutable|serialize-javascript)$")))'utils/compare_block/poetry.lockand confirmprotobufis on a patched releaseChecklist
cargo +nightly clippy --all-targetscurrently fails on pre-existing issues unrelated to this diff)PR Type
Bug fix
Description
Bump Rust dependencies for security
Update npm deps (
axios,undici) in e2e projectsAdd targeted overrides for vulnerable sub-dependencies
Revise supply-chain exemption versions
File Walkthrough
Cargo.toml
Bump oneshot and bytes dependenciesCargo.toml
oneshotfrom 0.1.11 to 0.1.12bytesfrom 1.11.0 to 1.11.1package.json
Update integration npm dependencies and overridese2e/cloudwalk-contracts/integration/package.json
axiosto ^1.13.5 andundicito ^6.24.0fast-xml-parser,immutable,lodash,qsminimatchacross multiple packagesundiciresolution in Hardhat pluginspackage.json
Update e2e npm dependencies and overridese2e/package.json
axiosto ^1.13.5 andundicito ^6.24.0minimatchandserialize-javascriptversionsconfig.toml
Revise supply-chain exemptions versionssupply-chain/config.toml
aws-lc-rs,aws-lc-sys,quinn-protoand othersoneshotto 0.1.12