Skip to content

Conversation

@pradeepjangid195
Copy link

@pradeepjangid195 pradeepjangid195 commented Dec 12, 2025

Summary

Integrates Socket Security (SFW) into the BitGoJS build pipeline to enhance supply chain security by scanning
dependencies for vulnerabilities during installation and build processes.

Changes

  • GitHub Actions CI/CD: Added Socket Security scanning to all workflow jobs

    • Updated .github/workflows/ci.yml with Socket Security integration
    • Updated .github/workflows/publish.yml with Socket Security integration
    • All yarn commands now run through sfw wrapper for security scanning
  • Docker Build: Enhanced Dockerfile with Socket Security support

    • Installs sfw globally in builder stage
    • All dependency installations scanned by Socket Security
    • Configurable via SOCKET_SECURITY_MODE build argument
  • Configurable Security Mode: Added SOCKET_SECURITY_MODE environment variable

    • monitor (default, non-blocking): Logs vulnerabilities but allows build to proceed
    • block: Fails build on detection of vulnerabilities
    • Can be configured per environment (CI, Docker, etc.)

Benefits

  • Proactive detection of malicious packages and vulnerabilities in dependencies
  • Configurable enforcement: start with monitoring, move to blocking as needed
  • Integrated into existing CI/CD pipeline with minimal disruption

Ticket: VL-3832

@pradeepjangid195 pradeepjangid195 force-pushed the VL-3832-adding-sfw-support branch from 9f367c8 to c7bff74 Compare December 19, 2025 07:19
@pradeepjangid195 pradeepjangid195 force-pushed the VL-3832-adding-sfw-support branch from c7bff74 to 1f9b2db Compare December 22, 2025 14:29
@pradeepjangid195 pradeepjangid195 changed the title build: added SFW in the build pipeline build: add Socket Security (SFW) integration with configurable vulnerability scanning Dec 23, 2025
@pradeepjangid195 pradeepjangid195 marked this pull request as ready for review December 23, 2025 16:31
@pradeepjangid195 pradeepjangid195 requested review from a team as code owners December 23, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants