You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

Changelog

What's new at Socket?

Back to changelog

July 25, 2025

Python CLI: Improved Default Branch Detection

We fixed several issues around default branch detection and scanning behavior in the Python CLI:

  • Fixed default branch detection in git repositories, ensuring reliable SCM behavior.
  • Resolved cases where scans were skipped when manifest files hadn’t changed — scans now always run as expected.
  • Ensured the --default-branch flag is correctly prioritized over SCM detection.
  • Improved GitLab CI integration to correctly detect the default branch.
  • Enhanced git auto-detection for repository details (branch, commit SHA, message, committer, and changed files).
  • Simplified CI/CD usage by adding production-ready workflow examples for GitHub Actions, GitLab CI, and Bitbucket Pipelines.