Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #572 +/- ##
==========================================
+ Coverage 89.43% 89.93% +0.50%
==========================================
Files 56 56
Lines 2460 2455 -5
Branches 455 454 -1
==========================================
+ Hits 2200 2208 +8
+ Misses 239 229 -10
+ Partials 21 18 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
94e606c to
5adcc13
Compare
5adcc13 to
ada22e1
Compare
pedroferreira1
approved these changes
Feb 2, 2026
r4mmer
approved these changes
Feb 2, 2026
Copy patches and lavamoat policies into the Docker image and replace the node entrypoint with lavamoat.
f47f0ee to
e50aa6b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Acceptance Criteria
lavamoat-nodeto protect it against supply chain attacksaxiosto be loaded in commonjs mode to make it compatible with lavamoat's runtimePatches:
axios+1.7.7: LavaMoat's runtime doesn't resolve the exports map in package.json, falling back to main + type instead. The default values point to an ESM entry, which LavaMoat can't handle. This patch changes main and type to point to the existing CJS build (./dist/node/axios.cjs), which LavaMoat can consume. No behavioral change -- the CJS build was already used by require() consumers via the exports map.
depd+2.0.0: LavaMoat's sandbox restricts V8's CallSite API, which depd uses for stack trace introspection. Without this patch, depd crashes when calling methods like getFileName() on restricted objects. The patch adds defensive guards that check if each CallSite method exists before calling it, falling back to safe defaults (, 0). In non-sandboxed environments the methods always exist, so the code path is unchanged.
The only effect under LavaMoat is that deprecation warnings show instead of actual file/line info, which is negligible since these are developer-facing diagnostics only.
Security Checklist