Repository navigation
fix(security): patch RSA verification and glob nesting vulnerabilities - #2918
Conversation
|
✅ No proprietary content detected. This PR is clear for review! |
🧪 CAIPE UI Test Results✅ All tests passed 🟡 Overall Coverage: 65%📊 Detailed Coverage
✅ Test Suites
📈 Coverage Thresholds
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬆️ High Merge Risk | ⚪ Minimal · up to
|
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository: caipe-io/ai-platform-engineering/.coderabbit.yaml
- Review profile: CHILL
- Plan: Advanced
- Run ID:
0a2c5321-7d6f-4ec3-98b9-6583f2b5dc24
⛔ Files ignored due to path filters (1)
ui/package-lock.jsonis excluded by!**/package-lock.json,!**/package-lock.json
📒 Files selected for processing (10)
.github/workflows/caipe-ui-tests.yml.github/workflows/ci-caipe-ui.yml.github/workflows/docs-build-check.yml.github/workflows/prebuild-caipe-ui.ymlbuild/Dockerfile.caipe-uidocs/package.jsonscripts/npm/README.mdscripts/npm/patch-security-dependencies.mjsscripts/npm/security-backports.test.mjsui/package.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.
Prebuild Artifacts for `a3c8a17` (archived)Prebuild Artifacts for
|
| Artifact | Image | Tag | Status | CI |
|---|---|---|---|---|
| caipe-ui | ghcr.io/caipe-io/caipe-ui |
1.2.0-fix-npm-security-backports-1 |
Published | CI |
Docker pull commands
docker pull ghcr.io/caipe-io/caipe-ui:1.2.0-fix-npm-security-backports-1These prebuild artifacts will be automatically cleaned up when the PR is closed or merged.
ℹ️ Branch is behind
|
Prebuild Artifacts for `ae39cbc` (archived)Prebuild Artifacts for
|
| Artifact | Image | Tag | Status | CI |
|---|---|---|---|---|
| caipe-ui | ghcr.io/caipe-io/caipe-ui |
1.2.0-fix-npm-security-backports-2 |
Published | CI |
Docker pull commands
docker pull ghcr.io/caipe-io/caipe-ui:1.2.0-fix-npm-security-backports-2These prebuild artifacts will be automatically cleaned up when the PR is closed or merged.
Patch installed node-forge and braces copies until upstream fixed releases are available, fail on source drift, and exercise guards during CI and Docker dependency installation. Signed-off-by: Sri Aradhyula <sraradhy@cisco.com>
Signed-off-by: Sri Aradhyula <sraradhy@cisco.com>
ae39cbc to
fac83ea
Compare
Prebuild Artifacts for
|
| Artifact | Image | Tag | Status | CI |
|---|---|---|---|---|
| caipe-ui | ghcr.io/caipe-io/caipe-ui |
1.2.0-fix-npm-security-backports-2 |
Published | CI |
Docker pull commands
docker pull ghcr.io/caipe-io/caipe-ui:1.2.0-fix-npm-security-backports-2These prebuild artifacts will be automatically cleaned up when the PR is closed or merged.
sibuthomasmathew
left a comment
There was a problem hiding this comment.
- Changes flagged by CodeRabbit were addressed
- Ran another pass through Claude and no blockers were flagged
- CI is green
lgtm
Description
Mitigate two current npm vulnerabilities for which no fixed release is published:
node-forge@1.4.0: apply an upstream backport of the exact nested DigestAlgorithm element-count guard from upstream PR 1152, addressing GHSA-86w9-cpqp-85rv / Dependabot #5452.braces@3.0.3: apply a local security patch that rejects brace/parenthesis nesting above 100 before recursive AST traversal, addressing GHSA-vfj7-8cjw-p6xm / Dependabot #5456 and #5458.scripts/npm/README.md.Published package versions remain unchanged, so static lockfile scanners will continue reporting these advisories until upstream releases fixes. No alert suppression is added. Installations using
--ignore-scriptsdo not receive the mitigation.AI assistance: implementation and verification performed with Codex.
Verification
-shellcheck=''; existing unrelated shellcheck findings remain).test:e2e:rbac-regressioncommand matches main exactly;npm run test:e2e:rbac-regression -- --listdiscovered 207 tests across 32 files.git diff --checkpassed.Type of Change
Checklist
Follow-up
Release rebuilding, remaining vendor advisories and removal criteria for temporary security patches are tracked in #2919.
The combined dependency-upgrade and security-patch changes were also installed and built together successfully; both backport regression suites pass in that combined checkout.
Summary by CodeRabbit