Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- The images ship Node.js 24 (LTS, supported until April 2028) instead of
Node.js 22.
- Bundled tools: Socket npm CLI 1.15.0 -> 1.16.0, Socket Python CLI 2.12.0 ->
2.13.2; TruffleHog 3.99.8 -> 3.99.9 in the socket-basics and heavy images
2.13.2; TruffleHog 3.99.8 -> 3.100.1 in the socket-basics and heavy images
(#142).
- Socket Tier 1 runs the Coana reachability engine 15.15.2 instead of 15.15.0.
Socket npm CLI 1.16.0 and Socket Python CLI 2.13.2 both pin it.
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARG TRIVY_IMAGE=ghcr.io/socketdev/trivy:0.76.1@sha256:883da3593a60e311b2ed87c3a5
FROM ${TRIVY_IMAGE} AS trivy

# ─── Stage: trufflehog ────────────────────────────────────────────────────────
FROM trufflesecurity/trufflehog:3.99.9 AS trufflehog
FROM trufflesecurity/trufflehog:3.100.1 AS trufflehog

# ─── Stage: uv ────────────────────────────────────────────────────────────────
# Named stage required — COPY --from does not support ARG variable expansion.
Expand Down Expand Up @@ -104,7 +104,7 @@ ARG OPENGREP_VERSION
# Mirrors the trufflehog FROM tag above. A literal FROM tag cannot be read back
# into an ARG, so this is the one pin stated twice;
# tests/test_dockerfile_pins.py fails if the two ever disagree.
ARG TRUFFLEHOG_VERSION=3.99.9
ARG TRUFFLEHOG_VERSION=3.100.1
ARG SOCKET_NPM_CLI_VERSION
LABEL org.opencontainers.image.title="Socket Basics" \
org.opencontainers.image.source="https://github.com/SocketDev/socket-basics" \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.heavy
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARG SOCKET_PYTHON_CLI_VERSION=2.13.2
ARG TRIVY_IMAGE=ghcr.io/socketdev/trivy:0.76.1@sha256:883da3593a60e311b2ed87c3a55241051b27bba15ffc3ce041ae570cd0f00915

FROM ${TRIVY_IMAGE} AS trivy
FROM trufflesecurity/trufflehog:3.99.9 AS trufflehog
FROM trufflesecurity/trufflehog:3.100.1 AS trufflehog
FROM ghcr.io/astral-sh/uv:0.13.7 AS uv

FROM python:3.12-slim AS opengrep-installer
Expand Down Expand Up @@ -73,7 +73,7 @@ ARG VCS_REF=unknown
ARG BUILD_DATE=unknown
ARG OPENGREP_VERSION
# Mirrors the trufflehog FROM tag above; see the note in ./Dockerfile.
ARG TRUFFLEHOG_VERSION=3.99.9
ARG TRUFFLEHOG_VERSION=3.100.1
ARG SOCKET_NPM_CLI_VERSION
ARG SOCKET_PYTHON_CLI_VERSION
LABEL org.opencontainers.image.title="Socket Basics Heavy" \
Expand Down
2 changes: 1 addition & 1 deletion docs/local-install-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ docker inspect ghcr.io/socketdev/socket-basics:3.5.0 \
| jq '.[0].Config.Labels'
# {
# "com.socket.trivy-version": "0.76.1",
# "com.socket.trufflehog-version": "3.99.9",
# "com.socket.trufflehog-version": "3.100.1",
# "com.socket.opengrep-version": "v1.33.1",
# "org.opencontainers.image.version": "3.5.0",
# ...
Expand Down
10 changes: 5 additions & 5 deletions docs/local-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,16 +289,16 @@ OpenGrep works with the bundled Socket Basics SAST rules. No additional configur
brew install trufflehog

# Using Docker (alternative; pin explicitly — Docker Hub tags have no "v" prefix):
docker pull trufflesecurity/trufflehog:3.99.9
docker pull trufflesecurity/trufflehog:3.100.1

# Manual installation (Linux):
wget https://github.com/trufflesecurity/trufflehog/releases/download/v3.99.9/trufflehog_3.99.9_linux_amd64.tar.gz
tar -xzf trufflehog_3.99.9_linux_amd64.tar.gz
wget https://github.com/trufflesecurity/trufflehog/releases/download/v3.100.1/trufflehog_3.100.1_linux_amd64.tar.gz
tar -xzf trufflehog_3.100.1_linux_amd64.tar.gz
sudo mv trufflehog /usr/local/bin/

# Manual installation (macOS):
wget https://github.com/trufflesecurity/trufflehog/releases/download/v3.99.9/trufflehog_3.99.9_darwin_arm64.tar.gz
tar -xzf trufflehog_3.99.9_darwin_arm64.tar.gz
wget https://github.com/trufflesecurity/trufflehog/releases/download/v3.100.1/trufflehog_3.100.1_darwin_arm64.tar.gz
tar -xzf trufflehog_3.100.1_darwin_arm64.tar.gz
sudo mv trufflehog /usr/local/bin/

# Verify installation
Expand Down