Trigger.dev: root API keys exposed environment variables for 0.66% of tenants
On Nov 1, 2026 Trigger.dev’s infrastructure monitoring detected anomalous API activity using customer root API keys across 0.66% of cloud tenants. The attacker accessed environment variables and enumerated runs, deployments and schedules, while core production databases and customer dashboards stayed untouched. The exact vector used to obtain the root keys remains withheld during investigation.
How they got in
Trigger.dev confirmed the attacker obtained customer root API keys for approximately 0.66% of cloud-hosted environments. The team blocked the actor, mitigated the underlying vector and engaged incident responders and law enforcement, while temporarily withholding the exact acquisition mechanism until it is safe to disclose.
Attacker obtains customer root API keys across 0.66% of cloud tenants; vector temporarily withheld.
AttackerRoot API keysRoot keys authenticate against the cloud API until infrastructure alerts detect the anomaly.
Root API keysPublic APIAttacker retrieves stored environment variables and enumerates recent runs, deployments and schedules.
Env variablesRun metadata
Figure 1. How the attack unfolded, and what stayed isolated. Select any step or box for details.
What they took
Because a root API key carries full authority over an environment’s configuration, the attacker was able to read stored environment variables, which often hold third-party database URLs, AI provider keys and SaaS tokens, and list recent runs, deployments and schedules (including run IDs, task names, idempotency keys, tags, deployment errors and schedule external IDs).
What stayed safe
Forensic checks confirmed zero unauthorised access to Trigger.dev’s production databases, separate backend services or customer login dashboards, and 99.34% of cloud customers were unaffected.
How to defend against this
Write-only secrets API
Environment variables are write-only through management APIs and injected solely inside isolated task runtimes.
write-only-env-policy.jsonScoped API token policy separating task-trigger privileges from secret administration, and disabling plaintext secret readback. Breaks step 3.
{ "tokenScope": "runtime-trigger-only", "permissions": { "runs:trigger": true, "runs:read": "own-project-only", "env:write": false, "env:readPlaintext": false }, "secretDelivery": "ephemeral-oidc-broker"}Appendix
Evidence log: what’s confirmed and what’s withheld
| Claim | Status | Source |
|---|---|---|
| Attacker obtained customer root API keys for roughly 0.66% of cloud environments | Confirmed | Trigger.dev disclosure, Nov 1 and Nov 6 |
| Specific technical mechanism used to acquire the root API keys | Withheld by vendor | Withheld by vendor during active investigation |
| Environment variables and run, deployment and schedule metadata were accessed through the API | Confirmed | Trigger.dev incident report, Nov 6 |
| Core production databases, separate backend services and customer dashboards were not accessed | Confirmed | Trigger.dev forensic investigation |
Indicators of compromise
https://trigger.dev/blog/security-incident-report-sunday-november-1stOfficial Nov 6 follow-up report listing all affected metadata fields.
Reproduction lab
Verifies that management API keys in your own multi-tenant platform return only secret names and SHA-256 digests, never decrypted secret values.
# verify management API never echoes plaintext secret values
curl -sS -H "Authorization: Bearer $STAGING_API_KEY" https://staging.example.internal/v1/env | jq '.[] | {key, digest, value}'