Skip to content

Releases: SocketDev/socket-basics

v3.4.0

Choose a tag to compare

@lelia lelia released this 19 Sep 03:03
Immutable release. Only release title and notes can be modified.
d8ef2e5

What's Changed

📦 Dependencies

🔧 Other Changes

  • fix(sast): mask credential values in finding snippets by lelia in #119
  • chore(release): 3.4.0 by lelia in #120

Full Changelog: v3.3.0...v3.4.0

v3.3.0

Choose a tag to compare

@lelia lelia released this 15 Sep 19:06
Immutable release. Only release title and notes can be modified.
7992253

What's Changed

🔧 Other Changes

  • fix(notifications): read gh token param in PR notifier by lelia in #114
  • feat(config): add --scan-all and --no-scan-all CLI flags by lelia in #115
  • chore(release): 3.3.0 by lelia in #116

Full Changelog: v3.2.0...v3.3.0

v3.2.0

Choose a tag to compare

@lelia lelia released this 10 Sep 22:50
Immutable release. Only release title and notes can be modified.
661ddff

What's Changed

🔧 Fixes + Improvements

  • feat: align install guides with the CLI and declare the documented action inputs by lelia in #111
  • fix: stop disabling TruffleHog verification for verified-only scans by lelia in #110
  • fix(rules): improve precision and recall of java opengrep rules by David Larsen (@dc-larsen) in #112
  • chore(release): 3.2.0 by lelia in #113

⚠️ Noteworthy Changes

