Skip to content

Commit a9f39ba

Browse files
committed
chore(deps): refresh bundled scanner and CLI pins
Moves every bundled tool to its latest release: OpenGrep v1.33.1, TruffleHog 3.99.8, Socket npm CLI 1.13.1, Socket Python CLI 2.11.11 (previously proposed in #134), uv 0.13.7, and in the app-tests image gosec v2.30.0 and Go 1.27.3. Trivy is already current on main. OpenGrep moves seven minors, so the Java rule set was re-measured on OWASP BenchmarkJava at the pinned corpus commit. 1.30.0 and 1.33.1 produce the same findings, so docs/java-sast-benchmark.md records 1.33.1 without new numbers.
1 parent 8d43114 commit a9f39ba

6 files changed

Lines changed: 31 additions & 29 deletions

File tree

‎Dockerfile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
#
55
# Dependabot-trackable (each has a corresponding FROM <image>:<ARG> stage):
66
ARG PYTHON_VERSION=3.12
7-
ARG TRUFFLEHOG_VERSION=3.96.0
8-
ARG UV_VERSION=0.12.1
7+
ARG TRUFFLEHOG_VERSION=3.99.8
8+
ARG UV_VERSION=0.13.7
99
#
1010
# NOT Dependabot-trackable (no official Docker image with a stable binary path):
11-
ARG OPENGREP_VERSION=v1.26.0
12-
ARG SOCKET_NPM_CLI_VERSION=1.1.165
11+
ARG OPENGREP_VERSION=v1.33.1
12+
ARG SOCKET_NPM_CLI_VERSION=1.13.1
1313
#
1414
# NOT Dependabot-trackable — Socket-built Trivy, rebuilt from unmodified upstream
1515
# source and published by Socket's own release pipeline. Pinned by digest; both

‎Dockerfile.heavy‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Heavy POC image: socket-basics plus a pinned stable Python Socket CLI.
22
ARG PYTHON_VERSION=3.12
3-
ARG TRUFFLEHOG_VERSION=3.96.0
4-
ARG UV_VERSION=0.12.1
5-
ARG OPENGREP_VERSION=v1.26.0
6-
ARG SOCKET_NPM_CLI_VERSION=1.1.165
7-
ARG SOCKET_PYTHON_CLI_VERSION=2.11.3
3+
ARG TRUFFLEHOG_VERSION=3.99.8
4+
ARG UV_VERSION=0.13.7
5+
ARG OPENGREP_VERSION=v1.33.1
6+
ARG SOCKET_NPM_CLI_VERSION=1.13.1
7+
ARG SOCKET_PYTHON_CLI_VERSION=2.11.11
88
# Socket-built Trivy, pinned by digest — see the note in ./Dockerfile.
99
ARG TRIVY_IMAGE=ghcr.io/socketdev/trivy:0.76.1@sha256:883da3593a60e311b2ed87c3a55241051b27bba15ffc3ce041ae570cd0f00915
1010

‎app_tests/Dockerfile‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
# To override at build time: docker build --build-arg TRUFFLEHOG_VERSION=3.93.8 .
44
#
55
# Dependabot-trackable (each has a corresponding FROM <image>:<ARG> stage):
6-
ARG GOLANG_VERSION=1.26.5
6+
ARG GOLANG_VERSION=1.27.3
77
ARG NODE_VERSION=22
88
ARG PYTHON_VERSION=3.12
9-
ARG TRUFFLEHOG_VERSION=3.96.0
10-
ARG UV_VERSION=0.12.1
9+
ARG TRUFFLEHOG_VERSION=3.99.8
10+
ARG UV_VERSION=0.13.7
1111
#
1212
# NOT Dependabot-trackable (no official Docker image with a stable binary path):
13-
ARG GOSEC_VERSION=v2.28.0
14-
ARG OPENGREP_VERSION=v1.26.0
15-
ARG SOCKET_NPM_CLI_VERSION=1.1.165
16-
ARG SOCKET_PYTHON_CLI_VERSION=2.11.3
13+
ARG GOSEC_VERSION=v2.30.0
14+
ARG OPENGREP_VERSION=v1.33.1
15+
ARG SOCKET_NPM_CLI_VERSION=1.13.1
16+
ARG SOCKET_PYTHON_CLI_VERSION=2.11.11
1717
#
1818
# NOT Dependabot-trackable — Socket-built Trivy, pinned by digest; updated by
1919
# Socket's trivy-dist release process. See the note in the root ./Dockerfile.

‎docs/java-sast-benchmark.md‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ Alert volume there is the number that maps to triage burden.
3636

3737
Pin both the engine and the corpus, or the numbers below will not reproduce.
3838

39-
- **Engine.** Measured with **opengrep 1.26.0**, the release the images pin
39+
- **Engine.** Measured with **opengrep 1.33.1**, the release the images pin
4040
(`OPENGREP_VERSION` in `Dockerfile` and `Dockerfile.heavy`). Rule behaviour
41-
was identical on 1.19.0, 1.25.0 and 1.26.0 everywhere it was checked, but
42-
re-measure if you change the pin.
41+
was identical on 1.19.0, 1.25.0, 1.26.0, 1.30.0 and 1.33.1 everywhere it was
42+
checked, but re-measure if you change the pin.
4343
- **Corpus.** BenchmarkJava at commit
4444
[`51f0a7c`](https://github.com/OWASP-Benchmark/BenchmarkJava/commit/51f0a7cf8bb9d17ce1f6d72598c1d1c6ce90f661)
4545
(2026-08-31). A `--depth 1` clone of `main` moves, and both the test cases and
@@ -104,7 +104,9 @@ Four behaviours worth knowing when editing these:
104104

105105
## Results
106106

107-
Measured with opengrep 1.26.0.
107+
Measured with opengrep 1.33.1. Every number below is unchanged from the
108+
1.26.0 measurement; 1.30.0 and 1.33.1 produce the same findings on
109+
BenchmarkJava, finding for finding.
108110

109111
Scan time on BenchmarkJava went from 6s to 11s, roughly +70%. The extra cost is
110112
the taint-mode conversions and the wider sink lists. It is small in absolute

‎docs/local-install-docker.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ docker inspect ghcr.io/socketdev/socket-basics:3.4.1 \
5050
| jq '.[0].Config.Labels'
5151
# {
5252
# "com.socket.trivy-version": "0.76.1",
53-
# "com.socket.trufflehog-version": "3.96.0",
54-
# "com.socket.opengrep-version": "v1.26.0",
53+
# "com.socket.trufflehog-version": "3.99.8",
54+
# "com.socket.opengrep-version": "v1.33.1",
5555
# "org.opencontainers.image.version": "3.4.1",
5656
# ...
5757
# }
@@ -204,8 +204,8 @@ The image pins the bundled tools to specific versions. You can override them at
204204

205205
```bash
206206
docker build \
207-
--build-arg TRUFFLEHOG_VERSION=3.96.0 \
208-
--build-arg OPENGREP_VERSION=v1.26.0 \
207+
--build-arg TRUFFLEHOG_VERSION=3.99.8 \
208+
--build-arg OPENGREP_VERSION=v1.33.1 \
209209
-t socket-basics:3.4.1 .
210210
```
211211

‎docs/local-installation.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -278,16 +278,16 @@ OpenGrep works with the bundled Socket Basics SAST rules. No additional configur
278278
brew install trufflehog
279279

280280
# Using Docker (alternative; pin explicitly — Docker Hub tags have no "v" prefix):
281-
docker pull trufflesecurity/trufflehog:3.96.0
281+
docker pull trufflesecurity/trufflehog:3.99.8
282282

283283
# Manual installation (Linux):
284-
wget https://github.com/trufflesecurity/trufflehog/releases/download/v3.96.0/trufflehog_3.96.0_linux_amd64.tar.gz
285-
tar -xzf trufflehog_3.96.0_linux_amd64.tar.gz
284+
wget https://github.com/trufflesecurity/trufflehog/releases/download/v3.99.8/trufflehog_3.99.8_linux_amd64.tar.gz
285+
tar -xzf trufflehog_3.99.8_linux_amd64.tar.gz
286286
sudo mv trufflehog /usr/local/bin/
287287

288288
# Manual installation (macOS):
289-
wget https://github.com/trufflesecurity/trufflehog/releases/download/v3.96.0/trufflehog_3.96.0_darwin_arm64.tar.gz
290-
tar -xzf trufflehog_3.96.0_darwin_arm64.tar.gz
289+
wget https://github.com/trufflesecurity/trufflehog/releases/download/v3.99.8/trufflehog_3.99.8_darwin_arm64.tar.gz
290+
tar -xzf trufflehog_3.99.8_darwin_arm64.tar.gz
291291
sudo mv trufflehog /usr/local/bin/
292292

293293
# Verify installation

0 commit comments

Comments
 (0)