Add security audit and dependency management workflows#180
Conversation
- Add Security Audit workflow running npm audit on PRs, pushes, and weekly schedule; gates on high/critical vulns in production deps - Add Dependabot config for npm and github-actions ecosystems - Bump axios/socket.io-client/uuid to patched versions to clear the CVEs surfaced by the Wiz scan
|
Claude finished @natansil's task —— View job Pull Request ReviewReview Checklist:
Overall AssessmentThis PR introduces valuable security and dependency management practices. The implementation is generally solid with thoughtful design decisions. Here's my detailed feedback: 🟢 StrengthsSecurity Audit Workflow (
|
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/sdk@0.8.31-pr.180.a2e145ePrefer not to change any import paths? Install using npm alias so your code still imports npm i "@base44/sdk@npm:@base44-preview/sdk@0.8.31-pr.180.a2e145e"Or add it to your {
"dependencies": {
"@base44/sdk": "npm:@base44-preview/sdk@0.8.31-pr.180.a2e145e"
}
}
Preview published to npm registry — try new features instantly! |
Summary
This PR establishes automated security and dependency management practices by introducing GitHub Actions workflows and Dependabot configuration to keep dependencies secure and up-to-date.
Key Changes
Security Audit Workflow (
.github/workflows/security-audit.yml): Added automated npm audit checks that run on push to main, pull requests, and weekly schedule. The workflow enforces strict gating on high/critical vulnerabilities in production dependencies while providing informational reporting on all dependencies.Dependabot Configuration (
.github/dependabot.yml): Configured automated dependency updates with:Dependency Updates (
package.json): Updated production dependencies to latest secure versions:axios: ^1.6.2 → ^1.17.0socket.io-client: ^4.7.5 → ^4.8.3uuid: ^13.0.0 → ^13.0.2Notable Implementation Details
https://claude.ai/code/session_016hVStNWDMqJLn4WMUAsNrM