Nothing here requires a configuration change, but you may experience different results on the first run after upgrading:

  • TruffleHog secrets can now block a run. With trufflehog_show_unverified off (the default), the connector passed --no-verification, which disabled verification outright instead of filtering to verified results. Severity is derived from each finding's Verified flag, so every result came back unverified, low severity and non-blocking: on the default path no secret could ever block a run, the exact inverse of intent. Verification now always runs and the setting only selects result types, so a real leaked credential is reported as critical and blocking. (#110)
  • TruffleHog verification reaches third-party endpoints. Verification is a live check: candidate credentials are sent to the issuing provider's validation endpoint on every scan. This is TruffleHog's own default behavior, but it is new for runs with trufflehog_show_unverified off. Egress restricted runners should account for it. (#110)
  • A TruffleHog scan that cannot run now fails the run. A non-zero exit, a missing binary or a source error was logged and converted into an empty clean result, so a broken install or a malformed exclude pattern was indistinguishable from a repository with no secrets. These now fail with TruffleHog's exit code and stderr — the same fail-closed idiom as an unresolvable changed_files scope in 3.1.0. (#110)
  • Java SAST findings shift substantially, in both directions. Twelve rules were rewritten (see Fixed). Existing Java baselines will lose most of their current findings and gain new ones at call sites the old patterns could never match, so re-baseline instead of diffing against a previous run. (#112)

Full Changelog: v3.1.0...v3.2.0

v3.1.0

Choose a tag to compare

@lelia lelia released this 03 Sep 00:00
Immutable release. Only release title and notes can be modified.
5b615c8

What's Changed

📦 Dependencies

  • ci(deps): bump docker/setup-buildx-action from 4.2.0 to 4.3.0 in the github-actions-minor-patch group across 1 directory by Dependabot (@dependabot)[bot] in #108
  • chore(deps): bump pyyaml from 6.0.2 to 6.0.3 in the python-minor-patch group by Dependabot (@dependabot)[bot] in #107

🔧 Other Changes

Full Changelog: v3.0.0...v3.1.0

🐳 v3.0.0

Choose a tag to compare

@lelia lelia released this 07 Aug 02:50
Immutable release. Only release title and notes can be modified.
6b71cdf

Summary

Major release: Trivy-backed scanning returns, now built and published through Socket's own supply chain ⚡️

🐳 Added

  • Container image and Dockerfile scanning (Trivy) restored in the pre-built GitHub Action and Docker images. Trivy now comes from a Socket-built distribution — rebuilt from unmodified upstream source (v0.73.0) by Socket's own release pipeline and pinned by digest in the Dockerfiles (TRIVY_IMAGE build arg; overridable for builds without registry access).
  • End-to-end integration test for the Trivy connector (fixture Dockerfile scan through --dockerfiles), plus smoke-test assertions that the bundled trivy matches the pinned version and can execute the connector's scan path.
  • Reintroduced latest and latest-heavy floating Docker tag aliases for customers who prefer always receiving the latest Socket Basics releases.
    • We still recommend pinning an exact version or digest for secure, reproducible pipelines.
    • Exact version tags remain immutable registry-side.

🔄 Changed

  • Behavioral (the reason this is a major): Trivy-backed scanning was intentionally disabled in the 2.x.x pre-built images following repeated Trivy supply-chain compromises, and documented as such throughout the project. With this 3.0.0 release, Trivy is deliberately re-enabled: configurations that set Trivy parameters (--images, --dockerfiles, trivy_vuln_enabled, …) will begin producing container / Dockerfile findings again.
    • 🚨 TL;DR: pipelines that gate on findings should expect new results on the first run after upgrading.
  • OSS toolchain refresh: TruffleHog v3.96.0, OpenGrep v1.26.0 (SAST rule updates may shift findings), uv v0.12.1, gosec v2.28.0, Go v1.26.5 (app_tests), Socket CLI v2.6.3 (Dockerfile.heavy), and the socketdev Python SDK to v3.5.0 (typed fail-closed batch purl parameters).
    • Runtime bases (python:3.12, node:22) remain unchanged.
  • Dependabot no longer tracks the aquasecurity/trivy base image; Trivy updates flow through Socket's release process, never independent bumps.

🔧 Fixed

  • The app_tests image had been unbuildable since the repository layout migration (stale source references, wrong build context, dereferenced npm symlinks, corrupt uv.lock) — repaired and building in CI again.
  • Documentation: removed the now-outdated "temporarily ships without Trivy" notices repo-wide (they described the intentional 2.x posture); APT install instructions now use upstream's generic distribution (required since Trivy v0.72.0).
    • Warnings against using Trivy v0.69.4v0.69.6 (the compromised version range) retained for native installs.

Full Changelog: v2.2.1...v3.0.0

v2.2.1

Choose a tag to compare

@lelia lelia released this 30 Jul 19:06
Immutable release. Only release title and notes can be modified.
83d3801

What's Changed

🐛 Bug Fixes

  • fix: support TruffleHog exclude patterns by lelia in #94

Full Changelog: v2.2.0...v2.2.1

v2.2.0

Choose a tag to compare

@lelia lelia released this 30 Jul 01:49
Immutable release. Only release title and notes can be modified.
0d3f141

What's Changed

🚀 New Features

  • ci: publish multi-arch Docker image variants by lelia in #85

📦 Dependencies

Full Changelog: v2.1.0...v2.2.0

v2.1.0

Choose a tag to compare

@lelia lelia released this 23 Jul 02:25
Immutable release. Only release title and notes can be modified.
cd08db9

What's Changed

🚀 New Features

  • feat: add diff-only scan scoping by lelia in #77

📦 Dependencies

  • chore(deps): bundle Dependabot updates + harden dependency review workflows by lelia in #78

📚 Documentation

🔧 Other Changes

New Contributors

Full Changelog: v2.0.3...v2.1.0

v2.0.3

Choose a tag to compare

@lelia lelia released this 24 Apr 22:14
Immutable release. Only release title and notes can be modified.
v2.0.3
aa80fce

What's Changed

🔧 Other Changes

New Contributors

Full Changelog: v2.0.2...v2.0.3

v2.0.2

Choose a tag to compare

@socket-release-bot socket-release-bot released this 23 Mar 18:57
Immutable release. Only release title and notes can be modified.
9339409

What's Changed

📦 Dependencies

🔧 Other Changes

New Contributors

Full Changelog: https://github.com/SocketDev/socket-basics/commits/v2.0.2