Skip to content

Commit 6997aeb

Browse files
authored
fix: security release 2026-07-08 (#4316)
1 parent cc74842 commit 6997aeb

141 files changed

Lines changed: 3937 additions & 322 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/core": patch
3+
---
4+
5+
Prevent prototype pollution when applying run metadata operations or reconstructing nested telemetry attributes, while preserving legitimate `constructor` and `prototype` fields.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@trigger.dev/core": patch
3+
"trigger.dev": patch
4+
---
5+
6+
Require explicit browser approval for CLI and MCP login, with resilient polling while approval is pending.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"trigger.dev": patch
3+
---
4+
5+
Deployed task telemetry now reports the deployment identifier (e.g. `deployment_abc123`) in the `worker.id` attribute, instead of an opaque internal value. Upgrade to get the readable identifier in your own OpenTelemetry exporters.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/core": patch
3+
---
4+
5+
Add helpers to mint and verify the deployment-scoped token used to authenticate run controllers to the platform.

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
SESSION_SECRET=abcdef1234
33
MAGIC_LINK_SECRET=abcdef1234
44
ENCRYPTION_KEY=ae13021afef0819c3a307ad487071c06 # Must be a random 16 byte hex string. You can generate an encryption key by running `openssl rand -hex 16` in your terminal
5+
MANAGED_WORKER_SECRET=abcdef1234 # Must match the supervisor's MANAGED_WORKER_SECRET
56
LOGIN_ORIGIN=http://localhost:3030
67
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres?schema=public
78
# This sets the URL used for direct connections to the database and should only be needed in limited circumstances

.github/workflows/helm-prerelease.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,14 @@ jobs:
5252
5353
- name: Lint Helm Chart
5454
run: |
55-
helm lint ./hosting/k8s/helm/
55+
helm lint ./hosting/k8s/helm/ \
56+
--values ./hosting/k8s/helm/ci/lint-values.yaml
5657
5758
- name: Render templates
5859
run: |
5960
helm template test-release ./hosting/k8s/helm/ \
6061
--values ./hosting/k8s/helm/values.yaml \
62+
--values ./hosting/k8s/helm/ci/lint-values.yaml \
6163
--output-dir ./helm-output
6264
6365
- name: Validate manifests

.github/workflows/release-helm.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,14 @@ jobs:
4747
4848
- name: Lint Helm Chart
4949
run: |
50-
helm lint ./hosting/k8s/helm/
50+
helm lint ./hosting/k8s/helm/ \
51+
--values ./hosting/k8s/helm/ci/lint-values.yaml
5152
5253
- name: Render templates
5354
run: |
5455
helm template test-release ./hosting/k8s/helm/ \
5556
--values ./hosting/k8s/helm/values.yaml \
57+
--values ./hosting/k8s/helm/ci/lint-values.yaml \
5658
--output-dir ./helm-output
5759
5860
- name: Validate manifests
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
area: webapp
3+
type: improvement
4+
---
5+
6+
Added optional request rate limiting for telemetry ingestion endpoints.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
area: webapp
3+
type: breaking
4+
---
5+
6+
Self-hosted deployments no longer ship shared default credentials; fresh installs generate their own. If yours still uses a previously published default, set a unique value before upgrading, or set `ALLOW_INSECURE_DEFAULT_SECRETS=true` to keep booting while you migrate.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
area: webapp
3+
type: fix
4+
---
5+
6+
Background-worker deployment lookups are now scoped to the authenticated environment.

0 commit comments

Comments
 (0)