Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

Update Pipelock to 3.8.0 (#4951)

Joshe8a05fe7050c
diff --git a/.github/workflows/pipelock.yml b/.github/workflows/pipelock.yml
index 45bd94f098..8a21f642e3 100644
--- a/.github/workflows/pipelock.yml
+++ b/.github/workflows/pipelock.yml
@@ -30,9 +30,9 @@ jobs:
helm dependency build charts/sure
- name: Pipelock Scan
- uses: luckyPipewrench/pipelock@3e868ac5d5b62d3a2790958542171143af8a0e38 # v3.6.0
+ uses: pipelab-org/pipelock@556048c1c18d84f7d61d28f686220178a4ff2c4d # v3.8.0
with:
- version: '3.6.0'
+ version: '3.8.0'
scan-diff: 'true'
fail-on-findings: 'true'
test-vectors: 'false'
diff --git a/charts/sure/README.md b/charts/sure/README.md
index c6ee23f76a..df221dd4e0 100644
--- a/charts/sure/README.md
+++ b/charts/sure/README.md
@@ -657,12 +657,12 @@ hpa:
## Pipelock (AI agent security proxy)
-[Pipelock](https://github.com/luckyPipewrench/pipelock) is an optional security proxy that scans AI agent traffic for secret exfiltration, prompt injection, tool poisoning, and SSRF. It runs as a separate Deployment with two listeners:
+[Pipelock](https://github.com/pipelab-org/pipelock) is an optional security proxy that scans AI agent traffic for secret exfiltration, prompt injection, tool poisoning, and SSRF. It runs as a separate Deployment with two listeners:
- **Forward proxy** (port 8888): Applies destination, SSRF, rate, budget, CONNECT-header DLP, and receipt controls to HTTPS tunnels from clients that honor the proxy variables. The chart doesn't configure TLS interception, so encrypted bodies stay opaque.
- **MCP reverse proxy** (port 8889): Scans inbound MCP traffic from external AI assistants.
-The chart pins Pipelock 3.4.0 by tag and multi-architecture image digest. Read the [Pipelock release notes](https://github.com/luckyPipewrench/pipelock/releases/tag/v3.4.0) before overriding that pin.
+The chart pins Pipelock 3.8.0 by tag and multi-architecture image digest. Read the [Pipelock release notes](https://github.com/pipelab-org/pipelock/releases/tag/v3.8.0) before overriding that pin.
### Enabling Pipelock
@@ -670,7 +670,7 @@ The chart pins Pipelock 3.4.0 by tag and multi-architecture image digest. Read t
pipelock:
enabled: true
image:
- tag: "3.4.0@sha256:2e6caa43967a5ef19cacbce00188d829c1b5de1eb0ad304a51d2085f32c5694c"
+ tag: "3.8.0@sha256:9ac2bdf26ca104a5b2f5dfe4e90f0396ec9feb554152d50aac42f75ec268197f"
mode: balanced # strict, balanced, or audit
```
@@ -747,7 +747,7 @@ kubectl create secret generic sure-pipelock-receipts \
--from-file=flight-recorder-signing.key=./flight-recorder-signing.key
```
-If you don't have the `pipelock` binary installed, generate the key with the pinned image instead: `docker run --rm -v "$PWD:/out" ghcr.io/luckypipewrench/pipelock:3.4.0@sha256:2e6caa43967a5ef19cacbce00188d829c1b5de1eb0ad304a51d2085f32c5694c signing key generate --purpose receipt-signing --out /out/flight-recorder-signing.key --id sure-k8s`.
+If you don't have the `pipelock` binary installed, generate the key with the pinned image instead: `docker run --rm -v "$PWD:/out" ghcr.io/pipelab-org/pipelock:3.8.0@sha256:9ac2bdf26ca104a5b2f5dfe4e90f0396ec9feb554152d50aac42f75ec268197f signing key generate --purpose receipt-signing --out /out/flight-recorder-signing.key --id sure-k8s`.
Then mount persistent evidence storage and the key:
@@ -839,14 +839,13 @@ Keep `podSecurityContext.fsGroup` (1000 by default) so Pipelock can read the mou
### Metrics (Prometheus)
-Pipelock exposes `/metrics` on the forward proxy port. Enable scraping with a ServiceMonitor:
+Pipelock 3.8 and later serve `/metrics` and `/stats` only on a dedicated listener, not the forward proxy port. Enabling the ServiceMonitor turns that listener on (port 9091, `pipelock.metrics.port`) and scrapes it; set `pipelock.metrics.enabled: true` to expose it without a ServiceMonitor. The listener has no authentication, so restrict access to it with a NetworkPolicy.
```yaml
pipelock:
serviceMonitor:
enabled: true
interval: 30s
- portName: proxy # matches Service port name for 8888
additionalLabels:
release: prometheus # match your Prometheus Operator selector
```
diff --git a/charts/sure/templates/NOTES.txt b/charts/sure/templates/NOTES.txt
index e9e46850fd..505b6859ea 100644
--- a/charts/sure/templates/NOTES.txt
+++ b/charts/sure/templates/NOTES.txt
@@ -64,10 +64,11 @@ Pipelock (AI agent security proxy)
7) Metrics:
{{- if .Values.pipelock.serviceMonitor.enabled }}
- - ServiceMonitor enabled — Prometheus will scrape /metrics on port {{ .Values.pipelock.serviceMonitor.portName }}.
+ - ServiceMonitor enabled — Prometheus will scrape /metrics on the metrics port ({{ include "sure.pipelockMetricsPort" . }}).
+{{- else if include "sure.pipelockMetricsEnabled" . }}
+ - Metrics are available at http://<pipelock-pod>:{{ include "sure.pipelockMetricsPort" . }}/metrics
{{- else }}
- - ServiceMonitor not enabled. Metrics are available at http://<pipelock-pod>:{{ .Values.pipelock.forwardProxy.port | default 8888 }}/metrics
- Enable with: pipelock.serviceMonitor.enabled=true
+ - Metrics listener off. Enable with: pipelock.metrics.enabled=true or pipelock.serviceMonitor.enabled=true
{{- end }}
{{- end }}
diff --git a/charts/sure/templates/_helpers.tpl b/charts/sure/templates/_helpers.tpl
index 539401d5e7..a8fff08cd6 100644
--- a/charts/sure/templates/_helpers.tpl
+++ b/charts/sure/templates/_helpers.tpl
@@ -160,8 +160,8 @@ true
{{/* Pipelock image string */}}
{{- define "sure.pipelockImage" -}}
-{{- $repo := "ghcr.io/luckypipewrench/pipelock" -}}
-{{- $tag := "2.8.0" -}}
+{{- $repo := "ghcr.io/pipelab-org/pipelock" -}}
+{{- $tag := "3.8.0@sha256:9ac2bdf26ca104a5b2f5dfe4e90f0396ec9feb554152d50aac42f75ec268197f" -}}
{{- if .Values.pipelock.image -}}
{{- $repo = .Values.pipelock.image.repository | default $repo -}}
{{- $tag = .Values.pipelock.image.tag | default $tag -}}
@@ -169,6 +169,15 @@ true
{{- printf "%s:%s" $repo $tag -}}
{{- end -}}
+{{/* Pipelock dedicated metrics listener: on when requested or when a ServiceMonitor scrapes it */}}
+{{- define "sure.pipelockMetricsEnabled" -}}
+{{- if or (.Values.pipelock.metrics).enabled (.Values.pipelock.serviceMonitor).enabled -}}true{{- end -}}
+{{- end -}}
+
+{{- define "sure.pipelockMetricsPort" -}}
+{{- int ((.Values.pipelock.metrics).port | default 9091) -}}
+{{- end -}}
+
{{/* Pipelock MCP upstream URL (auto-compute or explicit override) */}}
{{- define "sure.pipelockUpstream" -}}
{{- $upstream := "" -}}
diff --git a/charts/sure/templates/pipelock-configmap.yaml b/charts/sure/templates/pipelock-configmap.yaml
index e49c270047..fa8b29cfb9 100644
--- a/charts/sure/templates/pipelock-configmap.yaml
+++ b/charts/sure/templates/pipelock-configmap.yaml
@@ -135,6 +135,9 @@ data:
pipelock.yaml: |
version: 1
mode: {{ .Values.pipelock.mode | default "balanced" }}
+{{- if include "sure.pipelockMetricsEnabled" . }}
+ metrics_listen: "0.0.0.0:{{ include "sure.pipelockMetricsPort" . }}"
+{{- end }}
{{- if .Values.pipelock.trustedDomains }}
trusted_domains:
{{- range .Values.pipelock.trustedDomains }}
diff --git a/charts/sure/templates/pipelock-deployment.yaml b/charts/sure/templates/pipelock-deployment.yaml
index 608a0d8a09..b2a6fa9ce0 100644
--- a/charts/sure/templates/pipelock-deployment.yaml
+++ b/charts/sure/templates/pipelock-deployment.yaml
@@ -43,6 +43,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
+ terminationGracePeriodSeconds: {{ .Values.pipelock.terminationGracePeriodSeconds | default 600 }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- $plSecrets := coalesce .Values.pipelock.image.imagePullSecrets .Values.image.imagePullSecrets }}
@@ -105,6 +106,11 @@ spec:
- name: mcp
containerPort: {{ $mcpPort }}
protocol: TCP
+ {{- if include "sure.pipelockMetricsEnabled" . }}
+ - name: metrics
+ containerPort: {{ include "sure.pipelockMetricsPort" . }}
+ protocol: TCP
+ {{- end }}
livenessProbe:
httpGet:
path: /health
diff --git a/charts/sure/templates/pipelock-service.yaml b/charts/sure/templates/pipelock-service.yaml
index c20cac0a43..d42ae5010f 100644
--- a/charts/sure/templates/pipelock-service.yaml
+++ b/charts/sure/templates/pipelock-service.yaml
@@ -28,4 +28,10 @@ spec:
port: {{ $mcpPort }}
targetPort: mcp
protocol: TCP
+ {{- if include "sure.pipelockMetricsEnabled" . }}
+ - name: metrics
+ port: {{ include "sure.pipelockMetricsPort" . }}
+ targetPort: metrics
+ protocol: TCP
+ {{- end }}
{{- end }}
diff --git a/charts/sure/templates/pipelock-servicemonitor.yaml b/charts/sure/templates/pipelock-servicemonitor.yaml
index dfe2d2c548..b19c522e04 100644
--- a/charts/sure/templates/pipelock-servicemonitor.yaml
+++ b/charts/sure/templates/pipelock-servicemonitor.yaml
@@ -17,5 +17,6 @@ spec:
- interval: {{ .Values.pipelock.serviceMonitor.interval }}
scrapeTimeout: {{ .Values.pipelock.serviceMonitor.scrapeTimeout }}
path: {{ .Values.pipelock.serviceMonitor.path }}
- port: {{ .Values.pipelock.serviceMonitor.portName }}
+ # Pipelock 3.8+ serves /metrics only on its dedicated metrics listener.
+ port: metrics
{{- end }}
diff --git a/charts/sure/values.yaml b/charts/sure/values.yaml
index 35f53b1769..54d8f21e4f 100644
--- a/charts/sure/values.yaml
+++ b/charts/sure/values.yaml
@@ -505,16 +505,20 @@ hpa:
# Pipelock: AI agent security proxy (optional)
# Provides forward proxy (outbound HTTPS tunnel controls) and MCP reverse proxy
# (inbound MCP traffic scanning for prompt injection, DLP, tool poisoning).
-# More info: https://github.com/luckyPipewrench/pipelock
+# More info: https://github.com/pipelab-org/pipelock
pipelock:
enabled: false
image:
- repository: ghcr.io/luckypipewrench/pipelock
+ repository: ghcr.io/pipelab-org/pipelock
# Stable release pinned to its multi-architecture manifest digest.
- tag: "3.4.0@sha256:2e6caa43967a5ef19cacbce00188d829c1b5de1eb0ad304a51d2085f32c5694c"
+ tag: "3.8.0@sha256:9ac2bdf26ca104a5b2f5dfe4e90f0396ec9feb554152d50aac42f75ec268197f"
pullPolicy: IfNotPresent
imagePullSecrets: []
replicas: 1
+ # Time Pipelock gets to close its signed receipt chain on shutdown. Closing
+ # takes longer as recorded history grows; a pod killed first keeps its
+ # receipts but leaves the run unsealed. Pipelock 3.7+ uses 10 minutes.
+ terminationGracePeriodSeconds: 600
# Pipelock run mode: strict, balanced, audit
mode: balanced
# Trusted domains: allow internal services whose public DNS resolves to private IPs.
@@ -624,13 +628,20 @@ pipelock:
extraVolumes: []
extraVolumeMounts: []
- # Prometheus Operator ServiceMonitor for /metrics on the proxy port
+ # Dedicated listener for /metrics and /stats. Pipelock 3.8+ no longer serves
+ # them on the proxy port. It has no authentication, so it stays off unless
+ # enabled here or by serviceMonitor.enabled; restrict who can reach it.
+ metrics:
+ enabled: false
+ port: 9091
+
+ # Prometheus Operator ServiceMonitor for /metrics on the metrics port.
+ # Enabling it also enables the metrics listener above.
serviceMonitor:
enabled: false
interval: 30s
scrapeTimeout: 10s
path: /metrics
- portName: proxy # matches Service port name "proxy" (8888)
additionalLabels: {}
# Ingress for MCP reverse proxy (port 8889) — external AI assistants need this in k8s
diff --git a/compose.example.ai.yml b/compose.example.ai.yml
index a1eb25b378..a8dc705c14 100644
--- a/compose.example.ai.yml
+++ b/compose.example.ai.yml
@@ -153,11 +153,13 @@ x-rails-env: &rails_env
services:
pipelock:
- image: ghcr.io/luckypipewrench/pipelock:3.4.0@sha256:2e6caa43967a5ef19cacbce00188d829c1b5de1eb0ad304a51d2085f32c5694c
+ image: ghcr.io/pipelab-org/pipelock:3.8.0@sha256:9ac2bdf26ca104a5b2f5dfe4e90f0396ec9feb554152d50aac42f75ec268197f
user: "${PIPELOCK_UID:-1000}:${PIPELOCK_GID:-1000}"
container_name: pipelock
hostname: pipelock
restart: unless-stopped
+ # Time to close the signed receipt chain on shutdown (Pipelock 3.7+).
+ stop_grace_period: 10m
volumes:
- ./pipelock.example.yaml:/etc/pipelock/pipelock.yaml:ro
# Optional signed receipts (flight recorder). Off until you create the
@@ -169,12 +171,12 @@ services:
# mkdir -p ./pipelock-evidence ./pipelock-keys
# Generate the receipt-signing key via the image (no host binary needed;
# --out must be an absolute path inside the container):
- # docker run --rm -v "$PWD/pipelock-keys:/keys" ghcr.io/luckypipewrench/pipelock:3.4.0@sha256:2e6caa43967a5ef19cacbce00188d829c1b5de1eb0ad304a51d2085f32c5694c \
+ # docker run --rm -v "$PWD/pipelock-keys:/keys" ghcr.io/pipelab-org/pipelock:3.8.0@sha256:9ac2bdf26ca104a5b2f5dfe4e90f0396ec9feb554152d50aac42f75ec268197f \
# signing key generate --purpose receipt-signing --out /keys/flight-recorder-signing.key --id sure-compose
# The key is written 0600 owned by uid 1000 (Pipelock's default user). If
# your host user is not uid 1000, use this variant instead:
# export PIPELOCK_UID="$(id -u)" PIPELOCK_GID="$(id -g)"
- # docker run --rm --user "$PIPELOCK_UID:$PIPELOCK_GID" -v "$PWD/pipelock-keys:/keys" ghcr.io/luckypipewrench/pipelock:3.4.0@sha256:2e6caa43967a5ef19cacbce00188d829c1b5de1eb0ad304a51d2085f32c5694c \
+ # docker run --rm --user "$PIPELOCK_UID:$PIPELOCK_GID" -v "$PWD/pipelock-keys:/keys" ghcr.io/pipelab-org/pipelock:3.8.0@sha256:9ac2bdf26ca104a5b2f5dfe4e90f0396ec9feb554152d50aac42f75ec268197f \
# signing key generate --purpose receipt-signing --out /keys/flight-recorder-signing.key --id sure-compose
# That makes the key and evidence directory readable/writable by the same
# uid/gid the compose service uses.
@@ -196,8 +198,10 @@ services:
ports:
# MCP reverse proxy — external AI assistants connect here
- "${MCP_PROXY_PORT:-8889}:8889"
- # Uncomment to expose forward proxy endpoints (/health, /metrics, /stats):
+ # Uncomment to expose the forward proxy's /health endpoint:
# - "8888:8888"
+ # /metrics and /stats need metrics_listen in pipelock.example.yaml, then:
+ # - "9091:9091"
healthcheck:
test: ["CMD", "/pipelock", "healthcheck", "--addr", "127.0.0.1:8888"]
interval: 10s
diff --git a/docs/hosting/ai.md b/docs/hosting/ai.md
index 2e1febb75a..86df1e7977 100644
--- a/docs/hosting/ai.md
+++ b/docs/hosting/ai.md
@@ -611,7 +611,7 @@ it implements.
### Security with Pipelock
-When [Pipelock](https://github.com/luckyPipewrench/pipelock) is enabled (`pipelock.enabled=true` in Helm, or the `pipelock` service in Docker Compose), Sure configures two mediated routes:
+When [Pipelock](https://github.com/pipelab-org/pipelock) is enabled (`pipelock.enabled=true` in Helm, or the `pipelock` service in Docker Compose), Sure configures two mediated routes:
- **Outbound** (Sure -> agent): routed through Pipelock's forward proxy via `HTTPS_PROXY`
- **Inbound** (agent -> Sure /mcp): routed through Pipelock's MCP reverse proxy (port 8889)
@@ -636,7 +636,7 @@ pipelock:
action: block
```
-See the [Pipelock documentation](https://github.com/luckyPipewrench/pipelock) for tool policy configuration details.
+See the [Pipelock documentation](https://github.com/pipelab-org/pipelock) for tool policy configuration details.
### Network Policies (Kubernetes)
diff --git a/docs/hosting/mcp.md b/docs/hosting/mcp.md
index c0a332ca92..966d2f96e2 100644
--- a/docs/hosting/mcp.md
+++ b/docs/hosting/mcp.md
@@ -328,7 +328,7 @@ This ensures the AI assistant can only access data for the intended user.
### Pipelock Security Scanning
-For production deployments, we recommend using [Pipelock](https://github.com/luckyPipewrench/pipelock) to scan MCP traffic for security threats.
+For production deployments, we recommend using [Pipelock](https://github.com/pipelab-org/pipelock) to scan MCP traffic for security threats.
Pipelock provides:
- **DLP scanning**: Detects secrets being exfiltrated through tool calls
diff --git a/docs/hosting/pipelock.md b/docs/hosting/pipelock.md
index c464338e1f..3f0ad7965f 100644
--- a/docs/hosting/pipelock.md
+++ b/docs/hosting/pipelock.md
@@ -1,6 +1,6 @@
# Pipelock: AI Agent Security Proxy
-[Pipelock](https://github.com/luckyPipewrench/pipelock) is an optional security proxy that scans AI agent traffic flowing through Sure. It protects against secret exfiltration, prompt injection, and tool poisoning.
+[Pipelock](https://github.com/pipelab-org/pipelock) is an optional security proxy that scans AI agent traffic flowing through Sure. It protects against secret exfiltration, prompt injection, and tool poisoning.
## What Pipelock does
@@ -55,7 +55,7 @@ The `compose.example.ai.yml` file includes Pipelock. To use it:
mkdir -p pipelock-evidence pipelock-keys
# --out must be an absolute path inside the container. The key is written
# 0600 owned by uid 1000, which is the user the Pipelock proxy runs as.
- docker run --rm -v "$PWD/pipelock-keys:/keys" ghcr.io/luckypipewrench/pipelock:3.4.0@sha256:2e6caa43967a5ef19cacbce00188d829c1b5de1eb0ad304a51d2085f32c5694c \
+ docker run --rm -v "$PWD/pipelock-keys:/keys" ghcr.io/pipelab-org/pipelock:3.8.0@sha256:9ac2bdf26ca104a5b2f5dfe4e90f0396ec9feb554152d50aac42f75ec268197f \
signing key generate --purpose receipt-signing --out /keys/flight-recorder-signing.key --id sure-compose
```
@@ -63,7 +63,7 @@ The `compose.example.ai.yml` file includes Pipelock. To use it:
```bash
export PIPELOCK_UID="$(id -u)" PIPELOCK_GID="$(id -g)"
- docker run --rm --user "$PIPELOCK_UID:$PIPELOCK_GID" -v "$PWD/pipelock-keys:/keys" ghcr.io/luckypipewrench/pipelock:3.4.0@sha256:2e6caa43967a5ef19cacbce00188d829c1b5de1eb0ad304a51d2085f32c5694c \
+ docker run --rm --user "$PIPELOCK_UID:$PIPELOCK_GID" -v "$PWD/pipelock-keys:/keys" ghcr.io/pipelab-org/pipelock:3.8.0@sha256:9ac2bdf26ca104a5b2f5dfe4e90f0396ec9feb554152d50aac42f75ec268197f \
signing key generate --purpose receipt-signing --out /keys/flight-recorder-signing.key --id sure-compose
```
@@ -124,13 +124,13 @@ Enable Pipelock in your Helm values:
pipelock:
enabled: true
image:
- tag: "3.4.0@sha256:2e6caa43967a5ef19cacbce00188d829c1b5de1eb0ad304a51d2085f32c5694c"
+ tag: "3.8.0@sha256:9ac2bdf26ca104a5b2f5dfe4e90f0396ec9feb554152d50aac42f75ec268197f"
mode: balanced
```
This creates a separate Deployment, Service, and ConfigMap. The chart auto-injects `HTTPS_PROXY`/`HTTP_PROXY`/`NO_PROXY` into web and worker pods.
-Sure pins Pipelock 3.4.0 by tag and multi-architecture image digest. Read the [Pipelock release notes](https://github.com/luckyPipewrench/pipelock/releases/tag/v3.4.0) before overriding that pin.
+Sure pins Pipelock 3.8.0 by tag and multi-architecture image digest. Read the [Pipelock release notes](https://github.com/pipelab-org/pipelock/releases/tag/v3.8.0) before overriding that pin.
### Signed action receipts
@@ -147,7 +147,7 @@ kubectl create secret generic sure-pipelock-receipts \
--from-file=flight-recorder-signing.key=./flight-recorder-signing.key
```
-If you don't have the `pipelock` binary installed, generate the key with the pinned image instead: `docker run --rm -v "$PWD:/out" ghcr.io/luckypipewrench/pipelock:3.4.0@sha256:2e6caa43967a5ef19cacbce00188d829c1b5de1eb0ad304a51d2085f32c5694c signing key generate --purpose receipt-signing --out /out/flight-recorder-signing.key --id sure-k8s`.
+If you don't have the `pipelock` binary installed, generate the key with the pinned image instead: `docker run --rm -v "$PWD:/out" ghcr.io/pipelab-org/pipelock:3.8.0@sha256:9ac2bdf26ca104a5b2f5dfe4e90f0396ec9feb554152d50aac42f75ec268197f signing key generate --purpose receipt-signing --out /out/flight-recorder-signing.key --id sure-k8s`.
Example Helm values using an existing PVC named `sure-pipelock-evidence`:
@@ -223,7 +223,7 @@ pipelock:
release: prometheus
```
-Metrics are available at `/metrics` on the forward proxy port (8888).
+Pipelock 3.8 and later serve `/metrics` and `/stats` only on a dedicated listener, never on the forward proxy port (8888). The ServiceMonitor turns that listener on at port 9091 (`pipelock.metrics.port`); set `pipelock.metrics.enabled: true` to expose it without one. The listener has no authentication, so restrict access with a NetworkPolicy. In Docker Compose, set `metrics_listen` in `pipelock.example.yaml` and publish that port.
### Eviction protection
@@ -276,16 +276,16 @@ pipelock:
|------|----------|----------|
| `strict` | Block all detected threats | Production with sensitive data |
| `balanced` | Warn on low-severity, block on high-severity | Default; good for most deployments |
-| `audit` | Log everything, block nothing | Initial rollout, testing |
+| `audit` | Warn on ordinary findings when paired with `enforce: false` | Initial rollout, testing |
-Start with `audit` mode to see what Pipelock detects without blocking anything. Review the logs, then switch to `balanced` or `strict`.
+For an observation trial, set `mode: audit` together with `enforce: false` (in `pipelock.example.yaml`, or `pipelock.extraConfig` in Helm). `mode: audit` alone keeps `enforce: true`, so ordinary findings still block. Even with `enforce: false`, core credential, SSRF and fail-closed transport checks can still block. Review the logs, then switch to `balanced` or `strict` and set `enforce: true` again (or remove the `enforce: false` line). Changing only the mode leaves `enforce: false` in place, so ordinary findings still won't block.
## Limitations
- Proxy variables are cooperative. Clients that don't honor them can connect directly unless the deployment enforces egress routing.
- The default examples don't configure TLS interception, so Pipelock can't scan encrypted HTTPS request or response bodies.
- Docker Compose has no egress network policies. The `/mcp` endpoint on port 3000 is still reachable directly (auth token required). For enforcement, use Kubernetes NetworkPolicies.
-- Pipelock 3.4 scans reverse-proxy bodies that declare media types, but it doesn't inspect secrets embedded inside a valid image.
+- Pipelock 3.8 scans reverse-proxy bodies that declare media types, but it doesn't inspect secrets embedded inside a valid image.
- Signed receipts prove traffic that traversed Pipelock. They do not prove traffic could not bypass Pipelock; pair them with NetworkPolicies, containment, or firewall rules for non-bypass claims.
## Troubleshooting
diff --git a/pipelock.example.yaml b/pipelock.example.yaml
index 3b0e60d1be..8958424daf 100644
--- a/pipelock.example.yaml
+++ b/pipelock.example.yaml
@@ -1,7 +1,7 @@
# Pipelock configuration for Docker Compose
-# See https://github.com/luckyPipewrench/pipelock for full options.
+# See https://github.com/pipelab-org/pipelock for full options.
#
-# This file is validated in CI with Pipelock 3.4.0. See the release changelog
+# This file is validated in CI with Pipelock 3.8.0. See the release changelog
# for the full control surface and upgrade notes.
# Run `pipelock assess init --config <file>` to create an assessment workspace.
# Run `pipelock audit score --config <file>` for a security posture score (0-100).
@@ -10,6 +10,10 @@
version: 1
mode: balanced
+# /metrics and /stats are served only on a dedicated, unauthenticated listener.
+# Uncomment and publish the port in compose to scrape them; keep agents off it.
+# metrics_listen: "0.0.0.0:9091"
+
# Trusted domains: allow services whose public DNS resolves to private IPs.
# Prevents SSRF scanner from blocking legitimate internal traffic.
# trusted_domains: